Skip to content

Commit

Permalink
Specify features for docs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
qnighy committed Mar 1, 2020
1 parent 0c8de06 commit 7edd304
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ static = ["libwebp-sys2/static"]
extern-types = ["libwebp-sys2/extern-types"]
__doc_cfg = ["libwebp-sys2/__doc_cfg", "1_1", "demux", "mux"]

[package.metadata.docs.rs]
features = ["1_1", "demux", "mux", "__doc_cfg", "extern-types"]

[workspace]
members = [
"libwebp-sys",
Expand Down
3 changes: 3 additions & 0 deletions libwebp-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ static = []
extern-types = []
__doc_cfg = ["1_1", "demux", "mux"]

[package.metadata.docs.rs]
features = ["1_1", "demux", "mux", "__doc_cfg", "extern-types"]

[build-dependencies]
pkg-config = "0.3.17"
cc = "1.0.50"
Expand Down

0 comments on commit 7edd304

Please sign in to comment.