RustRepoTrans / Dataset_Construction /projects /libp2p /rust /transports /websocket-websys /Cargo.toml
| [package] | |
| name = "libp2p-websocket-websys" | |
| edition = "2021" | |
| rust-version = "1.60.0" | |
| description = "WebSocket for libp2p under WASM environment" | |
| version = "0.4.0" | |
| authors = ["Vince Vasta <vince.vasta@gmail.com>"] | |
| license = "MIT" | |
| repository = "https://github.com/libp2p/rust-libp2p" | |
| keywords = ["peer-to-peer", "libp2p", "networking"] | |
| categories = ["network-programming", "asynchronous"] | |
| [dependencies] | |
| bytes = "1.6.0" | |
| futures = { workspace = true } | |
| js-sys = "0.3.69" | |
| libp2p-core = { workspace = true } | |
| tracing = { workspace = true } | |
| parking_lot = "0.12.3" | |
| send_wrapper = "0.6.0" | |
| thiserror = "1.0.61" | |
| wasm-bindgen = "0.2.90" | |
| web-sys = { version = "0.3.69", features = ["BinaryType", "CloseEvent", "MessageEvent", "WebSocket", "Window", "WorkerGlobalScope"] } | |
| # 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] | |
| libp2p-yamux = { workspace = true } | |
| libp2p-noise = { workspace = true } | |
| libp2p-identity = { workspace = true, features = ["rand"] } | |