# 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" rust-version = "1.59.0" name = "internet2" version = "0.9.0" authors = ["Dr. Maxim Orlovsky "] exclude = [ ".github", "derive", "contrib", "addr", ] description = "Rust implementation for the stack of Internet2 protocols" homepage = "https://github.com/internet2-org" readme = "README.md" keywords = [ "internet2", "tor", "noise-xk", "privacy", "cryptography", ] categories = [ "network-programming", "cryptography", "encoding", ] license = "Apache-2.0" repository = "https://github.com/internet2-org/rust-internet2" [lib] name = "internet2" crate-type = [ "rlib", "staticlib", ] path = "src/lib.rs" [[test]] name = "brontide" path = "tests/brontide.rs" required-features = ["keygen"] [[test]] name = "brontozaur" path = "tests/brontozaur.rs" required-features = ["keygen"] [dependencies.amplify] version = "3.13.0" [dependencies.bitcoin_hashes] version = "0.11.0" [dependencies.chacha20] version = "0.9" [dependencies.chacha20poly1305] version = "0.9" [dependencies.inet2_addr] version = "0.9.0" features = [ "strict_encoding", "lightning_encoding", "stringly_conversions", ] [dependencies.inet2_derive] version = "0.9.0" optional = true default-features = false [dependencies.lightning_encoding] version = "0.9.1" [dependencies.secp256k1] version = "0.24.2" [dependencies.serde_crate] version = "1.0" features = ["derive"] optional = true package = "serde" [dependencies.serde_with] version = "1.14" features = ["hex"] optional = true [dependencies.strict_encoding] version = "0.9.0" features = ["derive"] default-features = false [dependencies.zmq] version = "0.5.0" optional = true package = "zmq2" [dev-dependencies.compiletest_rs] version = "0.9.0" [dev-dependencies.strict_encoding_derive] version = "0.8.0" [dev-dependencies.strict_encoding_test] version = "0.9.0" [dev-dependencies.torut] version = "0.2.0" [features] all = [ "derive", "serde", "keygen", "tor", "zmq", ] default = [ "tor", "zmq", "derive", ] derive = ["inet2_derive"] keygen = [ "secp256k1/rand-std", "inet2_addr/keygen", ] serde = [ "serde_crate", "serde_with", "amplify/serde", "inet2_addr/serde", "secp256k1/serde", "bitcoin_hashes/serde-std", ] tor = ["inet2_addr/tor"]