[package]
edition = "2024"
rust-version = "1.85"
name = "mysql-handler"
version = "0.1.1"
authors = ["ren-yamanashi"]
build = "build.rs"
links = "ha_rusty_shim"
include = [
"/src/**/*.rs",
"/shim/**/*.cc",
"/shim/**/*.hpp",
"/shim/**/*.h",
"/shim/CMakeLists.txt",
"/build.rs",
"/Cargo.toml",
"/README.md",
"/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for the MySQL handler"
homepage = "https://github.com/ren-yamanashi/rusty_mysql_handler"
documentation = "https://docs.rs/mysql-handler"
readme = "README.md"
keywords = [
"mysql",
"ffi",
"plugin",
"storage-engine",
"handler",
]
categories = [
"api-bindings",
"database",
"external-ffi-bindings",
]
license = "GPL-2.0-only"
repository = "https://github.com/ren-yamanashi/rusty_mysql_handler"
[package.metadata.docs.rs]
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "mysql_handler"
path = "src/lib.rs"
[dependencies.mysql-handler-macros]
version = "0.1.1"
[dependencies.tracing]
version = "0.1.41"
[dev-dependencies.criterion]
version = "0.7"
[build-dependencies.bindgen]
version = "0.71.1"
[build-dependencies.cmake]
version = "0.1.58"
[build-dependencies.flate2]
version = "1.1.9"
[lints.clippy]
doc_markdown = "allow"
manual_let_else = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
redundant_pub_crate = "warn"
single_match_else = "allow"
undocumented_unsafe_blocks = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "warn"
unsafe_op_in_unsafe_fn = "deny"
unused_qualifications = "warn"
[profile.release]
lto = true
codegen-units = 1
panic = "unwind"