# 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 = "2021"
rust-version = "1.88"
name = "sp1-derive"
version = "6.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for SP1"
readme = "README.md"
keywords = [
    "sp1",
    "succinct",
    "zero-knowledge",
    "zkvm",
]
categories = ["cryptography"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/succinctlabs/sp1"

[lib]
name = "sp1_derive"
path = "src/lib.rs"
proc-macro = true

[dependencies.proc-macro2]
version = "1.0"

[dependencies.quote]
version = "1.0"

[dependencies.syn]
version = "1.0"
features = [
    "full",
    "fold",
]

[lints.clippy]
print_stdout = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(sp1_debug_constraints)",
    "cfg(sp1_debug_global_memory)",
    "cfg(sp1_core_runner_override)",
    "cfg(sp1_use_native_executor)",
    "cfg(sp1_use_portable_executor)",
    "cfg(sp1_native_executor_available)",
]
