socketcand 0.1.0

Socketcand parser for small systems
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# socketcand

A socketcand parser implementation built with [`nom`](https://docs.rs/nom). Designed for `no_std` environments and implements [`embedded-can`](https://docs.rs/embedded-can) traits.

```rust
use socketcand::wire::command;

let input = "< send 123 0 >";
let (_, result) = command(input).unwrap();

println!("{:?}", result);
```

## Optional features

- `defmt-03`: Derive `defmt::Format` from `defmt` 0.3 for enums and structs.