comparison Cargo.toml @ 22:f33e2c048104

Enable `doc_auto_cfg` in docs.rs builds
author Martin Habovstiak <martin.habovstiak@gmail.com>
date Sat, 13 Jul 2024 15:13:21 +0200
parents f6334887e3c8
children 729392c49b46
comparison
equal deleted inserted replaced
21:f6334887e3c8 22:f33e2c048104
9 keywords = ["systmed", "socket-activation"] 9 keywords = ["systmed", "socket-activation"]
10 categories = ["api-bindings", "config", "os::linux-apis"] 10 categories = ["api-bindings", "config", "os::linux-apis"]
11 edition = "2018" 11 edition = "2018"
12 license = "MITNFA" 12 license = "MITNFA"
13 13
14 14 [package.metadata.docs.rs]
15 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 15 all-features = true
16 rustdoc-args = ["--cfg", "docsrs"]
16 17
17 [features] 18 [features]
18 default = ["enable_systemd"] 19 default = ["enable_systemd"]
19 serde = ["serde_crate", "serde_str_helpers"] 20 serde = ["serde_crate", "serde_str_helpers"]
20 enable_systemd = ["libsystemd"] 21 enable_systemd = ["libsystemd"]