diff --git a/Cargo.toml b/Cargo.toml index 858f3fbd..019c020d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rppal" # Also update html_root_url in lib.rs -version = "0.17.1" +version = "0.18.0" edition = "2021" rust-version = "1.60" authors = ["Rene van der Meer "] diff --git a/README.md b/README.md index dfa53082..37c8979b 100644 --- a/README.md +++ b/README.md @@ -45,14 +45,14 @@ Add a dependency for `rppal` to your `Cargo.toml` using `cargo add rppal`, or by ```toml [dependencies] -rppal = "0.17.1" +rppal = "0.18.0" ``` If your project requires `embedded-hal` trait implementations, specify either the `hal` or `hal-unproven` feature flag in the dependency declaration. ```toml [dependencies] -rppal = { version = "0.17.1", features = ["hal"] } +rppal = { version = "0.18.0", features = ["hal"] } ``` Call `new()` on any of the peripherals to construct a new instance. @@ -186,7 +186,7 @@ Install the relevant target using `rustup`. rustup target install armv7-unknown-linux-gnueabihf ``` -In the root directory of your project, create a `.cargo` subdirectory, and save the following snippet to `.cargo/config`. +In the root directory of your project, create a `.cargo` subdirectory, and save the following snippet to `.cargo/config.toml`. ```toml [build] diff --git a/src/lib.rs b/src/lib.rs index fd18f988..1ad29e14 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,7 +13,7 @@ //! guaranteed until v1. // Used by rustdoc to link other crates to rppal's docs -#![doc(html_root_url = "https://docs.rs/rppal/0.17.1")] +#![doc(html_root_url = "https://docs.rs/rppal/0.18.0")] #[macro_use] mod macros;