# 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 = "2018" name = "systemd_socket" version = "0.1.2" authors = ["Martin Habovstiak "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A convenience crate for optionally supporting systemd socket activation." homepage = "https://github.com/Kixunil/systemd_socket" readme = "README.md" keywords = [ "systmed", "socket-activation", ] categories = [ "api-bindings", "config", "os::linux-apis", ] license = "MITNFA" repository = "https://github.com/Kixunil/systemd_socket" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "systemd_socket" path = "src/lib.rs" [[test]] name = "comm" path = "tests/comm.rs" [[test]] name = "ordinary" path = "tests/ordinary.rs" [[test]] name = "systemd" path = "tests/systemd.rs" [dependencies.async-std] version = "1.7.0" optional = true [dependencies.lazy_static] version = "1.4.0" [dependencies.parse_arg] version = "0.1.4" optional = true [dependencies.serde_crate] version = "1.0.116" features = ["derive"] optional = true package = "serde" [dependencies.serde_str_helpers] version = "0.1.2" optional = true [dependencies.thiserror] version = "1.0.21" [dependencies.tokio] version = "1.0.0" features = ["net"] optional = true package = "tokio" [dependencies.tokio_0_2] version = "0.2" features = [ "tcp", "dns", ] optional = true package = "tokio" [dependencies.tokio_0_3] version = "0.3" features = ["net"] optional = true package = "tokio" [features] default = ["enable_systemd"] enable_systemd = ["libsystemd"] serde = [ "serde_crate", "serde_str_helpers", ] [target.'cfg(target_os = "linux")'.dependencies.libsystemd] version = ">= 0.3.0, < 0.8.0" optional = true