[package] name = "storefd" version = "0.2.0-dev" edition = "2021" license = "MIT" authors = ["Mathieu Trossevin "] repository = "https://gitea.evolix.org/mtrossevin/storefd/" description = "An implementation of file descriptor passing with `LISTEN_FD` and of `NOTIFY_SOCKET` readiness protocol." rust-version = "1.74.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = [] listenfd = ["dep:rustix", "rustix/fs", "dep:libc"] notify = ["dep:libc", "dep:rustix", "rustix/pipe", "rustix/event"] [dependencies] libc = { version = "0.2.150", optional = true } log = "0.4.20" rustix = { version = "0.38.26", optional = true, features = ["net"] } [package.metadata.docs.rs] features = ["listenfd", "notify"] rustdoc-args = ["--cfg", "doc_cfg"] targets = [ "x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-freebsd", "x86_64-unknown-openbsd", "x86_64-unknown-netbsd", "wasm32-unknown-emscripten" ]