Change repository into a workspace
This commit is contained in:
parent
058692a20c
commit
89dda462ff
38
Cargo.toml
38
Cargo.toml
|
@ -1,33 +1,9 @@
|
||||||
[package]
|
[workspace]
|
||||||
name = "storefd"
|
|
||||||
version = "0.2.0-dev"
|
|
||||||
edition = "2021"
|
|
||||||
license = "MIT"
|
|
||||||
authors = ["Mathieu Trossevin <mtrossevin@evolix.fr>"]
|
|
||||||
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
|
resolver = "2"
|
||||||
|
members = [
|
||||||
[features]
|
"storefd",
|
||||||
default = []
|
"storefd-listen",
|
||||||
listenfd = ["dep:storefd-listen"]
|
"storefd-notify",
|
||||||
notify = ["dep:storefd-notify"]
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
storefd-notify = { path = "./storefd-notify", version = "0.1.0", optional = true }
|
|
||||||
storefd-listen = { path = "./storefd-listen", version = "0.1.0", optional = true }
|
|
||||||
|
|
||||||
[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"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
33
storefd/Cargo.toml
Normal file
33
storefd/Cargo.toml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
[package]
|
||||||
|
name = "storefd"
|
||||||
|
version = "0.2.0-dev"
|
||||||
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
|
authors = ["Mathieu Trossevin <mtrossevin@evolix.fr>"]
|
||||||
|
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:storefd-listen"]
|
||||||
|
notify = ["dep:storefd-notify"]
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
storefd-notify = { path = "../storefd-notify", version = "0.1.0", optional = true }
|
||||||
|
storefd-listen = { path = "../storefd-listen", version = "0.1.0", optional = true }
|
||||||
|
|
||||||
|
[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"
|
||||||
|
]
|
|
@ -1,4 +1,4 @@
|
||||||
//! A library permitting interaction with the LISTEN_FDS and NOTIFY_SOCKET protocol.
|
//! A library permitting interaction with the `LISTEN_FDS` and `NOTIFY_SOCKET` protocol.
|
||||||
|
|
||||||
#![cfg_attr(doc_cfg, feature(doc_cfg))]
|
#![cfg_attr(doc_cfg, feature(doc_cfg))]
|
||||||
|
|
Loading…
Reference in a new issue