linux-socketcan-iso-tp 0.1.3

Linux kernel ISO-TP socket backend implementing can-isotp-interface
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Linux kernel ISO-TP socket backend.
//!
//! On Linux this provides a minimal wrapper around `CAN_ISOTP` sockets and implements the
//! `can-isotp-interface` traits.
//!
//! On non-Linux targets this crate provides compile-time stubs so downstream crates can build
//! with appropriate `cfg` gating.

#[cfg(target_os = "linux")]
mod linux;
#[cfg(target_os = "linux")]
pub use linux::*;

#[cfg(not(target_os = "linux"))]
mod non_linux;
#[cfg(not(target_os = "linux"))]
pub use non_linux::*;