usbpd 2.0.0

USB-PD library for `[no_std]`.
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 = "2024"
name = "usbpd"
version = "2.0.0"
authors = ["Adrian Figueroa <elagil@takanome.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "USB-PD library for `[no_std]`."
homepage = "https://github.com/elagil/usbpd"
documentation = "https://docs.rs/usbpd"
readme = "README.md"
keywords = [
    "no_std",
    "usb-pd",
    "embedded",
]
license = "MIT"
repository = "https://github.com/elagil/usbpd"

[features]
default = []
defmt = [
    "dep:defmt",
    "heapless/defmt",
]
log = ["dep:log"]
serde = [
    "dep:serde",
    "heapless/serde",
]

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

[dependencies.byteorder]
version = "1.5.0"
default-features = false

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

[dependencies.embassy-futures]
version = "0.1.1"

[dependencies.heapless]
version = "0.9.2"

[dependencies.log]
version = "0.4.29"
optional = true

[dependencies.proc-bitfield]
version = "0.5.3"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.18"
default-features = false

[dependencies.uom]
version = "0.36.0"
features = [
    "si",
    "u32",
]
default-features = false

[dependencies.usbpd-traits]
version = "2.0.0"

[dev-dependencies.tokio]
version = "1.49.0"
features = [
    "rt",
    "macros",
]