[package]
edition = "2021"
rust-version = "1.71"
name = "include_json"
version = "0.1.2"
authors = ["David Tolnay <dtolnay@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parse JSON file at compile time and embed as serde_json::Value"
documentation = "https://docs.rs/include_json"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/include-json"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
"--generate-link-to-definition",
"--generate-macro-expansion",
"--extern-html-root-url=core=https://doc.rust-lang.org",
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
"--extern-html-root-url=std=https://doc.rust-lang.org",
"--extern-html-root-url=proc_macro=https://doc.rust-lang.org",
]
[lib]
name = "include_json"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "compiletest"
path = "tests/compiletest.rs"
[[test]]
name = "test"
path = "tests/test.rs"
[dependencies.macro-string]
version = "0.2"
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.syn]
version = "2"
features = [
"parsing",
"proc-macro",
]
default-features = false
[dev-dependencies.minijinja]
version = "2.7"
[dev-dependencies.rustversion]
version = "1.0.19"
[dev-dependencies.trybuild]
version = "1.0.108"
features = ["diff"]