Skip to content

Commit

Permalink
Bump version to 0.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
golemparts committed Dec 10, 2024
1 parent ed71ad2 commit faa5824
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rppal"
# Also update html_root_url in lib.rs
version = "0.21.0"
version = "0.22.0"
edition = "2021"
rust-version = "1.60"
authors = ["Rene van der Meer <rene@golemparts.com>"]
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ Add a dependency for `rppal` to your `Cargo.toml` using `cargo add rppal`, or by

```toml
[dependencies]
rppal = "0.21.0"
rppal = "0.22.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.21.0", features = ["hal"] }
rppal = { version = "0.22.0", features = ["hal"] }
```

Call `new()` on any of the peripherals to construct a new instance.
Expand Down Expand Up @@ -136,7 +136,7 @@ RPPAL controls the Raspberry Pi's PWM peripheral through the `pwm` sysfs interfa

#### Features

* Up to two hardware PWM channels
* Up to four hardware PWM channels depending on the Raspberry Pi model
* Configurable frequency, duty cycle and polarity
* Optional `embedded-hal` trait implementations

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
//! guaranteed until v1.
// Used by rustdoc to link other crates to rppal's docs
#![doc(html_root_url = "https://docs.rs/rppal/0.21.0")]
#![doc(html_root_url = "https://docs.rs/rppal/0.22.0")]

#[macro_use]
mod macros;
Expand Down

0 comments on commit faa5824

Please sign in to comment.