# 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 = "xstack" version = "0.2.17" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "libp2p stack rewritten from ground up for rust" documentation = "https://docs.rs/xstack" readme = "README.md" license = "MIT" repository = "https://github.com/HalaOS/xstack.git" [lib] name = "xstack" path = "src/lib.rs" [dependencies.async-trait] version = "^0.1" [dependencies.futures] version = "^0.3" [dependencies.futures-map] version = "^0.2" [dependencies.libp2p-identity] version = "^0.2" features = [ "ed25519", "rand", "peerid", ] [dependencies.log] version = "^0.4" [dependencies.multiaddr] version = "^0.18" [dependencies.multistream-select] version = "^0.13" [dependencies.protobuf] version = "^3" [dependencies.rand] version = "^0.8" features = ["getrandom"] [dependencies.rasi] version = "^0.2" features = ["task-futures"] [dependencies.semver] version = "^1.0" [dependencies.thiserror] version = "^1.0" [dependencies.unsigned-varint] version = "^0.8.0" features = ["futures"] [build-dependencies.protobuf-codegen] version = "^3" [build-dependencies.protoc-bin-vendored] version = "^3" [features] default = ["global_register"] ecdsa = ["libp2p-identity/ecdsa"] global_register = [] rsa = ["libp2p-identity/rsa"] secp256k1 = ["libp2p-identity/secp256k1"]