Files

62 lines
1.9 KiB
TOML

[package]
name = "node-families"
description = "Nym Node Families contract"
version = "0.1.1"
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 = false
[[bin]]
name = "schema"
required-features = ["schema-gen"]
[lib]
name = "node_families_contract"
crate-type = ["cdylib", "rlib"]
[dependencies]
cosmwasm-std = { workspace = true }
cw2 = { workspace = true }
cw-storage-plus = { workspace = true }
cw-controllers = { workspace = true }
cosmwasm-schema = { workspace = true, optional = true }
cw-utils = { workspace = true }
nym-contracts-common = { workspace = true }
nym-node-families-contract-common = { workspace = true }
nym-mixnet-contract-common = { workspace = true }
# Optional deps activated by the `testable-node-families-contract` feature so
# downstream crates can pull in `crate::testing` for their own test harnesses.
nym-contracts-common-testing = { workspace = true, optional = true }
nym-mixnet-contract = { workspace = true, optional = true, features = ["testable-mixnet-contract"] }
nym-crypto = { workspace = true, optional = true }
[dev-dependencies]
anyhow = { workspace = true }
# make the testing helpers available for this crate's own unit tests via
# `cfg(test)`; downstream crates instead pull these in through the
# `testable-node-families-contract` feature.
nym-contracts-common-testing = { workspace = true }
nym-mixnet-contract = { workspace = true, features = ["testable-mixnet-contract"] }
nym-crypto = { workspace = true, features = ["asymmetric"] }
[features]
schema-gen = ["nym-node-families-contract-common/schema", "cosmwasm-schema"]
testable-node-families-contract = [
"nym-contracts-common-testing",
"nym-mixnet-contract",
"nym-crypto",
"nym-crypto/asymmetric",
]
[lints]
workspace = true