| Crates.io | svg2ipe |
| lib.rs | svg2ipe |
| version | 0.1.0 |
| created_at | 2025-07-19 01:34:39.210627+00 |
| updated_at | 2025-07-19 01:34:39.210627+00 |
| description | A library and CLI tool for converting SVG files to IPE format |
| homepage | |
| repository | https://github.com/hz2/svg2ipe |
| max_upload_size | |
| id | 1759849 |
| size | 11,132 |
A Rust library and command-line tool for converting SVG files to IPE (Ipe Extensible Drawing Editor) format.
use svg2ipe;
let svg_content = std::fs::read_to_string("input.svg")?;
let ipe_output = svg2ipe::svg_to_ipe(&svg_content)?;
std::fs::write("output.ipe", ipe_output)?;
cargo run
This will convert example.svg to output.ipe.
Add this to your Cargo.toml:
[dependencies]
svg2ipe = "0.1.0"