bindings: Consistently check for `dox` feature
authorColin Walters <walters@verbum.org>
Thu, 15 Dec 2022 01:09:37 +0000 (20:09 -0500)
committerColin Walters <walters@verbum.org>
Thu, 26 Jan 2023 19:34:32 +0000 (14:34 -0500)
commitf913e53c2e3404c2aea8804391a349dca04bfe77
tree97969dfed12c3baffd3b17b1eaf162c7ea725388
parent350809db42eb2577628e965faeb1ac25b360cabf
bindings: Consistently check for `dox` feature

This fixes the build on docs.rs:

https://docs.rs/crate/ostree-ext/0.10.2/builds/699039
```
[INFO] running `Command { std: "docker" "start" "-a" "7d90466f040d987cbcc393bc89f5f0688f052f49e2339c354dd731fdaf0f9667", kill_on_drop: false }`
[INFO] [stderr]     Checking ostree v0.17.0
[INFO] [stderr] error[E0063]: missing field `process_passthrough_whiteouts` in initializer of `repo_checkout_at_options::RepoCheckoutAtOptions`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ostree-0.17.0/rust-bindings/src/repo_checkout_at_options/mod.rs:61:9
[INFO] [stderr]    |
[INFO] [stderr] 61 |         RepoCheckoutAtOptions {
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^ missing `process_passthrough_whiteouts`
```
rust-bindings/src/repo_checkout_at_options/mod.rs
rust-bindings/tests/repo/checkout_at.rs
rust-bindings/tests/repo/mod.rs
rust-bindings/tests/tests.rs