fusible 0.14.0

Electronic linter: a fuse that blows to block firmware code generation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Unit tests for the native Gerber and Excellon generator.

mod layers;
mod shapes;
mod silkscreen;
mod validation;
mod writers;

/// Wraps extra Circuit JSON elements after a 50 x 40 mm board centred on the origin.
fn board_with(extra: &str) -> String {
    format!(
        r#"[{{ "type": "pcb_board", "pcb_board_id": "b0", "width": 50, "height": 40,
            "center": {{ "x": 0, "y": 0 }} }}{extra}]"#
    )
}