jsonld-syntax 0.24.0

JSON-LD syntax
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.96.0"
name = "jsonld-syntax"
version = "0.24.0"
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 syntax"
documentation = "https://docs.rs/jsonld-syntax"
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
rustdoc-args = [
    "--cfg",
    "docsrs",
]
rustc-args = [
    "-C",
    "target-cpu=native",
]

[features]
ahash = ["dep:ahash"]
bytewise-iri = ["iri-rs/bytewise"]
default = ["bytewise-iri"]
gxhash = ["dep:gxhash"]
serde = [
    "dep:serde",
    "iri-rs/serde",
    "jstrict/serde",
    "indexmap/serde",
]
serde-json = ["jstrict/serde_json"]
sonic-rs = ["jstrict/sonic-rs"]

[lib]
name = "jsonld_syntax"
path = "src/lib.rs"

[dependencies.ahash]
version = "0.8.12"
optional = true

[dependencies.contextual]
version = "0.1.6"

[dependencies.gxhash]
version = "3.5.0"
optional = true

[dependencies.hashbrown]
version = "0.17.1"

[dependencies.indexmap]
version = "2.14.2"

[dependencies.iri-rs]
version = "3.4.1"

[dependencies.jstrict]
version = "0.16.0"

[dependencies.langtag]
version = "1.1.0"

[dependencies.lasso]
version = "0.7.3"
features = [
    "multi-threaded",
    "inline-more",
    "ahasher",
]

[dependencies.rdfx]
version = "0.24.0"

[dependencies.serde]
version = "1.0.229"
features = ["derive"]
optional = true

[dependencies.smallvec]
version = "1.16.2"

[dependencies.thiserror]
version = "2.0.21"

[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"