# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "oakvcs-cli"
version = "0.94.0"
authors = ["Oak Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Oak CLI (`oak`) — version control for you and your agents."
homepage = "https://oakvcs.com"
readme = "README.md"
keywords = [
    "vcs",
    "version-control",
    "cli",
    "git",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://oakvcs.com/oak/cli"

[features]
default = []
mount = [
    "dep:fuser",
    "dep:windows",
    "dep:windows-core",
]

[lib]
name = "oak_cli"
path = "src/lib.rs"

[[bin]]
name = "oak"
path = "src/main.rs"

[[test]]
name = "blob_fetch"
path = "tests/blob_fetch.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "mount_lifecycle"
path = "tests/mount_lifecycle.rs"

[[test]]
name = "mount_remote"
path = "tests/mount_remote.rs"

[[test]]
name = "subdirectory"
path = "tests/subdirectory.rs"

[dependencies.axum]
version = "0.8"
features = ["multipart"]

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
    "color",
]

[dependencies.crossterm]
version = "0.29"

[dependencies.dialoguer]
version = "0.12"
features = ["fuzzy-select"]

[dependencies.diffy]
version = "0.4"

[dependencies.dirs]
version = "6"

[dependencies.futures-util]
version = "0.3"

[dependencies.gix]
version = "0.81"
features = [
    "sha1",
    "max-performance-safe",
]
default-features = false

[dependencies.hex]
version = "0.4"

[dependencies.indicatif]
version = "0.18"

[dependencies.libc]
version = "0.2"

[dependencies.oak-core]
version = "0.94.0"
package = "oakvcs-core"

[dependencies.open]
version = "5"

[dependencies.ratatui]
version = "0.30"

[dependencies.rayon]
version = "1.10"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls",
    "webpki-roots",
    "stream",
    "charset",
    "http2",
    "form",
    "query",
    "multipart",
    "gzip",
]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.11"

[dependencies.tempfile]
version = "3.14"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.toml]
version = "1.1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.urlencoding]
version = "2"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dependencies.zip]
version = "8"
features = ["deflate"]
default-features = false

[dev-dependencies.tempfile]
version = "3.14"

[dev-dependencies.tokio]
version = "1.0"
features = [
    "full",
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.wiremock]
version = "0.6"

[target.'cfg(target_os = "linux")'.dependencies.fuser]
version = "0.15"
optional = true
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.fuser]
version = "0.15"
optional = true

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.58"
features = [
    "Win32_Foundation",
    "Win32_Storage_FileSystem",
    "Win32_Storage_ProjectedFileSystem",
    "Win32_System_Com",
    "Win32_System_IO",
    "Win32_System_Threading",
]
optional = true

[target.'cfg(target_os = "windows")'.dependencies.windows-core]
version = "0.58"
optional = true
