| Crates.io | peak-can |
| lib.rs | peak-can |
| version | 0.1.1 |
| created_at | 2025-03-24 09:42:56.969757+00 |
| updated_at | 2025-03-25 03:07:25.483496+00 |
| description | Rust bindings APIs for PEAK-System Technik GmbH |
| homepage | |
| repository | https://github.com/TuEmb/peak-can-rs |
| max_upload_size | |
| id | 1603615 |
| size | 165,869 |
A Rust wrapper for PEAK-System's PCAN-Basic API, providing access to PEAK CAN interfaces.
PCANBasic.lib and PCANBasic.dll availableDownload and install the PCAN-Basic API from PEAK-System.
peak-can-rs to Your Cargo Project[dependencies]
peak-can = "0.1.0"
cargo run --example receive
cargo run --example receive
If you get a linking error, ensure PCANBasic.lib is in your library path:
PCANBasic.lib from https://www.peak-system.com/Software-Information.77.0.html?&L=1.build.rs in your Rust project:fn main() {
println!("cargo:rustc-link-search=native=C:\\Libraries\\PCANBasic");
println!("cargo:rustc-link-lib=static=PCANBasic");
}
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Feel free to open an issue or a pull request.