Crates.io | socketcand |
lib.rs | socketcand |
version | 0.1.0 |
source | src |
created_at | 2024-07-05 06:56:33.223095 |
updated_at | 2024-07-05 06:56:33.223095 |
description | Socketcand parser for small systems |
homepage | |
repository | https://github.com/umi-eng/socketcand-rs |
max_upload_size | |
id | 1292418 |
size | 21,479 |
A socketcand parser implementation built with nom
. Designed for no_std
environments and implements embedded-can
traits.
use socketcand::wire::command;
let input = "< send 123 0 >";
let (_, result) = command(input).unwrap();
println!("{:?}", result);
defmt-03
: Derive defmt::Format
from defmt
0.3 for enums and structs.