[package]
edition = "2024"
rust-version = "1.97"
name = "loftspec"
version = "2.1.0"
build = false
exclude = ["tests"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Loft Specification Format: document model, identity, canonical bytes, hashing and conversion"
homepage = "https://askloft.ai"
readme = "README.md"
keywords = [
"specification",
"requirements",
"ears",
"traceability",
"git",
]
categories = [
"development-tools",
"parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/Ask-Loft/loft"
[lib]
name = "loftspec"
path = "src/lib.rs"
[dependencies.pulldown-cmark]
version = "=0.13.4"
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_json_canonicalizer]
version = "0.3"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dependencies.unicode-properties]
version = "=0.1.4"
features = ["general-category"]
default-features = false
[dependencies.unicode-segmentation]
version = "=1.13.3"
[dependencies.uuid]
version = "1"
features = [
"serde",
"v4",
"v7",
]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.saphyr-parser]
version = "0.1.0"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"