| Crates.io | iconscript |
| lib.rs | iconscript |
| version | 0.3.0 |
| created_at | 2026-01-21 12:49:43.185539+00 |
| updated_at | 2026-01-23 21:28:21.480473+00 |
| description | iconscript parser and SVG generator in Rust |
| homepage | |
| repository | https://github.com/enzet/iconscript |
| max_upload_size | |
| id | 2059096 |
| size | 176,309 |
linesweeper library for Boolean path
operations.cd rust
./generate_parser.sh
cargo build --release
The binary will be available at target/release/iconscript.
./target/release/iconscript $OPTIONS $ICONSCRIPT_FILE $OUTPUT_DIRECTORY
| Option | Description |
|---|---|
-s, --sketch |
Output raw paths without combining |
--no-rounding |
Disable coordinate rounding |
--no-deduplication |
Disable duplicate point removal |
--no-collinear |
Disable collinear point simplification |
Run tests:
cargo test
Try to run on test file:
cargo run -- ../test/main.iconscript -o test-output/