[package] name = "nym-network-defaults" description = "Nym network defaults" version.workspace = true authors.workspace = true edition.workspace = true license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true # pinned (not inherited from workspace) because this crate is imported by the ecash contract, # and the contracts workspace cannot be built with rustc more recent than 1.86 rust-version = "1.86.0" readme.workspace = true publish = true # Exclude build.rs from published crate - it's only used for dev-time sync # of env files and requires workspace context exclude = ["build.rs"] [dependencies] dotenvy = { workspace = true, optional = true } schemars = { workspace = true, features = ["preserve_order"], optional = true } serde = { workspace = true, features = ["derive"], optional = true } serde_json = { workspace = true, optional = true } tracing = { workspace = true, optional = true } url = { workspace = true, optional = true } utoipa = { workspace = true, optional = true } # please be extremely careful when adding new dependencies because this crate is imported by the ecash contract, # so if anything new is added, consider feature-locking it and then just adding it to default feature [features] default = ["env", "network"] env = ["dotenvy", "serde_json", "tracing"] network = ["schemars", "serde", "url"] utoipa = ["dep:utoipa"] [build-dependencies] regex = { workspace = true } cargo_metadata = { workspace = true }