Files
system76-embedded-controller/tool/Cargo.toml
Tim Crawford 1046dd7aec Update Rust toolchain to 2023-01-21
Update the toolchain and deps, and use the sparse registry access.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-02-18 06:28:21 -07:00

34 lines
894 B
TOML

[package]
name = "system76_ectool"
version = "0.3.8"
edition = "2018"
description = "System76 EC tool"
license = "MIT"
authors = ["Jeremy Soller <jeremy@system76.com>"]
repository = "https://github.com/system76/ec"
documentation = "https://docs.rs/system76_ectool"
[lib]
name = "ectool"
[[bin]]
name = "system76_ectool"
required-features = ["std", "hidapi", "clap"]
[dependencies]
clap = { version = "3.2", optional = true }
libc = { version = "0.2", optional = true }
hidapi = { version = "1.4", default-features = false, features = ["linux-shared-hidraw"], optional = true }
redox_hwio = { version = "0.1.6", default-features = false, optional = true }
downcast-rs = { version = "1.2.0", default-features = false }
[features]
default = ["std", "hidapi", "clap"]
std = ["libc", "downcast-rs/std"]
[package.metadata.docs.rs]
all-features = true
[registries.crates-io]
protocol = "sparse"