# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "libp2p-rs" version = "0.3.0" authors = ["Netwarps Technologies admin@paradeum.com"] description = "Minimal implementation for a multiplexed p2p network framework" keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] license = "MIT" repository = "https://github.com/netwarps/libp2p-rs" [[example]] name = "secio_simple" path = "protocols/secio/examples/secio_simple.rs" [[example]] name = "chat" path = "examples/chat/chat.rs" [[example]] name = "websocket" path = "examples/websocket/websocket.rs" [[example]] name = "websocket_tls" path = "examples/websocket/websocket_tls.rs" [dependencies.async-trait] version = "0.1" [dependencies.libp2prs-core] version = "0.3.0" [dependencies.libp2prs-dns] version = "0.3.0" optional = true [dependencies.libp2prs-exporter] version = "0.3.0" optional = true [dependencies.libp2prs-floodsub] version = "0.3.0" optional = true [dependencies.libp2prs-infoserver] version = "0.3.0" optional = true [dependencies.libp2prs-kad] version = "0.3.0" optional = true [dependencies.libp2prs-mdns] version = "0.3.0" optional = true [dependencies.libp2prs-mplex] version = "0.3.0" optional = true [dependencies.libp2prs-multiaddr] version = "0.3.0" [dependencies.libp2prs-noise] version = "0.3.0" optional = true [dependencies.libp2prs-plaintext] version = "0.3.0" optional = true [dependencies.libp2prs-runtime] version = "0.3.0" optional = true [dependencies.libp2prs-secio] version = "0.3.0" optional = true [dependencies.libp2prs-swarm] version = "0.3.0" [dependencies.libp2prs-tcp] version = "0.3.0" optional = true [dependencies.libp2prs-websocket] version = "0.3.0" optional = true [dependencies.libp2prs-yamux] version = "0.3.0" optional = true [dependencies.log] version = "0.4" [dependencies.xcli] version = "0.5" [dev-dependencies.crossbeam-channel] version = "0.3.6" [dev-dependencies.env_logger] version = "0.8" [dev-dependencies.futures] version = "0.3" features = ["std"] default-features = false [dev-dependencies.futures-test] version = "0.3.5" [dev-dependencies.lazy_static] version = "1.4" [dev-dependencies.libp2p-pnet] version = "0.20.0" [dev-dependencies.rand] version = "0.7" [dev-dependencies.rustls] version = "0.19" [dev-dependencies.structopt] version = "0.3.9" [dev-dependencies.systemstat] version = "0.1.3" [features] default = ["dns-async-std", "exporter", "floodsub-async-std", "infoserver", "kad-async-std", "rt-async-std", "mdns-async-std", "mplex", "noise", "plaintext", "secio", "swarm-async-std", "tcp-async-std", "websocket-async-std", "yamux"] dns-async-std = ["libp2prs-dns/async-std"] dns-tokio = ["libp2prs-dns/tokio"] exporter = ["libp2prs-exporter"] floodsub-async-std = ["libp2prs-floodsub/async-std"] floodsub-tokio = ["libp2prs-floodsub/tokio"] infoserver = ["libp2prs-infoserver"] kad-async-std = ["libp2prs-kad/async-std"] kad-tokio = ["libp2prs-kad/tokio"] mdns-async-std = ["libp2prs-mdns/async-std"] mdns-tokio = ["libp2prs-mdns/tokio"] mplex = ["libp2prs-mplex"] noise = ["libp2prs-noise"] plaintext = ["libp2prs-plaintext"] rt-async-std = ["libp2prs-runtime/async-std"] rt-tokio = ["libp2prs-runtime/tokio"] runtime = ["libp2prs-runtime"] secio = ["libp2prs-secio"] swarm-async-std = ["libp2prs-swarm/async-std"] swarm-tokio = ["libp2prs-swarm/tokio"] tcp-async-std = ["libp2prs-tcp/async-std"] tcp-tokio = ["libp2prs-tcp/tokio"] tokio = ["dns-tokio", "floodsub-tokio", "kad-tokio", "rt-tokio", "mdns-tokio", "mplex", "noise", "plaintext", "secio", "swarm-tokio", "tcp-tokio", "websocket-tokio", "yamux"] websocket-async-std = ["libp2prs-websocket/async-std"] websocket-tokio = ["libp2prs-websocket/tokio"] yamux = ["libp2prs-yamux"] [target."cfg(unix)".dependencies.libc] version = "0.2" [target."cfg(unix)".dev-dependencies.nix] version = "0.13.0" [target."cfg(windows)".dependencies.winapi] version = "0.3.7" features = ["minwindef", "ws2def", "winerror", "heapapi"]