py32-hal 0.4.1

HAL and Embassy support for the Py32 family of microcontrollers
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"
name = "py32-hal"
version = "0.4.1"
authors = [
    "Decaday <myDecaday@outlook.com>",
    "Andelf <andelf@gmail.com>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HAL and Embassy support for the Py32 family of microcontrollers"
homepage = "https://github.com/py32-rs/py32-hal"
documentation = "https://docs.rs/py32-hal"
readme = "README.md"
keywords = [
    "py32",
    "hal",
    "embedded",
    "no-std",
    "hardware-support",
]
categories = [
    "embedded",
    "no-std",
    "hardware-support",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/py32-rs/py32-hal"

[package.metadata.docs.rs]
default-target = "thumbv6m-none-eabi"
features = [
    "py32f072c1b",
    "embassy-usb-driver-impl",
]

[features]
_time-driver = [
    "dep:embassy-time-driver",
    "time",
    "dep:embassy-time-queue-utils",
]
default = [
    "rt",
    "memory-x",
    "defmt",
    "time",
    "exti",
]
defmt = [
    "dep:defmt",
    "dep:defmt-rtt",
    "embassy-usb-driver/defmt",
    "musb?/defmt",
]
embassy-usb-driver-impl = [
    "dep:musb",
    "dep:embassy-usb-driver",
    "musb/embassy-usb-driver-impl",
]
exti = []
memory-x = ["py32-metapac/memory-x"]
py32f002b = ["py32-metapac/py32f002b"]
py32f030f16 = ["py32-metapac/py32f030f16"]
py32f030k28 = ["py32-metapac/py32f030k28"]
py32f072c1b = [
    "py32-metapac/py32f072c1b",
    "dep:musb",
    "musb/builtin-py32f07x",
]
rt = ["py32-metapac/rt"]
time = [
    "dep:embassy-time",
    "embassy-embedded-hal/time",
]
time-driver-any = ["_time-driver"]
time-driver-systick = [
    "dep:portable-atomic",
    "_time-driver",
]
time-driver-tim1 = ["_time-driver"]
time-driver-tim15 = ["_time-driver"]
time-driver-tim3 = ["_time-driver"]
unsafe-reuse-swd-pins = []
usb-device-impl = [
    "dep:musb",
    "dep:usb-device",
    "musb/usb-device-impl",
]

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

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.cortex-m]
version = "0.7.7"
features = [
    "critical-section-single-core",
    "critical-section",
]

[dependencies.cortex-m-rt]
version = "0.7.5"

[dependencies.critical-section]
version = "1.2"

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

[dependencies.defmt-rtt]
version = "1"
optional = true

[dependencies.embassy-embedded-hal]
version = "0.5.0"
default-features = false

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

[dependencies.embassy-hal-internal]
version = "0.2.0"
features = [
    "cortex-m",
    "prio-bits-4",
]

[dependencies.embassy-sync]
version = "0.7"

[dependencies.embassy-time]
version = "0.5.0"
optional = true

[dependencies.embassy-time-driver]
version = "0.2.1"
optional = true

[dependencies.embassy-time-queue-utils]
version = "0.3"
optional = true

[dependencies.embassy-usb-driver]
version = "0.2.0"
optional = true

[dependencies.embedded-can]
version = "0.4"

[dependencies.embedded-hal-02]
version = "0.2.6"
features = ["unproven"]
package = "embedded-hal"

[dependencies.embedded-hal-1]
version = "1.0"
package = "embedded-hal"

[dependencies.embedded-hal-async]
version = "1.0"

[dependencies.embedded-hal-nb]
version = "1.0"

[dependencies.embedded-io]
version = "0.6.0"

[dependencies.embedded-io-async]
version = "0.6.1"

[dependencies.embedded-storage]
version = "0.3.1"

[dependencies.futures-util]
version = "0.3.30"
default-features = false

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

[dependencies.musb]
version = "0.3.0"
features = ["prebuild"]
optional = true

[dependencies.nb]
version = "1.0.0"

[dependencies.portable-atomic]
version = "1"
features = ["require-cas"]
optional = true

[dependencies.py32-metapac]
version = "0.5.0"

[dependencies.usb-device]
version = "0.3.2"
optional = true

[dev-dependencies.critical-section]
version = "1.1"
features = ["std"]

[dev-dependencies.proptest]
version = "1.5.0"

[dev-dependencies.proptest-state-machine]
version = "0.3.0"

[build-dependencies.proc-macro2]
version = "1.0.89"

[build-dependencies.py32-metapac]
version = "0.5.0"
features = ["metadata"]
default-features = false

[build-dependencies.quote]
version = "1.0.37"