40 lines
1.3 KiB
TOML
40 lines
1.3 KiB
TOML
[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
|
|
rust-version.workspace = true
|
|
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 }
|
|
log = { 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", "log", "serde_json", "tracing"]
|
|
network = ["schemars", "serde", "url"]
|
|
utoipa = [ "dep:utoipa" ]
|
|
|
|
[build-dependencies]
|
|
regex = { workspace = true }
|
|
cargo_metadata = { workspace = true }
|