jsonld-expandable-core 0.25.0

Runtime traits, attribute parser, and codegen for the JSON-LD `Expandable` derive
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-expandable-core"
version = "0.25.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 = "Runtime traits, attribute parser, and codegen for the JSON-LD `Expandable` derive"
documentation = "https://docs.rs/jsonld-expandable-core"
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",
]

[features]
chrono = ["dep:chrono"]
codegen = [
    "dep:proc-macro2",
    "dep:quote",
    "dep:syn",
]
default = []
jstrict = ["dep:jstrict"]
serde-json = ["dep:serde_json"]
sonic-rs = ["dep:sonic-rs"]

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

[[test]]
name = "attrs_parsing"
path = "tests/attrs_parsing.rs"

[dependencies.chrono]
version = "0.4.45"
features = ["alloc"]
optional = true
default-features = false

[dependencies.jstrict]
version = "0.16.0"
optional = true

[dependencies.proc-macro2]
version = "1.0.107"
optional = true

[dependencies.quote]
version = "1.0.47"
optional = true

[dependencies.serde_json]
version = "1.0.154"
optional = true

[dependencies.sonic-rs]
version = "0.5.10"
optional = true

[dependencies.syn]
version = "3.0.9"
features = [
    "full",
    "extra-traits",
]
optional = true

[dev-dependencies]

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