# 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 = "tosql"
version = "0.1.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Trait for SQL struct serialization / SQL结构体序列化Trait"
homepage = "https://github.com/js0/rust/tree/main/tosql"
readme = "README.md"
keywords = [
    "sql",
    "trait",
    "serialization",
    "database",
    "struct",
]
license = "MulanPSL-2.0"
repository = "https://github.com/js0/rust.git"
resolver = "2"

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

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

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

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

[dependencies.bytes]
version = "1.11.0"

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

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

[dependencies.tosql_derive]
version = "0.1.5"

[dependencies.tosql_static_meta]
version = "0.1.1"

[dependencies.vb]
version = "0.2.3"

[dev-dependencies.aok]
version = "0.1.18"

[dev-dependencies.log]
version = "0.4.28"

[dev-dependencies.log_init]
version = "0.1.28"

[dev-dependencies.static_init]
version = "1.0.4"

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