# 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 = "libp2p-tls" version = "0.5.0" exclude = ["src/test_assets"] description = "TLS configuration based on libp2p TLS specs." license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" [package.metadata.docs.rs] all-features = true [dependencies.futures] version = "0.3.30" [dependencies.futures-rustls] version = "0.26.0" default-features = false [dependencies.libp2p-core] version = "0.42.0" [dependencies.libp2p-identity] version = "0.2.9" [dependencies.rcgen] version = "0.11.3" [dependencies.ring] version = "0.17.8" [dependencies.rustls] version = "0.23.9" features = [ "ring", "std", ] default-features = false [dependencies.thiserror] version = "1.0.61" [dependencies.webpki] version = "0.101.4" features = ["std"] package = "rustls-webpki" [dependencies.x509-parser] version = "0.16.0" [dependencies.yasna] version = "0.5.2" [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.hex-literal] version = "0.4.1" [dev-dependencies.libp2p-core] version = "0.42.0" [dev-dependencies.libp2p-identity] version = "0.2.9" features = [ "ed25519", "rsa", "secp256k1", "ecdsa", "rand", ] [dev-dependencies.libp2p-swarm] version = "0.45.0" features = ["tokio"] [dev-dependencies.libp2p-yamux] version = "0.46" [dev-dependencies.tokio] version = "1.38" features = ["full"] default-features = false [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"