[package] name = "nym-mixnet-contract-common" version = "0.7.0" description = "Common library for the Nym mixnet contract" rust-version = "1.62" edition = { workspace = true } authors = { workspace = true } license = { workspace = true } repository = { workspace = true } [dependencies] bs58 = "0.4.0" cosmwasm-std = { workspace = true } serde = { version = "1.0", features = ["derive"] } serde_repr = "0.1" schemars = "0.8" thiserror = "1.0" contracts-common = { path = "../contracts-common", package = "nym-contracts-common", version = "0.6.0" } # use 0.4.1 as that's the version used by cosmwasm-std 1.0.0 # (and ideally we don't want to pull the same dependency twice) serde-json-wasm = "=0.4.1" humantime-serde = "1.1.1" # TO CHECK WHETHER STILL NEEDED: log = { workspace = true } time = { version = "0.3.6", features = ["parsing", "formatting"] } ts-rs = { version = "6.1.2", optional = true } [dev-dependencies] rand_chacha = "0.3" time = { version = "0.3.5", features = ["serde", "macros"] } [features] default = [] contract-testing = [] generate-ts = ['ts-rs']