| [package] |
| name = "libp2p-quic" |
| version = "0.11.1" |
| authors = ["Parity Technologies <admin@parity.io>"] |
| edition = "2021" |
| rust-version = { workspace = true } |
| description = "TLS based QUIC transport implementation for libp2p" |
| repository = "https://github.com/libp2p/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" |
| 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 = "1.0.61" |
| 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"] |
|
|
| |
| |
| [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" } |
| libp2p-noise = { workspace = true } |
| libp2p-tcp = { workspace = true, features = ["async-io"] } |
| 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 |
|
|