[package]
name = "trailbase-cli"
version = "0.2.0"
edition = "2024"
license = "OSL-3.0"
publish = false

[lib]
doctest = false

[[bin]]
name = "trail"

[features]
default = ["trailbase/wasm", "trailbase/geos"]
geos-static = ["trailbase/geos-static"]
geos = ["trailbase/geos"]
swagger = ["dep:utoipa-swagger-ui"]
ws = ["trailbase/ws"]

[dependencies]
axum = { version = "^0.8.1", features=["multipart"] }
bcrypt = "0.19.0"
bytes = "1.11.0"
chrono = "^0.4.38"
clap = { version = "^4.4.11", features=["derive", "env"] }
env_logger = { workspace = true }
itertools = "0.14.0"
log = "^0.4.21"
mimalloc = { version = "^0.1.41", default-features = false }
minijinja = { workspace = true }
reqwest = { workspace = true }
rusqlite = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
sqlite-vec = { workspace = true }
tokio = { workspace = true }
tokio-rustls = { workspace = true }
trailbase = { workspace = true }
trailbase-build = { workspace = true }
trailbase-extension = { workspace = true }
trailbase-sqlite = { workspace = true }
trailbase-wasm-runtime-host = { workspace = true }
url = "2.5.4"
utoipa = { version = "5.0.0-beta.0", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "9.0.0", features = ["axum"], optional = true }
uuid = { workspace = true }
wit-component = "0.248.0"
zip = { version = "8.1.0", default-features = false, features = ["deflate"] }

[build-dependencies]
trailbase-build = { workspace = true }
