[package]
name = "dsp-cli"
version = "0.1.1"
edition = "2024"
rust-version = "1.92"
description = "AI-agent-friendly command-line interface for the DaSCH Service Platform (DSP)"
license = "Apache-2.0"
repository = "https://github.com/dasch-swiss/dsp-incubator"
homepage = "https://github.com/dasch-swiss/dsp-incubator/tree/main/dsp-cli"
authors = ["Balduin Landolt <balduin.landolt@dasch.swiss>"]
readme = "README.md"
keywords = ["dasch", "dsp", "cli", "digital-humanities", "rdf"]
categories = ["command-line-utilities", "api-bindings"]
include = ["src/**/*", "docs/topics/*.md", "skill/SKILL.md", "README.md", "LICENSE", "CHANGELOG.md"]
[[bin]]
name = "dsp"
path = "src/main.rs"
[lib]
name = "dsp_cli"
path = "src/lib.rs"
[features]
live = []
[dependencies]
clap = { version = "4", features = ["derive", "env"] }
thiserror = "2"
anyhow = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
dotenvy = "0.15"
dirs = "5"
toml = "0.8"
reqwest = { version = "0.13", default-features = false, features = ["blocking", "json", "rustls", "query"] }
percent-encoding = "2"
rpassword = "7"
chrono = { version = "0.4", default-features = false, features = ["serde", "clock"] }
jsonwebtoken = { version = "10", features = ["rust_crypto"] }
[dev-dependencies]
insta = { version = "1", features = ["yaml"] }
wiremock = "0.6"
tempfile = "3"
assert_cmd = "2"
predicates = "3"
tokio = { version = "1", default-features = false, features = ["rt", "macros"] }
[profile.release]
lto = "thin"
strip = "symbols"
codegen-units = 1