# 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"
version = "0.27.0"
authors = ["Ali A. Hilal <me@alihilal.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance FFI bindings generator for Rust. Up to 1000x faster than UniFFI, 450x faster than wasm-bindgen."
homepage = "https://boltffi.dev"
documentation = "https://boltffi.dev/docs"
readme = "README.md"
keywords = [
    "ffi",
    "swift",
    "kotlin",
    "wasm",
    "bindings",
]
categories = [
    "development-tools::ffi",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/boltffi/boltffi"

[features]
chrono = ["boltffi_core/chrono"]
default = [
    "uuid",
    "url",
]
fast-alloc = ["boltffi_core/fast-alloc"]
url = ["boltffi_core/url"]
uuid = ["boltffi_core/uuid"]

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

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

[dependencies.boltffi_core]
version = "0.27.0"

[dependencies.boltffi_macros]
version = "0.27.0"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]

[lints.clippy]
missing_safety_doc = "allow"

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

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
