[package] name = "ant-libp2p-quic" version = "0.11.2" authors = ["Parity Technologies "] edition = "2021" rust-version = { workspace = true } description = "TLS based QUIC transport implementation for libp2p" repository = "https://github.com/maidsafe/ant-rust-libp2p" license = "MIT" [dependencies] async-std = { version = "1.12.0", optional = true } bytes = "1.6.0" futures = { workspace = true } futures-timer = "3.0.3" if-watch = "3.2.0" ant-libp2p-core = { workspace = true } libp2p-tls = { workspace = true } libp2p-identity = { workspace = true } parking_lot = "0.12.3" quinn = { version = "0.11.2", default-features = false, features = ["rustls", "futures-io"] } rand = "0.8.5" rustls = { version = "0.23.9", default-features = false } thiserror = { workspace = true } tokio = { workspace = true, default-features = false, features = ["net", "rt", "time"], optional = true } tracing = { workspace = true } socket2 = "0.5.7" ring = { workspace = true } [features] tokio = ["dep:tokio", "if-watch/tokio", "quinn/runtime-tokio"] async-std = ["dep:async-std", "if-watch/smol", "quinn/runtime-async-std"] # Passing arguments to the docsrs builder in order to properly document cfg's. # More information: https://docs.rs/about/builds#cross-compiling [package.metadata.docs.rs] all-features = true [dev-dependencies] async-std = { version = "1.12.0", features = ["attributes"] } libp2p-identity = { workspace = true, features = ["rand"] } libp2p-muxer-test-harness = { path = "../../muxers/test-harness" } ant-libp2p-noise = { workspace = true } ant-libp2p-tcp = { workspace = true, features = ["async-io"] } ant-libp2p-yamux = { workspace = true } quickcheck = "1" tokio = { workspace = true, features = ["macros", "rt-multi-thread", "time"] } tracing-subscriber = { workspace = true, features = ["env-filter"] } [[test]] name = "stream_compliance" required-features = ["async-std"] [lints] workspace = true