[package]
name = "tosql"
version = "0.1.9"
edition = "2024"
license = "MulanPSL-2.0"
repository = "https://github.com/js0/rust.git"
homepage = "https://github.com/js0/rust/tree/main/tosql"
description = "Trait for SQL struct serialization / SQL结构体序列化Trait"
keywords = ["sql", "trait", "serialization", "database", "struct"]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[features]
default = []
linkme = ["dep:linkme"]

[dependencies]
bytes = "1.11.0"
tosql_static_meta = { version = "0.1.1", path = "../tosql_static_meta" }

[dependencies.linkme]
version = "0.3.35"
optional = true

[dependencies.vb]
version = "0.2.3"
path = "../vb"

[dependencies.kind2sql]
version = "0.1.11"
path = "../kind2sql"
features = ["mysql"]

[dependencies.tosql_derive]
version = "0.1.5"
path = "../tosql_derive"

[dev-dependencies]
aok = "0.1.18"
log = "0.4.28"
log_init = "0.1.28"
static_init = "1.0.4"

[dev-dependencies.tokio]
version = "1.48.0"
features = ["macros", "rt", "rt-multi-thread", "time", "sync"]