# 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 are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "stacks-common" version = "0.0.3" authors = [ "Jude Nelson ", "Aaron Blankstein ", "Ludo Galabru ", ] description = "Common modules for stackslib, libclarity" homepage = "https://github.com/blockstack/stacks-blockchain" readme = "README.md" keywords = [ "stacks", "stx", "bitcoin", "crypto", "blockchain", ] license = "GPL-3.0-only" repository = "https://github.com/blockstack/stacks-blockchain" resolver = "2" [lib] name = "stacks_common" path = "./src/libcommon.rs" [dependencies.chrono] version = "0.4.19" [dependencies.curve25519-dalek] version = "=2.0.0" features = ["serde"] optional = true [dependencies.ed25519-dalek] version = "2.1.1" features = [ "serde", "rand_core", "serde", ] optional = true [dependencies.getrandom] version = "0.2" features = ["js"] optional = true [dependencies.hashbrown] version = "0.14.3" [dependencies.lazy_static] version = "1.4.0" [dependencies.libc] version = "0.2.82" [dependencies.libsecp256k1] version = "0.5.0" optional = true [dependencies.percent-encoding] version = "2.1.0" [dependencies.rand] version = "0.8" [dependencies.ripemd] version = "0.1.1" [dependencies.rusqlite] version = "=0.28.0" features = [ "blob", "serde_json", "i128_blob", "bundled", "trace", ] optional = true [dependencies.secp256k1] version = "0.24.3" features = [ "serde", "recovery", ] optional = true [dependencies.serde] version = "1" [dependencies.serde_derive] version = "1" [dependencies.serde_json] version = "1.0" features = [ "arbitrary_precision", "unbounded_depth", ] [dependencies.sha2] version = "0.10" [dependencies.sha3] version = "0.10.1" [dependencies.slog] version = "2.5.2" features = ["max_level_trace"] optional = true [dependencies.slog-json] version = "2.3.0" optional = true [dependencies.slog-term] version = "2.6.0" optional = true [dependencies.time] version = "0.3.34" features = ["std"] [dependencies.wsts] version = "8.1" optional = true default-features = false [dev-dependencies.assert-json-diff] version = "1.0.0" [dev-dependencies.rand_core] version = "0.6" [dev-dependencies.rstest] version = "0.11.0" [dev-dependencies.rstest_reuse] version = "0.1.3" [features] canonical = [ "vrf", "sqlite", "secp256k1", "wsts", ] default = [ "canonical", "log", "developer-mode", ] developer-mode = [] log = [ "slog", "slog-term", "slog-json", ] slog_json = ["slog-json"] sqlite = ["rusqlite"] testing = ["canonical"] vrf = [ "ed25519-dalek", "curve25519-dalek", ] wasm = [ "libsecp256k1", "developer-mode", "getrandom", ] [target."cfg(unix)".dependencies.nix] version = "0.23" [target."cfg(windows)".dependencies.winapi] version = "0.3" features = [ "consoleapi", "handleapi", "synchapi", "winbase", ] [target."cfg(windows)".dev-dependencies.winapi] version = "0.3" features = [ "fileapi", "processenv", "winnt", ]