Skip to content

Commit 4db8307

Browse files
committed
Fix build features for example
1 parent 446e09c commit 4db8307

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,12 @@ bytes = ["dep:bytes"]
5959
rustls = ["chromiumoxide_fetcher/rustls"]
6060
native-tls = ["chromiumoxide_fetcher/native-tls"]
6161

62+
zip0 = ["chromiumoxide_fetcher/zip0"]
63+
zip8 = ["chromiumoxide_fetcher/zip8"]
6264

6365
[[example]]
6466
name = "fetcher"
65-
required-features = ["fetcher"]
67+
required-features = ["fetcher", "zip8", "rustls"]
6668

6769
[[test]]
6870
name = "chromiumoxide_tests"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ All Events are bundled in single enum (`CdpEvent`)
8484
By default `chromiumoxide` will try to find an installed version of chromium on the computer it runs on.
8585
It is possible to download and install one automatically for some platforms using the `fetcher` feature.
8686

87-
You need to enable either the `rustls` or the `native-tls` feature to allow the fetcher to download binaries.
87+
You need to enable either the `rustls` or the `native-tls` feature and the `zip0` or `zip8` feature to allow the fetcher to download binaries.
8888

8989
```rust
9090
use std::path::Path;

0 commit comments

Comments
 (0)