• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2018"
14rust-version = "1.69"
15name = "spidev"
16version = "0.7.0"
17authors = [
18    "Paul Osborne <osbpau@gmail.com>",
19    "The Embedded Linux Team <embedded-linux@teams.rust-embedded.org>",
20]
21build = false
22autolib = false
23autobins = false
24autoexamples = false
25autotests = false
26autobenches = false
27description = """
28Provides access to the Linux spidev interface.  This
29interface allows for configuration of the spidev device,
30half-duplex SPI access, and full-duplex SPI access.
31"""
32homepage = "https://github.com/rust-embedded/rust-spidev"
33documentation = "https://docs.rs/spidev"
34readme = "README.md"
35license = "MIT/Apache-2.0"
36repository = "https://github.com/rust-embedded/rust-spidev"
37
38[lib]
39name = "spidev"
40path = "src/lib.rs"
41
42[[example]]
43name = "spidev-bidir"
44path = "examples/spidev-bidir.rs"
45
46[[example]]
47name = "spidev-hello"
48path = "examples/spidev-hello.rs"
49
50[dependencies.bitflags]
51version = "2.9"
52
53[dependencies.libc]
54version = "0.2"
55
56[dependencies.nix]
57version = "0.29"
58features = ["ioctl"]
59