[package]
edition = "2024"
rust-version = "1.96.0"
name = "jsonld-serialization"
version = "0.23.2"
authors = [
"Timothée Haudebourg <author@haudebourg.net>",
"Matej Škvarč <matej.skvarc@senlab.io>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JSON-LD serialization"
documentation = "https://docs.rs/jsonld-serialization"
readme = "README.md"
keywords = [
"json-ld",
"json",
"semantic-web",
"linked-data",
"rdf",
]
categories = [
"web-programming",
"database",
"data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mskvarc/jsonld/"
[package.metadata.docs.rs]
all-features = true
[features]
bytewise-iri = [
"iri-rs/bytewise",
"jsonld-core/bytewise-iri",
]
default = ["bytewise-iri"]
[lib]
name = "jsonld_serialization"
path = "src/lib.rs"
[[example]]
name = "into_json_ld"
path = "examples/into_json_ld.rs"
[dependencies.iri-rs]
version = "3.4.1"
[dependencies.jsonld-core]
version = "0.23.2"
[dependencies.jstrict]
version = "0.15.0"
[dependencies.ld-core]
version = "0.5.0"
[dependencies.rdfx]
version = "0.24.0"
[dependencies.thiserror]
version = "2.0.21"
[dependencies.xsd-rs]
version = "0.10.0"
[dev-dependencies.contextual]
version = "0.1.6"
[dev-dependencies.jstrict]
version = "0.15.0"
[dev-dependencies.ld-core]
version = "0.5.0"
features = ["derive"]
[lints.clippy]
expect_used = "deny"
format_push_string = "allow"
inline_always = "allow"
iter_without_into_iter = "allow"
match_same_arms = "allow"
panic = "deny"
struct_excessive_bools = "allow"
struct_field_names = "allow"
todo = "deny"
too_many_arguments = "allow"
too_many_lines = "allow"
unimplemented = "deny"
unreachable = "deny"
unused_async_trait_impl = "allow"
unwrap_used = "deny"
wildcard_enum_match_arm = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
async_fn_in_trait = "allow"