Skip to content

Commit

Permalink
New public API (v4.0.0)
Browse files Browse the repository at this point in the history
- Needs complete testing
  • Loading branch information
bsodmike committed Sep 28, 2024
1 parent 889451d commit f5044a9
Show file tree
Hide file tree
Showing 14 changed files with 933 additions and 508 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [4.0.0] - XX Sept 2024

### Changed
- __Breaking Change__: Rewamped blocking I2C with `embedded-hal` v0.2; Testing on hardware pending.
- __Breaking Change__: New public API based on `embedded-hal-async`.

## [3.0.0] - 15 Sept 2024 - Yanked

Expand All @@ -29,14 +29,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Tested (compilation/clippy) with Embassy and `defmt`.
- TODO: Testing on actual hardware.

## [0.4.4] - 1 March 2024
## [0.4.4] - 1 March 2024 - Yanked

### Changed
- __Breaking Change__: Fully revised module organisation
- __Breaking Change__: Revised error API
- Renamed `Rv8803<_>::from_i2c0` to `Rv8803<_>::from_i2c`.

## [0.1.0] - 1 January 2022
## [0.1.0] - 1 January 2022 - Yanked
- Initial release


18 changes: 4 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,15 @@ description = "RTC clock driver for the rv8803 chip via I2C"
readme = "README.md"
keywords = ["i2c", "driver", "embedded-hal-driver", "rv8803"]
categories = ["embedded", "hardware-support", "no-std"]
publish = false

[features]
default = ["defmt"]
linux_blocking = ["linux-embedded-hal", "log",]
default = []

[dependencies]
chrono = { version = "0.4.38", default-features = false }
defmt = { version = "0.3", optional = true }
heapless = { version = "0.8", default-features = false }
defmt = { version = "^0.3" }
embedded-hal = { package = "embedded-hal", version = "^1.0" }
embedded-hal-0-2 = { package = "embedded-hal", version = "0.2.7", features = ["unproven"] }
embedded-hal-async = { package = "embedded-hal-async", version = "^1.0", optional = true }
linux-embedded-hal = { version = "^0.3", optional = true }
log = { version = "0.4", optional = true }
serde = { version = "1", features = ["derive"], default-features = false, optional = true }
shared-bus = { version = "0.3.1" }

[dev-dependencies]
i2cdev = "0.5.1"
embedded-hal-async = "1.0.0"

[package.metadata.docs.rs]
all-features = true
Expand Down
120 changes: 0 additions & 120 deletions src/bus.rs

This file was deleted.

186 changes: 0 additions & 186 deletions src/driver.rs

This file was deleted.

Loading

0 comments on commit f5044a9

Please sign in to comment.