chore: add docs.rs metadata #97
cargo devel CI / cargo CI (push) Successful in 1m55s Details

This commit is contained in:
Christoph J. Scherr 2024-08-30 17:49:40 +02:00
parent 4ff85b881c
commit 17a235c1da
5 changed files with 20 additions and 3 deletions

View File

@ -60,3 +60,7 @@ libpt-core = { workspace = true }
libpt-bintols = { workspace = true, optional = true } libpt-bintols = { workspace = true, optional = true }
libpt-log = { workspace = true, optional = true } libpt-log = { workspace = true, optional = true }
libpt-cli = { workspace = true, optional = true, features = ["log"] } libpt-cli = { workspace = true, optional = true, features = ["log"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

View File

@ -20,3 +20,7 @@ libpt-core = { workspace = true }
libpt-log = { workspace = true } libpt-log = { workspace = true }
anyhow = { workspace = true } anyhow = { workspace = true }
thiserror = { workspace = true } thiserror = { workspace = true }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

View File

@ -12,9 +12,6 @@ repository.workspace = true
keywords.workspace = true keywords.workspace = true
categories.workspace = true categories.workspace = true
[package.metadata.docs.rs]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
[features] [features]
default = [] default = []
full = ["log"] full = ["log"]
@ -35,3 +32,7 @@ log = { version = "0.4.21", optional = true }
shlex = "1.3.0" shlex = "1.3.0"
strum = { version = "0.26.3", features = ["derive"] } strum = { version = "0.26.3", features = ["derive"] }
thiserror.workspace = true thiserror.workspace = true
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

View File

@ -16,3 +16,7 @@ categories.workspace = true
anyhow = "1.0.79" anyhow = "1.0.79"
[dev-dependencies] [dev-dependencies]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

View File

@ -22,3 +22,7 @@ libpt-core = { workspace = true, optional = false }
[dev-dependencies] [dev-dependencies]
gag = "1.0.0" gag = "1.0.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]