[package]
edition = "2021"
rust-version = "1.78.0"
name = "candid_derive"
version = "0.10.21"
authors = ["DFINITY Team"]
build = false
include = [
"src",
"README.md",
"Cargo.toml",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Macros implementation of #[derive(CandidType)] for the Candid."
homepage = "https://docs.rs/candid_derive"
documentation = "https://docs.rs/candid_derive"
readme = "README.md"
keywords = [
"internet-computer",
"idl",
"candid",
"dfinity",
"parser",
]
categories = [
"encoding",
"wasm",
]
license = "Apache-2.0"
repository = "https://github.com/dfinity/candid"
[lib]
name = "candid_derive"
path = "src/lib.rs"
proc-macro = true
[dependencies.lazy_static]
version = "1.4.0"
[dependencies.proc-macro2]
version = "1.0.19"
[dependencies.quote]
version = "1.0.7"
[dependencies.syn]
version = "2.0"
features = [
"visit",
"full",
]
[lints.clippy.all]
level = "deny"
priority = 0
[lints.clippy.uninlined_format_args]
level = "allow"
priority = 1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(wasm_bindgen_unstable_test_coverage)"]