embedded-batteries 0.3.4

A blocking Hardware Abstraction Layer (HAL) for battery fuel gauges and battery chargers used in embedded systems.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.83"
name = "embedded-batteries"
version = "0.3.4"
authors = ["Matteo Tullo <matteotullo@microsoft.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A blocking Hardware Abstraction Layer (HAL) for battery fuel gauges and battery chargers used in embedded systems."
readme = "README.md"
keywords = [
    "hal",
    "IO",
    "battery",
    "charging",
    "fuel-gauge",
]
categories = [
    "asynchronous",
    "embedded",
    "hardware-support",
    "no-std",
]
license = "MIT"
repository = "https://github.com/OpenDevicePartnership/embedded-batteries"

[features]
defmt = ["dep:defmt"]

[lib]
name = "embedded_batteries"
path = "src/lib.rs"

[dependencies.bitfield-struct]
version = "0.12"

[dependencies.bitflags]
version = "2.9"

[dependencies.defmt]
version = "0.3"
optional = true

[dependencies.embedded-hal]
version = "1.0.0"

[dependencies.zerocopy]
version = "0.8"
features = ["derive"]