| Crates.io | boring-file |
| lib.rs | boring-file |
| version | 0.2.0 |
| created_at | 2025-11-04 15:16:27.78121+00 |
| updated_at | 2025-11-04 18:12:30.002832+00 |
| description | A Rust library for boring xml parsing |
| homepage | |
| repository | https://github.com/groovyjovy/boring-rs |
| max_upload_size | |
| id | 1916382 |
| size | 13,172 |
日本のボーリング柱状図XMLファイルをパースして、JSON形式に変換するRustライブラリ&CLIツール
国土交通省が定義するボーリング柱状図XML形式(DTD v1.10)に対応したパーサーです。Shift_JISエンコーディングのXMLファイルを読み込み、構造化されたJSONデータとして出力します。
cargo install boring-rs
boring-rs --input-file ./docs/dtd/BED0110.XML --output-file output.json
use boring_parser::{boring_structs_110::Boring110, parser::Parse};
let boring_110 = Boring110::parse_from_str(&utf8_str); // Result<Boring110, Box<dyn std::error::Error>>
実装仕様はspec.mdを参照してください。