# 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 = "boltffi_scan"
version = "0.27.2"
authors = ["Ali A. Hilal <me@alihilal.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Scans Rust syntax into the BoltFFI source AST"
readme = false
keywords = [
    "ffi",
    "scanner",
    "syn",
    "ast",
]
categories = ["development-tools::ffi"]
license = "MIT"
repository = "https://github.com/boltffi/boltffi"

[lib]
name = "boltffi_scan"
path = "src/lib.rs"

[dependencies.boltffi_ast]
version = "0.27.2"

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

[dependencies.quote]
version = "1.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.syn]
version = "2.0"
features = [
    "full",
    "parsing",
    "visit",
]

[dependencies.walkdir]
version = "2.4"

[lints.clippy]
missing_safety_doc = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
