[package]
edition = "2024"
rust-version = "1.90"
name = "keelson-macros"
version = "0.1.1"
authors = ["Kensuke Kubo"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "keelson's derive macros: #[derive(Bind)] for newtype column overrides and #[derive(FromRow)] for row mapping."
readme = "README.md"
keywords = [
"sql",
"derive",
"macros",
"database",
"orm",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/ken109/keelson-rs"
[lib]
name = "keelson_macros"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "bind"
path = "tests/bind.rs"
[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"
[[test]]
name = "end_to_end"
path = "tests/end_to_end.rs"
[[test]]
name = "from_row"
path = "tests/from_row.rs"
[dependencies.proc-macro-crate]
version = "3"
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
version = "1"
[dependencies.syn]
version = "2"
features = [
"full",
"parsing",
"printing",
"clone-impls",
"proc-macro",
"derive",
"parsing",
"printing",
"clone-impls",
"proc-macro",
]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
default-features = false
[dev-dependencies.trybuild]
version = "1"
[dev-dependencies.uuid]
version = "1"
features = ["std"]
default-features = false
[lints.clippy]
todo = "warn"
[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"