# 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 = "karyon_net" version = "0.1.6" authors = ["hozan23 "] description = "Internal crate for Karyon library." homepage = "https://karyontech.net" license = "GPL-3.0" repository = "https://github.com/karyontech/karyon" [dependencies.async-channel] version = "2.3.1" [dependencies.async-trait] version = "0.1.80" [dependencies.async-tungstenite] version = "0.26.2" optional = true default-features = false [dependencies.bincode] version = "2.0.0-rc.3" features = ["derive"] [dependencies.futures-util] version = "0.3.30" features = ["sink"] optional = true default-features = false [dependencies.karyon_async_rustls] version = "0.1.6" optional = true default-features = false [dependencies.karyon_core] version = "0.1.6" default-features = false [dependencies.log] version = "0.4.21" [dependencies.pin-project-lite] version = "0.2.14" optional = true [dependencies.rustls-pki-types] version = "1.7.0" optional = true [dependencies.serde] version = "1.0.203" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0.61" [dependencies.tokio] version = "1.38.0" features = ["io-util"] optional = true [dependencies.url] version = "2.5.2" [dev-dependencies.smol] version = "2.0.0" [features] all-protocols = [ "tcp", "tls", "ws", "udp", "unix", ] default = [ "smol", "all-protocols", ] serde = ["dep:serde"] smol = [ "karyon_core/smol", "async-tungstenite?/async-std-runtime", "karyon_async_rustls?/smol", ] stream = [ "pin-project-lite", "futures-util", ] tcp = ["stream"] tls = [ "tcp", "karyon_async_rustls", "rustls-pki-types", ] tokio = [ "karyon_core/tokio", "async-tungstenite?/tokio-runtime", "karyon_async_rustls?/tokio", "dep:tokio", ] udp = [] unix = ["stream"] ws = [ "tcp", "async-tungstenite", ]