Skip to main content

canopen_host/
lib.rs

1//! # canopen-host
2//!
3//! Host-side (`std`) transport and tooling for [`canopen_rs`]: a Linux
4//! SocketCAN transport and EDS/DCF file parsing built on top of the
5//! `no_std` core.
6//!
7//! The core protocol logic lives in [`canopen_rs`] and is re-exported here
8//! for convenience.
9
10pub use canopen_rs;
11
12/// Electronic Data Sheet (EDS) / Device Configuration File (DCF) parsing.
13///
14/// Cross-platform: EDS files are plain text and carry no OS dependency.
15pub mod eds;
16
17/// Linux SocketCAN transport (compiled only on `target_os = "linux"`).
18#[cfg(target_os = "linux")]
19pub mod transport;