# 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 = "jax-daemon"
version = "0.1.9"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "End-to-end encrypted storage buckets with peer-to-peer synchronization"
homepage = "https://github.com/jax-ethdenver-2025/jax-bucket"
readme = "README.md"
keywords = [
    "p2p",
    "encryption",
    "storage",
    "ipfs",
    "sync",
]
categories = [
    "cryptography",
    "network-programming",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/jax-ethdenver-2025/jax-bucket"

[features]
default = ["fuse"]
fuse = [
    "fuser",
    "moka",
    "libc",
]

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.askama]
version = "0.12"
features = ["with-axum"]

[dependencies.askama_axum]
version = "0.4"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.7"
features = [
    "macros",
    "multipart",
    "macros",
    "multipart",
]

[dependencies.axum-extra]
version = "^0.10"
features = ["typed-header"]

[dependencies.base64]
version = "0.22"

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

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

[dependencies.common]
version = "^0.1.7"
package = "jax-common"

[dependencies.directories]
version = "5.0"

[dependencies.dirs]
version = "5.0"

[dependencies.flume]
version = "0.11"

[dependencies.fuser]
version = "0.15"
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "1.0"

[dependencies.iroh]
version = "^0.93"
features = ["discovery-pkarr-dht"]

[dependencies.libc]
version = "0.2"
optional = true

[dependencies.mime_guess]
version = "2.0"

[dependencies.moka]
version = "0.12"
features = ["sync"]
optional = true

[dependencies.object-store]
version = "^0.1.2"
package = "jax-object-store"

[dependencies.pulldown-cmark]
version = "0.12"

[dependencies.regex]
version = "1.11"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
    "multipart",
    "json",
    "multipart",
]
default-features = false

[dependencies.rust-embed]
version = "8.5"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "sqlite",
    "time",
    "macros",
    "uuid",
]

[dependencies.tempfile]
version = "3.8"

[dependencies.thiserror]
version = "1.0"

[dependencies.time]
version = "0.3"
features = [
    "serde",
    "formatting",
    "parsing",
]

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

[dependencies.toml]
version = "0.8"

[dependencies.tower]
version = "0.5"
features = [
    "load-shed",
    "limit",
    "timeout",
    "util",
]

[dependencies.tower-http]
version = "0.6"
features = [
    "fs",
    "cors",
    "sensitive-headers",
    "trace",
    "limit",
    "util",
    "fs",
    "cors",
    "trace",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "^0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
    "local-time",
    "time",
    "tracing",
]
default-features = false

[dependencies.url]
version = "2.5"
features = ["serde"]

[dependencies.uuid]
version = "1.8"
features = [
    "v4",
    "serde",
    "v4",
]

[dev-dependencies.tokio]
version = "1.0"
features = [
    "full",
    "test-util",
]

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