# 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 = "fp-macros"
version = "0.7.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for generating and working with Higher-Kinded Type (HKT) traits in the fp-library crate."
readme = "README.md"
keywords = [
    "macro",
    "proc-macro",
    "procedural",
    "types",
]
categories = ["encoding"]
license = "BlueOak-1.0.0"
repository = "https://github.com/nothingnesses/rust-fp-library"

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

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

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

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

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

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

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

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

[dependencies.proc-macro-warning]
version = "1"

[dependencies.proc-macro2]
version = "1.0"
features = ["span-locations"]

[dependencies.quote]
version = "1.0"

[dependencies.rapidhash]
version = "4.2"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.syn]
version = "2.0"
features = [
    "extra-traits",
    "full",
    "visit",
    "visit-mut",
]

[dependencies.thiserror]
version = "2.0"

[dependencies.toml]
version = "0.9"

[dev-dependencies.insta]
version = "1"

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

[dev-dependencies.quickcheck_macros]
version = "1.1"

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

[lints.clippy]
expect_used = "warn"
indexing_slicing = "warn"
panic = "warn"
todo = "warn"
unimplemented = "warn"
unreachable = "warn"
unwrap_used = "warn"
