# 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.74.1" name = "boomnet" version = "0.0.25" description = "Framework for building low latency websocket client based applications." documentation = "https://docs.rs/boomnet" readme = "./README.md" keywords = [ "tungstenite", "async", "client", "websocket", "mio", ] categories = [ "network-programming", "web-programming::websocket", ] license = "MIT" repository = "https://github.com/HaveFunTrading/boomnet" [package.metadata.docs.rs] features = ["full"] [profile.release] debug = 2 [[bench]] name = "latency" path = "benches/latency/main.rs" harness = false [dependencies.base64] version = "0.21.5" optional = true [dependencies.http] version = "1.0.0" optional = true [dependencies.httparse] version = "1.8.0" optional = true [dependencies.idle] version = "0.2.0" [dependencies.log] version = "0.4.20" [dependencies.mio] version = "0.8.10" features = [ "net", "os-poll", ] optional = true [dependencies.pnet] version = "0.34.0" [dependencies.rand] version = "0.8.5" optional = true [dependencies.rustls] version = "0.22.4" optional = true [dependencies.rustls-native-certs] version = "0.7.0" optional = true [dependencies.socket2] version = "0.5.5" features = ["all"] [dependencies.thiserror] version = "1.0.50" [dependencies.url] version = "2.5.0" [dependencies.webpki-roots] version = "0.26.0" optional = true [dev-dependencies.ansi_term] version = "0.12.1" [dev-dependencies.anyhow] version = "1" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.env_logger] version = "0.10.1" [dev-dependencies.tungstenite] version = "0.21.0" [features] default = [] disable-checks = [] full = ["full-tls-webpki"] full-tls-native = [ "mio", "tls-native", "ws", ] full-tls-webpki = [ "mio", "tls-webpki", "ws", ] mio = ["dep:mio"] tls-native = [ "rustls", "rustls-native-certs", ] tls-webpki = [ "rustls", "webpki-roots", ] ws = [ "rand", "base64", "http", "httparse", ] [lints.clippy] mem_replace_with_uninit = "allow" uninit_assumed_init = "allow" [lints.rust] dead_code = "warn"