[package] name = "nym-topology" version = "0.1.0" edition = { workspace = true } authors = { workspace = true } license = { workspace = true } repository = { workspace = true } homepage = { workspace = true } documentation = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] async-trait = { workspace = true, optional = true } bs58 = { workspace = true } log = { workspace = true } rand = { workspace = true } reqwest = { workspace = true, features = ["json"] } semver = { workspace = true } thiserror = { workspace = true } # 'serializable' feature serde = { workspace = true, features = ["derive"], optional = true } serde_json = { workspace = true, optional = true } # 'wasm-serde-types' feature tsify = { workspace = true, features = ["js"], optional = true } wasm-bindgen = { workspace = true, optional = true } ## internal nym-bin-common = { path = "../bin-common" } nym-config = { path = "../config" } nym-crypto = { path = "../crypto", features = ["sphinx", "outfox"] } nym-mixnet-contract-common = { path = "../cosmwasm-smart-contracts/mixnet-contract" } nym-sphinx-addressing = { path = "../nymsphinx/addressing" } nym-sphinx-types = { path = "../nymsphinx/types", features = [ "sphinx", "outfox", ] } nym-sphinx-routing = { path = "../nymsphinx/routing" } # I'm not sure how to feel about pulling in this dependency here... nym-api-requests = { path = "../../nym-api/nym-api-requests" } # 'wasm-serde-types' feature wasm-utils = { path = "../wasm/utils", default-features = false, optional = true } [features] default = ["provider-trait"] provider-trait = ["async-trait"] wasm-serde-types = ["tsify", "wasm-bindgen", "wasm-utils"] serializable = ["serde", "serde_json"] outfox = []