4 releases (2 breaking)

new 0.3.1 Apr 14, 2025
0.3.0 Apr 11, 2025
0.2.0 Nov 30, 2024
0.1.1 Oct 26, 2024
0.1.0 Oct 26, 2024

#594 in Parser implementations

Download history 1/week @ 2024-12-22 2/week @ 2024-12-29 4/week @ 2025-02-16 4/week @ 2025-02-23 7/week @ 2025-03-02 83/week @ 2025-04-06

83 downloads per month

MIT/Apache

1MB
28K SLoC

AsciiDoc parser for Rust

CI Latest Version docs.rs Codecov CodSpeed

This is an effort to write a semantic parser for the AsciiDoc language in the Rust language.

The project is in its infancy as of March 2025 and in no way ready to use.

You're welcome to follow along and contribute with the understanding that I may or may not drive this project a mature (1.0) release.

Known limitations

  • Parsing UTF-16 content is not supported. (UTF-16 documents must be re-encoded to UTF-8 prior to parsing with this crate.) I have no plans to support UTF-16 content.

Licenses

The asciidoc-parser crate is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT.

Note that some components and dependent crates may be licensed under different terms; please check the license terms for each crate and component for details.

License for AsciiDoc language materials

IMPORTANT: This repository contains a snapshot of the AsciiDoc language description which comes with its own license terms. It is not the purpose of this repository to supplant or replace that description; these documents are here as part of tooling to ensure that this crate follows the language description as closely as possible. Please consult AsciiDoc Language @ Eclipse GitLab for the official language description.

The following applies to content in the asg and spec folders:

The AsciiDoc Language and the accompanying materials are made available under the terms of the Eclipse Public License v 2.0 (EPL-2.0). See LICENSE to find the full license text.

The following applies to content in the docs folder:

The user documentation for the AsciiDoc Language, located in the docs/ folder, is made available under the terms of a Creative Commons Attribution 4.0 International License (CC-BY-4.0).

Dependencies

~0.4–1MB
~20K SLoC