obd2/Cargo.toml
Nicholas Orlowsky 1769d2a84b
undid changes + put ftdi & serial behind features
- serial_comm and ftdi_comm features added
- received/recieved typos reverted for inclusion in another PR
- fuel_level change reverted for inclusion in another PR
- DeviceError's 0 field made private again
2025-03-20 14:09:44 -04:00

19 lines
459 B
TOML

[package]
name = "obd2"
description = "Utility for reading data from a vehicle over OBD-II"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rsammelson/obd2"
version = "0.2.0-pre3"
edition = "2021"
[dependencies]
env_logger = "0.10"
log = "0.4.8"
thiserror = "1.0.15"
ftdi = { version = "0.1.3", optional = true }
serialport= { version = "=4.6.1", optional = true }
[features]
ftdi_comm = [ "dep:ftdi" ]
serialport_comm = [ "dep:serialport" ]