[package]
name = "jsonld-syntax"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
categories.workspace = true
keywords.workspace = true
repository.workspace = true
license.workspace = true
description = "JSON-LD syntax"
documentation = "https://docs.rs/jsonld-syntax"
readme = "README.md"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
rustc-args = ["-C", "target-cpu=native"]
[features]
default = ["bytewise-iri"]
bytewise-iri = ["iri-rs/bytewise"]
serde = [
"dep:serde",
"iri-rs/serde",
"jstrict/serde",
"indexmap/serde",
]
serde-json = ["jstrict/serde_json"]
sonic-rs = ["jstrict/sonic-rs"]
ahash = ["dep:ahash"]
gxhash = ["dep:gxhash"]
[dependencies]
ahash = { version = "0.8.12", optional = true }
contextual = "0.1.6"
gxhash = { version = "3.5.0", optional = true }
hashbrown = "0.17.1"
indexmap = "2.14.2"
iri-rs = "3.4.1"
jstrict = "0.16.0"
langtag = "1.1.0"
lasso = { version = "0.7.3", features = ["multi-threaded", "inline-more", "ahasher"] }
rdfx = "0.24.0"
serde = { version = "1.0.229", features = ["derive"], optional = true }
smallvec = "1.16.2"
thiserror = "2.0.21"
[lints]
workspace = true