| Crates.io | rico-scan |
| lib.rs | rico-scan |
| version | 0.1.2 |
| created_at | 2024-12-28 15:34:22.543187+00 |
| updated_at | 2025-01-05 09:43:56.666361+00 |
| description | A high-performance CLI tool for parsing and validating Thrift IDL files |
| homepage | |
| repository | https://github.com/xnmeet/rico |
| max_upload_size | |
| id | 1497578 |
| size | 32,935 |
A high-performance CLI tool for parsing and validating Thrift IDL files, built on top of the Rico parser.
cargo install rico-scan
To validate Thrift files without generating output:
rico-scan -p /path/to/thrift/files
To parse files and output JSON AST:
rico-scan -p /path/to/thrift/files -o /path/to/output
Each Thrift file will be parsed into a corresponding JSON file containing its AST.
json-output (enabled by default): Enables JSON AST output functionality[=========================> ] 495/522 (28s)
Done! • ✅ succeeded: 521 • ❌ failed: 1 • ⚡ threads: 8 • ⏱ time: 1.23s
If errors are found, they will be displayed with source context:
Error details:
→ /path/to/file.thrift
<detailed error with source context>
This project is licensed under the same terms as Rico.