diff --git a/Cargo.toml b/Cargo.toml index 9edd8e4..3900f00 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nrfxlib-sys" -version = "2.9.1" +version = "2.9.2" authors = [ "Jonathan 'theJPster' Pallant ", "42 Technology Ltd ", @@ -36,6 +36,9 @@ include = [ "third_party/nordic/nrfxlib/crypto/nrf_oberon/license.txt", ] +[package.metadata.docs.rs] +features = ["nrf9160"] + [dependencies] [build-dependencies] diff --git a/README.md b/README.md index ca5eaa3..1864058 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,12 @@ without any additional terms or conditions. ## Changelog -### Unreleased Changes ([Source](https://github.com/nrf-rs/nrfxlib-sys/tree/develop) | [Changes](https://github.com/nrf-rs/nrfxlib-sys/compare/v2.9.1...develop)) +### Unreleased Changes ([Source](https://github.com/nrf-rs/nrfxlib-sys/tree/develop) | [Changes](https://github.com/nrf-rs/nrfxlib-sys/compare/v2.9.2...develop)) + +### v2.9.2 ([Source](https://github.com/nrf-rs/nrfxlib-sys/tree/v2.9.2) | [Changes](https://github.com/nrf-rs/nrfxlib-sys/compare/v2.9.1...v2.9.2)) + +* Disabled bindgen layout tests so this crate can be built for desktops +* Selected a chip feature so docs can be build again ### v2.9.1 ([Source](https://github.com/nrf-rs/nrfxlib-sys/tree/v2.9.1) | [Changes](https://github.com/nrf-rs/nrfxlib-sys/compare/v2.7.1...v2.9.1)) diff --git a/build.rs b/build.rs index 88404bd..0dba7d6 100644 --- a/build.rs +++ b/build.rs @@ -58,6 +58,8 @@ fn main() { .allowlist_var("OCRYPTO_.*") // Format the output .formatter(bindgen::Formatter::Rustfmt) + // Disable so it can build on desktop too + .layout_tests(false) // Finish the builder and generate the bindings. .generate() // Unwrap the Result and panic on failure.