# 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 = "2021" name = "ecu_diagnostics" version = "0.96.1" authors = ["Ashcon Mohseninia "] build = false exclude = [ "examples/*", "build.rs", "ecu_diagnostics.hpp", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A rust crate for ECU diagnostic servers and communication APIs" readme = "README.md" keywords = [ "socketcan", "kwp2000", "uds", "j2534", "dpdu", ] license = "MIT" repository = "https://github.com/rnd-ash/ecu_diagnostics" [package.metadata.docs.rs] all-features = true targets = [ "x86_64-unknown-linux-gnu", "i686-pc-windows-msvc", "x86_64-apple-darwin", ] [lib] name = "ecu_diagnostics" path = "src/lib.rs" [dependencies.automotive_diag] version = "0.1" [dependencies.j2534_rust] version = "1.5.0" optional = true [dependencies.libloading] version = "0.8.4" optional = true [dependencies.log] version = "0.4.16" [dependencies.serde_json] version = "1.0.79" optional = true [dependencies.strum] version = "0.26.3" [dependencies.strum_macros] version = "0.26.4" [dependencies.thiserror] version = "1.0.44" [dev-dependencies.env_logger] version = "0.11.3" [features] default = [ "passthru", "socketcan", ] passthru = [ "dep:libloading", "dep:shellexpand", "dep:winreg", "dep:serde_json", "dep:j2534_rust", ] socketcan = [ "dep:socketcan-isotp", "dep:socketcan", ] [target.'cfg(target_os = "linux")'.dependencies.socketcan] version = "3.3.0" optional = true [target.'cfg(target_os = "linux")'.dependencies.socketcan-isotp] version = "1.0.1" optional = true [target."cfg(unix)".dependencies.shellexpand] version = "3.1.0" optional = true [target."cfg(windows)".dependencies.winreg] version = "0.10.1" optional = true [badges.maintenance] status = "actively-developed"