crabidy/crabidy-core/Cargo.toml

37 lines
1.1 KiB
TOML

[package]
name = "crabidy-core"
version.workspace = true
edition.workspace = true
[dependencies]
async-trait.workspace = true
flume.workspace = true
percent-encoding.workspace = true
prost.workspace = true
serde.workspace = true
toml.workspace = true
# Codegen only: the generated client/server stubs need no transport,
# which keeps this crate building for wasm32 (cbd-web, see
# architecture/web-client.md). Native binaries pull the full tonic
# through their own dependency edges.
tonic = { workspace = true, default-features = false, features = ["codegen"] }
tracing.workspace = true
tonic-prost.workspace = true
# Config loading is native-only: the browser has no config directory
# (architecture/web-client.md).
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
clap-serde-derive.workspace = true
dirs.workspace = true
[dev-dependencies]
tokio = { workspace = true, features = ["macros", "rt"] }
[build-dependencies]
tonic-prost-build.workspace = true
# prost and tonic-prost are used by the code generated from the proto files,
# which cargo-machete cannot see.
[package.metadata.cargo-machete]
ignored = ["prost", "tonic-prost"]