# 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 = "gd32-hal" version = "0.0.1" authors = ["Myrfy"] exclude = [".gitignore"] description = "Hardware abstraction layer for the GD32 MCUs" documentation = "https://docs.rs/gd32-hal" readme = "README.md" keywords = ["no-std", "gd32", "embedded", "embedded-hal"] categories = ["embedded", "hardware-support", "no-std"] license = "MIT" repository = "https://github.com/gd32-rs/gd32-hal" resolver = "2" [package.metadata.docs.rs] features = ["embedded-hal"] rustdoc-args = ["--cfg", "docsrs"] targets = ["thumbv7em-none-eabihf"] [dependencies.byteorder] version = "1.4.3" optional = true default-features = false [dependencies.cast] version = "0.2.2" default-features = false [dependencies.cfg-if] version = "1.0.0" [dependencies.chrono] version = "0.4.19" default-features = false [dependencies.cortex-m] version = "0.7.3" [dependencies.embedded-hal] version = "0.2.5" features = ["unproven"] optional = true [dependencies.gd32f3] version = "0.1.0-alpha.1" optional = true [dependencies.nb] version = "1.0.0" [dependencies.num-traits] version = "0.2.14" features = ["libm"] default-features = false [dependencies.paste] version = "1.0.4" [features] embedded_hal = ["embedded-hal"] f3 = [] f303 = ["gd32f3/gd32f303", "f3"] f3rt = ["gd32f3/rt"]