Skip to content

Commit c7f7089

Browse files
committed
chore: set metadata for docs.rs builds
Ensure that nginx-sys/vendored is enabled and limit targets to Linux x86_64.
1 parent cefba50 commit c7f7089

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ homepage.workspace = true
2424
repository.workspace = true
2525
rust-version.workspace = true
2626

27+
[package.metadata.docs.rs]
28+
all-features = true
29+
default-target = "x86_64-unknown-linux-gnu"
30+
targets = []
31+
2732
[dependencies]
2833
allocator-api2 = { version = "0.2.21", default-features = false }
2934
async-task = { version = "4.7.1", optional = true }

nginx-sys/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ homepage.workspace = true
1414
repository.workspace = true
1515
rust-version.workspace = true
1616

17+
[package.metadata.docs.rs]
18+
all-features = true
19+
default-target = "x86_64-unknown-linux-gnu"
20+
targets = []
21+
1722
[dependencies]
1823

1924
[target.'cfg(not(windows))'.dependencies]

0 commit comments

Comments
 (0)