# 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.75.0" name = "ant-libp2p-quic" version = "0.11.2" authors = ["Parity Technologies "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "TLS based QUIC transport implementation for libp2p" readme = false license = "MIT" repository = "https://github.com/maidsafe/ant-rust-libp2p" [package.metadata.docs.rs] all-features = true [lib] name = "ant_libp2p_quic" path = "src/lib.rs" [[test]] name = "smoke" path = "tests/smoke.rs" [[test]] name = "stream_compliance" path = "tests/stream_compliance.rs" required-features = ["async-std"] [dependencies.ant-libp2p-core] version = "0.42.1" [dependencies.async-std] version = "1.12.0" optional = true [dependencies.bytes] version = "1.6.0" [dependencies.futures] version = "0.3.30" [dependencies.futures-timer] version = "3.0.3" [dependencies.if-watch] version = "3.2.0" [dependencies.libp2p-identity] version = "0.2.10" [dependencies.libp2p-tls] version = "0.5.0" [dependencies.parking_lot] version = "0.12.3" [dependencies.quinn] version = "0.11.2" features = [ "rustls", "futures-io", ] default-features = false [dependencies.rand] version = "0.8.5" [dependencies.ring] version = "0.17.8" [dependencies.rustls] version = "0.23.9" default-features = false [dependencies.socket2] version = "0.5.7" [dependencies.thiserror] version = "2" [dependencies.tokio] version = "1.38" features = [ "net", "rt", "time", ] optional = true default-features = false [dependencies.tracing] version = "0.1.37" [dev-dependencies.ant-libp2p-noise] version = "0.45.1" [dev-dependencies.ant-libp2p-tcp] version = "0.42.0" features = ["async-io"] [dev-dependencies.ant-libp2p-yamux] version = "0.46.0" [dev-dependencies.async-std] version = "1.12.0" features = ["attributes"] [dev-dependencies.libp2p-identity] version = "0.2.10" features = ["rand"] [dev-dependencies.quickcheck] version = "1" [dev-dependencies.tokio] version = "1.38" features = [ "macros", "rt-multi-thread", "time", ] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] async-std = [ "dep:async-std", "if-watch/smol", "quinn/runtime-async-std", ] tokio = [ "dep:tokio", "if-watch/tokio", "quinn/runtime-tokio", ] [lints.clippy] dbg_macro = "warn" manual_let_else = "warn" type_complexity = "allow" unnecessary_wraps = "warn" used_underscore_binding = "warn" [lints.clippy.pedantic] level = "allow" priority = -1 [lints.rust] unreachable_pub = "warn"