# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies # # If you believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "nash-protocol" version = "0.3.0" authors = ["Ethan Fast ", "Robert Annessi ", "Jan Kjaergaard ", "Danilo Guanabara "] description = "state management and cryptography for interacting with nash exchange protocol" keywords = ["nash", "cryptography", "protocol", "graphql", "api"] license = "MIT" repository = "https://github.com/nash-io/nash-rust/nash-protocol" [lib] name = "nash_protocol" crate-type = ["cdylib", "rlib"] [dependencies.Inflector] version = "0.11" [dependencies.async-recursion] version = "0.3" [dependencies.async-trait] version = "0.1" [dependencies.base64] version = "0.13" [dependencies.bigdecimal] version = "0.2.1" features = ["serde"] package = "bigdecimal-rs" [dependencies.bs58] version = "0.3" features = ["check"] [dependencies.byteorder] version = "1.3" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.futures] version = "0.3" [dependencies.futures-util] version = "0.3" [dependencies.graphql_client] version = "0.9" [dependencies.hex] version = "0.4" [dependencies.k256] version = "0.9" features = ["ecdsa", "sha256"] optional = true [dependencies.lazy_static] version = "1.4" [dependencies.nash-mpc] version = "1.2.4" default-features = false [dependencies.num-traits] version = "0.2" [dependencies.openlimits-exchange] version = "0.3.0" [dependencies.rand] version = "0.8" [dependencies.ripemd160] version = "0.9" [dependencies.rust-bigint] version = "1.2" default-features = false [dependencies.rust_decimal] version = "1.10.2" [dependencies.secp256k1] version = "0.19" optional = true [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.sha2] version = "0.9" [dependencies.sha3] version = "0.9" [dependencies.thiserror] version = "1.0.20" [dependencies.tokio] version = "1.0" features = ["full"] [dependencies.tracing] version = "0.1" [features] default = ["rust_gmp", "rustcrypto"] libsecp256k1 = ["nash-mpc/secp256k1", "secp256k1"] num_bigint = ["nash-mpc/num_bigint"] rust_gmp = ["nash-mpc/rust_gmp"] rustcrypto = ["k256", "nash-mpc/k256"] wasm = ["nash-mpc/wasm"]