Crate gerber_parser

Source
Expand description

§Gerber-parser

This is a parser in rust for Gerber file. The underlying representation is built on the gerber-types crate.

Gerber files are the de-facto file format for PCB manufacturing, but are also used in other context, such as in microfabrication. It is an old format with a lot of baggage, but the specification is well documented, there is an online free viewer available to check your designs, and the format is plaintext making it easy to work with.

There are sibling crates to this crate, as follows:

This crate has matured, the API is simple and should be fairly stable now. This crate is the primary driver to changes for the gerber-types crate.

Re-exports§

pub use gerber_types;

Modules§

util

Structs§

GerberDoc
Representation of a Gerber document
GerberParserErrorWithContext

Enums§

ContentError
ParseError

Functions§

parse
Parse a gerber string (in BufReader) to a GerberDoc