# 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 = "2018" name = "gd32f1x0-hal" version = "0.10.1" authors = ["Andrew Walbran "] description = "HAL for the GD32F1x0 family of microcontrollers" readme = "README.md" keywords = [ "arm", "cortex-m", "gd32", "hal", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/gd32-rust/gd32f1x0-hal" [package.metadata.docs.rs] default-target = "x86_64-unknown-linux-gnu" features = [ "gd32f130x8", "rt", ] [profile.dev] codegen-units = 1 incremental = false [profile.release] lto = true codegen-units = 1 debug = 2 [[example]] name = "blinky_timer_irq" required-features = ["rt"] [[example]] name = "timer-interrupt-rtic" required-features = ["rt"] [dependencies.cortex-m] version = "0.7.7" features = ["critical-section-single-core"] [dependencies.cortex-m-rt] version = "0.7.3" [dependencies.embedded-dma] version = "0.2.0" [dependencies.embedded-hal] version = "1.0.0" [dependencies.embedded-hal-02] version = "0.2.7" features = ["unproven"] optional = true package = "embedded-hal" [dependencies.embedded-io] version = "0.6.1" [dependencies.gd32f1] version = "0.9.1" features = ["critical-section"] [dependencies.nb] version = "1.1.0" [dependencies.void] version = "1.0.2" optional = true default-features = false [dev-dependencies.cortex-m] version = "0.7.7" features = ["critical-section-single-core"] [dev-dependencies.cortex-m-rtic] version = "1.1.4" [dev-dependencies.cortex-m-semihosting] version = "0.5.0" [dev-dependencies.panic-halt] version = "0.2.0" [dev-dependencies.panic-itm] version = "0.4.2" [dev-dependencies.panic-semihosting] version = "0.6.0" [features] device-selected = [] doc = [] embedded-hal-02 = [ "dep:embedded-hal-02", "dep:void", ] gd32f130 = [ "gd32f1/gd32f130", "device-selected", ] gd32f130x4 = ["gd32f130"] gd32f130x6 = ["gd32f130"] gd32f130x8 = ["gd32f130"] gd32f150 = [ "gd32f1/gd32f150", "device-selected", ] gd32f150x4 = ["gd32f150"] gd32f150x6 = ["gd32f150"] gd32f150x8 = ["gd32f150"] gd32f170 = [ "gd32f1/gd32f170", "device-selected", ] gd32f170x4 = ["gd32f170"] gd32f170x6 = ["gd32f170"] gd32f170x8 = ["gd32f170"] gd32f190 = [ "gd32f1/gd32f190", "device-selected", ] gd32f190x4 = ["gd32f190"] gd32f190x6 = ["gd32f190"] gd32f190x8 = ["gd32f190"] rt = ["gd32f1/rt"]