# 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_bindgen"
version = "0.27.3"
authors = ["Ali A. Hilal <me@alihilal.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Code generation library for BoltFFI - generates Swift, Kotlin, and TypeScript bindings"
readme = false
keywords = [
    "ffi",
    "codegen",
    "swift",
    "kotlin",
    "typescript",
]
categories = [
    "development-tools::ffi",
    "development-tools::build-utils",
]
license = "MIT"
repository = "https://github.com/boltffi/boltffi"

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

[dependencies.askama]
version = "0.16"

[dependencies.boltffi_backend]
version = "0.27.3"

[dependencies.boltffi_binding]
version = "0.27.3"

[dependencies.boltffi_ffi_rules]
version = "0.27.3"
features = ["serde"]

[dependencies.heck]
version = "0.5"

[dependencies.indexmap]
version = "2.7"

[dependencies.object]
version = "0.39"

[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.thiserror]
version = "2.0"

[dependencies.walkdir]
version = "2.4"

[dev-dependencies.boltffi_ast]
version = "0.27.3"

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

[dev-dependencies.rstest]
version = "0.26"

[lints.clippy]
missing_safety_doc = "allow"

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

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
