shiva-0.1.14 has been yanked.
Shiva

Shiva library: Implementation in Rust of a parser and generator for documents of any type
Features
- Common Document Model (CDM) for all document types
- Parsers produce CDM
- Generators consume CDM
Supported document types
| Document type | Parse | Generate |
|---|---|---|
| Plain text | + | + |
| Markdown | + | + |
| HTML | + | + |
| + | + | |
| JSON | - | - |
| XML | - | - |
| DOC | - | - |
| XLS | - | - |
Parse document features
| Document type | Header | Paragraph | List | Table | Image | Hyperlink | PageHeader | PageFooter |
|---|---|---|---|---|---|---|---|---|
| Plain text | - | + | - | - | - | - | - | - |
| Markdown | + | + | + | + | + | + | + | + |
| HTML | + | + | + | + | + | + | - | - |
| - | + | + | - | - | - | - | - |
Generate document features
| Document type | Header | Paragraph | List | Table | Image | Hyperlink |
|---|---|---|---|---|---|---|
| Plain text | + | + | + | + | - | + |
| Markdown | + | + | + | + | + | + |
| HTML | + | + | + | + | + | + |
| + | + | - | - | - | - |
Usage Shiva library
Cargo.toml
[]
= "0.1.14"
main.rs
Shiva CLI
Install Rust for Linux/MacOS
|
Install Rust for Windows
Build executable Shiva
Run executable shiva