# 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 = "m24c64-driver" version = "0.0.2" authors = [ "Christopher Kock", "Jaci Brunning", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust embedded-hal(-async) driver for the M24C64 I2C EEPROM" documentation = "https://docs.rs/m24c64-driver" readme = "README.md" categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT" repository = "https://github.com/Christopher-06/m24c64-driver" [lib] name = "m24c64_driver" path = "src/lib.rs" [[example]] name = "async_embassy" path = "examples/async_embassy.rs" [[example]] name = "sync_embassy" path = "examples/sync_embassy.rs" [[example]] name = "sync_stm32f4xx_hal" path = "examples/sync_stm32f4xx_hal.rs" [dependencies.defmt] version = "^0.3" optional = true [dependencies.embedded-hal] version = "^1.0.0" optional = true [dependencies.embedded-hal-async] version = "^1.0.0" optional = true [dev-dependencies.cortex-m] version = "0.7.7" [dev-dependencies.cortex-m-rt] version = "0.7" [dev-dependencies.embassy] version = "0.0.0" [dev-dependencies.embassy-executor] version = "0.6.3" features = [ "executor-thread", "arch-cortex-m", ] [dev-dependencies.embassy-stm32] version = "0.1.0" features = [ "stm32f446rc", "unstable-pac", "memory-x", ] [dev-dependencies.embassy-time] version = "0.3.2" [dev-dependencies.panic-halt] version = "1.0.0" [dev-dependencies.stm32f4xx-hal] version = "0.22.1" features = ["stm32f446"] [features] async = ["dep:embedded-hal-async"] default = [ "sync", "async", "defmt", ] defmt = [ "dep:defmt", "embedded-hal/defmt-03", ] sync = ["dep:embedded-hal"]