# 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 = "socketcan-hal" version = "3.0.0-alpha.2" authors = [ "Marc Brinkmann ", "Natesh Narain ", ] description = "Linux SocketCAN library. Send and receive CAN frames via CAN bus on Linux." documentation = "https://docs.rs/socketcan-hal" readme = "README.md" license = "MIT" repository = "https://github.com/nnarain/socketcan-rs" [[bin]] name = "can" required-features = ["utils"] [dependencies.anyhow] version = "1.0" optional = true [dependencies.byte_conv] version = "0.1.1" [dependencies.clap] version = "2.33" optional = true [dependencies.embedded-hal] version = "1.0.0-alpha.8" [dependencies.hex] version = "0.4" [dependencies.itertools] version = "0.10" [dependencies.libc] version = "0.2" [dependencies.nb] version = "1" [dependencies.neli] version = "0.6" optional = true [dependencies.nix] version = "0.23" [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.clap] version = "3.2.8" features = ["derive"] [dev-dependencies.ctrlc] version = "3.2.2" [dev-dependencies.nb] version = "1.0" [features] default = ["netlink"] netlink = ["neli"] utils = [ "clap", "anyhow", ] vcan_tests = ["netlink"]