#codec #canusb

no-std mini-slcan

Serial Line CAN (SLCAN) protocol decoder/encoder

2 releases

0.1.1 Nov 15, 2020
0.1.0 Nov 15, 2020

#788 in #codec

0BSD license

868 lines

Serial Line CAN protocol codec

crates.io docs.rs CI

This crate implements a protocol encoder and decoder for the Serial Line CAN (SLCAN) protocol, used for transmitting CAN frames over a serial connection.

Please refer to the changelog to see what changed in the last releases.


Add an entry to your Cargo.toml:

mini-slcan = "0.1.1"

Check the API Documentation for how to use the crate's functionality.

Rust version support

This crate supports stable Rust. No guarantees are made beyond that.


A lightweight, #![no_std] implementation of the Serial Line CAN protocol.


~59K SLoC