# 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" name = "simplews" version = "0.1.2" authors = ["Dario Caruso"] description = "simple crate to use websockets" documentation = "https://docs.rs/simplews" license = "Apache-2.0" repository = "https://github.com/dottgonzo/rust-simplews" [dependencies.anyhow] version = "1.0.86" features = ["std"] default-features = false [dependencies.futures-util] version = "0.3.30" default-features = false [dependencies.kanal] version = "0.1.0-pre8" features = ["async"] default-features = false [dependencies.rustls] version = "0.23.9" features = ["std"] optional = true default-features = false [dependencies.rustls-pemfile] version = "2.1.2" optional = true default-features = false [dependencies.tokio] version = "1.38.0" features = [ "macros", "rt-multi-thread", "time", ] default-features = false [dependencies.tokio-tungstenite] version = "0.22.0" features = ["connect"] default-features = false [dependencies.url] version = "2.5.1" default-features = false [features] default = ["tls"] tls = [ "dep:rustls", "dep:rustls-pemfile", "tokio-tungstenite/rustls", "tokio-tungstenite/rustls-tls-native-roots", "tokio-tungstenite/tokio-rustls", ]