[package] name = "nym-topology" version.workspace = true edition = { workspace = true } authors = { workspace = true } license = { workspace = true } repository = { workspace = true } homepage = { workspace = true } documentation = { workspace = true } description = "Nym's topology crate" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] async-trait = { workspace = true, optional = true } tracing = { workspace = true } rand = { workspace = true } reqwest = { workspace = true, features = ["json"] } serde = { workspace = true, features = ["derive"] } thiserror = { workspace = true } time = { workspace = true, features = ["serde"] } # 'serde' feature 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-crypto = { workspace = true } nym-mixnet-contract-common = { workspace = true } nym-sphinx-addressing = { workspace = true } nym-sphinx-types = { workspace = true, features = [ "sphinx", "outfox", ] } # I'm not sure how to feel about pulling in this dependency here... nym-api-requests = { workspace = true } # 'wasm-serde-types' feature nym-wasm-utils = { workspace = true, optional = true } [features] default = ["provider-trait"] provider-trait = ["async-trait"] wasm-serde-types = ["tsify", "wasm-bindgen", "nym-wasm-utils"] persistence = ["serde_json"] outfox = []