rnd-ash / ecu_diagnostics

A Rust crate for ECU diagnostic protocols (UDS / KWP)
GNU General Public License v3.0
170 stars 28 forks source link

Feature gate hardware implementations #7

Closed afonso360 closed 2 years ago

afonso360 commented 2 years ago

👋 Hey,

I'm trying to use this crate on a embedded device, and we don't have support for libloading.

This PR hides the hardware implementations behind feature flags so that they can be enabled conditionally.

Additionally it removes the env_logger dependency, but that's just because its not used anywhere in the project.

rnd-ash commented 2 years ago

Awesome! This was on my to-do list anyway, thanks for the help!