[package]
edition = "2024"
rust-version = "1.96.0"
name = "jsonld-expandable"
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 = "Derive macro for JSON-LD `Expandable` types (see jsonld-expandable-core for runtime traits)"
documentation = "https://docs.rs/jsonld-expandable"
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
[lib]
name = "jsonld_expandable"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "trybuild"
path = "tests/trybuild.rs"
[dependencies.jsonld-expandable-core]
version = "0.25.0"
features = ["codegen"]
default-features = false
[dependencies.proc-macro-crate]
version = "3.5.0"
[dependencies.proc-macro2]
version = "1.0.107"
[dependencies.quote]
version = "1.0.47"
[dependencies.syn]
version = "3.0.9"
features = [
"full",
"extra-traits",
]
[dev-dependencies.jsonld-expandable-core]
version = "0.25.0"
features = ["serde-json"]
default-features = false
[dev-dependencies.serde_json]
version = "1.0.154"
[dev-dependencies.trybuild]
version = "1.0.122"
features = ["diff"]
[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"