# 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 = "shared-bus" version = "0.3.1" authors = ["Rahix "] description = "Abstraction for sharing a bus between multiple devices." documentation = "https://docs.rs/shared-bus" readme = "README.md" keywords = [ "embedded-hal", "embedded-hal-impl", "i2c", "spi", "bus", ] categories = [ "embedded", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Rahix/shared-bus" [package.metadata.docs.rs] all-features = true [dependencies.atomic-polyfill] version = "1.0.1" optional = true [dependencies.cortex-m] version = "0.7.7" optional = true [dependencies.embedded-hal] version = "0.2.3" features = ["unproven"] [dependencies.embedded-hal-alpha] version = "=1.0.0-alpha.9" optional = true package = "embedded-hal" [dependencies.nb] version = "1.0.0" [dependencies.once_cell] version = "1.4.0" optional = true [dependencies.spin] version = "0.9.8" optional = true [dependencies.xtensa-lx] version = "0.8.0" features = ["spin"] optional = true [dev-dependencies.embedded-hal-mock] version = "0.9" [features] cortex-m = [ "dep:cortex-m", "atomic-polyfill", ] eh-alpha = ["embedded-hal-alpha"] std = ["once_cell"] xtensa = [ "xtensa-lx", "spin", ]