| # 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" |
| rust-version = "1.69" |
| name = "spidev" |
| version = "0.7.0" |
| authors = [ |
| "Paul Osborne <[email protected]>", |
| "The Embedded Linux Team <[email protected]>", |
| ] |
| build = false |
| autolib = false |
| autobins = false |
| autoexamples = false |
| autotests = false |
| autobenches = false |
| description = """ |
| Provides access to the Linux spidev interface. This |
| interface allows for configuration of the spidev device, |
| half-duplex SPI access, and full-duplex SPI access. |
| """ |
| homepage = "https://github.com/rust-embedded/rust-spidev" |
| documentation = "https://docs.rs/spidev" |
| readme = "README.md" |
| license = "MIT/Apache-2.0" |
| repository = "https://github.com/rust-embedded/rust-spidev" |
| |
| [lib] |
| name = "spidev" |
| path = "src/lib.rs" |
| |
| [[example]] |
| name = "spidev-bidir" |
| path = "examples/spidev-bidir.rs" |
| |
| [[example]] |
| name = "spidev-hello" |
| path = "examples/spidev-hello.rs" |
| |
| [dependencies.bitflags] |
| version = "2.9" |
| |
| [dependencies.libc] |
| version = "0.2" |
| |
| [dependencies.nix] |
| version = "0.29" |
| features = ["ioctl"] |