# 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.70" name = "socket_config" version = "0.1.1" authors = ["ahcodedthat"] include = [ "/examples", "/src", "/tests", ] description = "Set up sockets according to command line option or configuration file" homepage = "https://github.com/ahcodedthat/socket_config_rs" documentation = "https://docs.rs/socket_config" readme = "README.md" keywords = [ "config", "network", "socket", "socket-activation", "systemd", ] categories = [ "command-line-interface", "config", "network-programming", ] license = "MIT" repository = "https://github.com/ahcodedthat/socket_config_rs" [package.metadata."docs.rs"] all-features = true [[example]] name = "chargen_once" required-features = ["clap"] [[example]] name = "echo_incr" required-features = [ "clap", "tokio", ] [dependencies.cfg-if] version = "1.0.0" [dependencies.clap] version = "4.3.23" features = [ "derive", "std", ] optional = true default-features = false [dependencies.derive_more] version = "0.99.17" [dependencies.futures] version = "0.3.28" features = ["std"] optional = true default-features = false [dependencies.once_cell] version = "1.18.0" [dependencies.pin-project] version = "1.1.3" [dependencies.serde] version = "1.0.171" features = ["derive"] optional = true [dependencies.serde_with] version = "3.3.0" optional = true [dependencies.socket2] version = "0.5.3" features = ["all"] [dependencies.thiserror] version = "1.0.47" [dependencies.tls-listener] version = "0.9.0" features = ["tokio-net"] optional = true default-features = false [dependencies.tokio] version = "1.32.0" features = ["net"] optional = true [dev-dependencies.anyhow] version = "1.0.75" [dev-dependencies.assert_matches] version = "1.5.0" [dev-dependencies.clap] version = "4.3.23" default-features = true [dev-dependencies.escargot] version = "0.5.8" [dev-dependencies.once_cell] version = "1.18.0" [dev-dependencies.serde_json] version = "1.0.105" [features] serde = [ "dep:serde", "dep:serde_with", ] tls-listener = [ "dep:tls-listener", "tokio", ] [target."cfg(not(any(target_os = \"fuchsia\", target_os = \"solaris\")))".dev-dependencies.tokio] version = "1.32.0" features = [ "io-util", "macros", "net", "rt", ] [target."cfg(unix)".dependencies.libc] version = "0.2.147" [target."cfg(unix)".dependencies.nix] version = "0.27.1" features = [ "fs", "user", ] default-features = false [target."cfg(windows)".dependencies.windows-sys] version = "0.48.0" features = [ "Win32_Foundation", "Win32_Storage_FileSystem", "Win32_System_Console", "Win32_System_SystemServices", ]