# 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 = "shdp" version = "1.1.7" authors = ["Devling"] description = "A new protocol (SHDP)" readme = "README.md" license = "MIT" repository = "https://github.com/StanyslasBouchon/SHDP/tree/master" [dependencies.async-std] version = "1.12.0" features = ["unstable"] optional = true [dependencies.async-tls] version = "0.12.0" optional = true [dependencies.async-tungstenite] version = "0.25.1" optional = true [dependencies.bitvec] version = "1.0.1" [dependencies.ctor] version = "0.2.8" [dependencies.ego-tree] version = "0.6.2" optional = true [dependencies.futures] version = "0.3.30" optional = true [dependencies.html-minifier] version = "5.0.0" optional = true [dependencies.lazy_static] version = "1.4.0" [dependencies.openssl] version = "0.10.64" optional = true [dependencies.rustls] version = "0.20.6" features = [ "log", "logging", "tls12", ] optional = true default-features = false [dependencies.rustls-pemfile] version = "1.0" optional = true [dependencies.scraper] version = "0.19.0" optional = true [dependencies.serde] version = "1.0.199" optional = true [dependencies.serde_json] version = "1.0.116" optional = true [dependencies.tokio] version = "1.37.0" features = [ "full", "sync", "test-util", ] optional = true [dependencies.tokio-openssl] version = "0.6.4" optional = true [dependencies.tungstenite] version = "0.21.0" optional = true [features] debug = [] default = [ "wss-client", "wss-server", "ws-client", "ws-server", "tls-client", "tls-server", "tcp-client", "tls-server", "serde", "debug", ] serde = [ "dep:serde", "dep:serde_json", ] tcp-client = ["dep:tokio"] tcp-server = [ "html-minifier", "ego-tree", "scraper", "dep:tokio", "async-std", ] tls-client = [ "tcp-client", "openssl", "dep:tokio-openssl", ] tls-server = [ "tcp-server", "openssl", "dep:tokio-openssl", ] ws-client = [ "tungstenite", "dep:tokio", ] ws-server = [ "html-minifier", "ego-tree", "scraper", "async-std", "futures", "dep:tokio", "tungstenite", "dep:async-tungstenite", ] wss-client = [ "ws-client", "openssl", ] wss-server = [ "ws-server", "async-tls", "rustls", "rustls-pemfile", ]