# 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_core"
version = "0.26.0"
authors = ["Ali A. Hilal <me@alihilal.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core runtime types for BoltFFI - high-performance FFI bindings generator"
readme = false
keywords = [
    "ffi",
    "runtime",
    "bindings",
    "interop",
]
categories = ["development-tools::ffi"]
license = "MIT"
repository = "https://github.com/boltffi/boltffi"

[features]
chrono = ["dep:chrono"]
default = [
    "uuid",
    "url",
]
fast-alloc = ["mimalloc"]
url = ["dep:url"]
uuid = ["dep:uuid"]

[lib]
name = "boltffi_core"
crate-type = [
    "cdylib",
    "staticlib",
    "rlib",
]
path = "src/lib.rs"

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

[dependencies.boltffi_macros]
version = "0.26.0"

[dependencies.chrono]
version = "0.4"
features = ["std"]
optional = true
default-features = false

[dependencies.mimalloc]
version = "0.1"
optional = true
default-features = false

[dependencies.url]
version = "2.5.4"
features = ["std"]
optional = true
default-features = false

[dependencies.uuid]
version = "1.10.0"
features = ["std"]
optional = true
default-features = false

[lints.clippy]
missing_safety_doc = "allow"

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

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
