# 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"
name = "rig-derive"
version = "0.40.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Internal crate that implements Rig derive macros."
readme = false
license = "MIT"
repository = "https://github.com/0xPlaygrounds/rig"

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

[[example]]
name = "async_tool"
path = "examples/rig_tool/async_tool.rs"

[[example]]
name = "complex_types"
path = "examples/rig_tool/complex_types.rs"

[[example]]
name = "full"
path = "examples/rig_tool/full.rs"

[[example]]
name = "simple"
path = "examples/rig_tool/simple.rs"

[[example]]
name = "with_description"
path = "examples/rig_tool/with_description.rs"

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

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

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

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

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

[dependencies.convert_case]
version = "0.11.0"

[dependencies.indoc]
version = "2.0.6"

[dependencies.proc-macro-crate]
version = "3.4.0"

[dependencies.proc-macro2]
version = "1.0.95"
features = ["proc-macro"]

[dependencies.quote]
version = "1.0.40"

[dependencies.serde_json]
version = "1.0.150"

[dependencies.syn]
version = "2.0.104"
features = ["full"]

[dev-dependencies.anyhow]
version = "1.0.102"

[dev-dependencies.schemars]
version = "1.0.4"

[dev-dependencies.serde]
version = "1.0.219"

[dev-dependencies.serde_json]
version = "1.0.150"

[dev-dependencies.tokio]
version = "1.52.3"
features = ["full"]

[dev-dependencies.tracing-subscriber]
version = "0.3.19"

[dev-dependencies.trybuild]
version = "1.0"

[lints.clippy]
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"
dbg_macro = "forbid"
expect_fun_call = "deny"
expect_used = "deny"
indexing_slicing = "deny"
panic = "deny"
panic_in_result_fn = "deny"
todo = "forbid"
unimplemented = "forbid"
unreachable = "deny"
unwrap_used = "deny"
