icewrap 0.1.1

Port of Heatshrink to Rust
Documentation
  • Coverage
  • 96.3%
    286 out of 297 items documented0 out of 263 items with examples
  • Size
  • Source code size: 68.76 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 12.24 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 17s Average build duration of successful builds.
  • all releases: 17s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • sameer/g-code
    14 3 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • sameer

g-code

crates.io g-code g-code codecov

A joint crate for g-code parsing and emission.

Parsing

The parser is written in Rust using peg.

Demo

cargo run --example parse ./tests/vandy_commodores_logo.gcode

Output: https://gist.github.com/sameer/5fe20dad6faa6329926df48b82e68581

Emission

Basic primitives for g-code emission.

Supports formatting, checksum and line number generation.

Demo

See svg2gcode.

TODOs

Parse

  • g-code parameters
  • g-code infix notation

Emit

  • Remaining commonly-used commands (open an issue or create a PR if you need one that's missing)

References