Switch to a library and move main to an example
This commit is contained in:
parent
559fbbaa12
commit
2a43bf94bd
9 changed files with 21 additions and 389 deletions
10
src/lib.rs
Normal file
10
src/lib.rs
Normal file
|
@ -0,0 +1,10 @@
|
|||
#![forbid(unsafe_code)]
|
||||
|
||||
mod accessors;
|
||||
use accessors::Result;
|
||||
pub use accessors::{Error, Obd2Device};
|
||||
|
||||
pub mod device;
|
||||
|
||||
mod interface;
|
||||
pub use interface::Obd2;
|
Loading…
Add table
Add a link
Reference in a new issue