# 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-bind-hal" version = "0.5.0" authors = ["decaday "] build = "build.rs" exclude = ["src/main.rs"] autobins = false autoexamples = false autotests = false autobenches = false description = "MCU HALs using binding, currently supports PY32" homepage = "https://github.com/decaday/py32-bind-hal" readme = "README.md" keywords = [ "embedded-hal", "no-std", "py32", "mcu", ] categories = ["no-std"] license-file = "LICENSE" repository = "https://github.com/decaday/py32-bind-hal" [package.metadata.docs.rs] default-target = "thumbv6m-none-eabi" [lib] name = "py32_bind_hal" path = "src/lib.rs" harness = false [dependencies.cortex-m-rt] version = "0.7" [dependencies.critical-section] version = "1.1" [dependencies.defmt] version = "0.3" optional = true [dependencies.embassy-executor] version = "0.6" features = [ "nightly", "integrated-timers", "arch-cortex-m", "executor-thread", ] [dependencies.embassy-futures] version = "0.1.1" optional = true [dependencies.embassy-sync] version = "0.6.0" optional = true [dependencies.embassy-time] version = "0.3.0" features = ["tick-hz-1_000"] optional = true [dependencies.embassy-time-driver] version = "0.1.0" features = ["tick-hz-1_000"] optional = true [dependencies.embedded-hal] version = "1.0.0-alpha.11" [dependencies.embedded-hal-async] version = "1.0" [dependencies.embedded-io] version = "0.6" [dependencies.py32csdk-hal-sys] version = "0.4.0" [features] csdk-hal = [] default = [ "py32f030", "embassy", "time", "defmt", ] defmt = [ "dep:defmt", "embassy-sync/defmt", "embassy-time?/defmt", ] embassy = [ "dep:embassy-sync", "dep:embassy-futures", "dep:embassy-time-driver", ] peri-dma = [] peri-gpioa = [] peri-gpiob = [] peri-gpiof = [] peri-i2c = [] peri-i2c0 = [] peri-i2c1 = [] peri-i2c2 = [] py32f030 = [ "py32csdk-hal-sys/py32f030", "csdk-hal", "peri-gpioa", "peri-gpiob", "peri-gpiof", "peri-i2c", "peri-i2c0", "peri-dma", ] recompile = ["py32csdk-hal-sys/recompile"] time = ["dep:embassy-time"]