spellbook-engine 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- spellbook_engine-0.1.0/CHANGELOG.md +13 -0
- spellbook_engine-0.1.0/Cargo.lock +7 -0
- spellbook_engine-0.1.0/Cargo.toml +18 -0
- spellbook_engine-0.1.0/LICENSE +661 -0
- spellbook_engine-0.1.0/PKG-INFO +61 -0
- spellbook_engine-0.1.0/README.md +89 -0
- spellbook_engine-0.1.0/SPEC.md +82 -0
- spellbook_engine-0.1.0/pyproject.toml +28 -0
- spellbook_engine-0.1.0/python/.gitignore +7 -0
- spellbook_engine-0.1.0/python/Cargo.lock +137 -0
- spellbook_engine-0.1.0/python/Cargo.toml +25 -0
- spellbook_engine-0.1.0/python/LICENSE +661 -0
- spellbook_engine-0.1.0/python/README.md +45 -0
- spellbook_engine-0.1.0/python/src/lib.rs +172 -0
- spellbook_engine-0.1.0/python/tests/test_bindings.py +125 -0
- spellbook_engine-0.1.0/spellbook_engine/__init__.py +7 -0
- spellbook_engine-0.1.0/spellbook_engine/__init__.pyi +34 -0
- spellbook_engine-0.1.0/spellbook_engine/py.typed +0 -0
- spellbook_engine-0.1.0/src/error.rs +90 -0
- spellbook_engine-0.1.0/src/lib.rs +199 -0
- spellbook_engine-0.1.0/src/scan.rs +78 -0
- spellbook_engine-0.1.0/src/tag.rs +156 -0
- spellbook_engine-0.1.0/tests/errors.rs +145 -0
- spellbook_engine-0.1.0/tests/readme.rs +44 -0
- spellbook_engine-0.1.0/tests/robustness.rs +94 -0
- spellbook_engine-0.1.0/tests/syntax.rs +239 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
4
|
+
and the crate follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
|
+
|
|
6
|
+
## [Unreleased]
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- `parse`: splits a document into markdown and block segments.
|
|
11
|
+
- The syntax in [SPEC.md](SPEC.md): tags, attributes, code fences, the nesting
|
|
12
|
+
rule and the errors.
|
|
13
|
+
- Python glue in `python/`: the module `spellbook_engine`, built with PyO3.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "spellbook-engine"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
edition = "2021"
|
|
5
|
+
description = "The SpellBlock syntax engine: splits a markdown document into markdown and {~ block ~} segments, and refuses what the syntax forbids."
|
|
6
|
+
license = "AGPL-3.0-only"
|
|
7
|
+
repository = "https://git.stormdevelopments.ca/official-public/spellbook-engine"
|
|
8
|
+
readme = "README.md"
|
|
9
|
+
keywords = ["markdown", "parser", "spellbook", "django"]
|
|
10
|
+
categories = ["parser-implementations", "text-processing"]
|
|
11
|
+
include = ["src/**", "tests/**", "README.md", "SPEC.md", "CHANGELOG.md", "LICENSE"]
|
|
12
|
+
|
|
13
|
+
[lints.rust]
|
|
14
|
+
unsafe_code = "forbid"
|
|
15
|
+
missing_docs = "warn"
|
|
16
|
+
|
|
17
|
+
[lints.clippy]
|
|
18
|
+
pedantic = { level = "warn", priority = -1 }
|