[package]
edition = "2024"
rust-version = "1.85"
name = "sqlmodel-mysql"
version = "0.1.1"
authors = ["SQLModel Rust Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MySQL driver for SQLModel Rust"
homepage = "https://github.com/sqlmodel/sqlmodel-rust"
documentation = "https://docs.rs/sqlmodel-mysql"
readme = "README.md"
keywords = [
"mysql",
"sql",
"database",
"driver",
"sqlmodel",
]
categories = [
"database",
"database-implementations",
]
license = "MIT"
repository = "https://github.com/sqlmodel/sqlmodel-rust"
resolver = "2"
[features]
console = ["dep:sqlmodel-console"]
default = []
tls = [
"dep:rustls",
"dep:webpki-roots",
"dep:rustls-pemfile",
]
[lib]
name = "sqlmodel_mysql"
path = "src/lib.rs"
[[test]]
name = "mysql_integration"
path = "tests/mysql_integration.rs"
[dependencies.asupersync]
version = "0.1.0"
[dependencies.rand]
version = "0.8"
[dependencies.rustls]
version = "0.23"
features = [
"std",
"tls12",
"ring",
]
optional = true
default-features = false
[dependencies.rustls-pemfile]
version = "2.2"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha1]
version = "0.10"
[dependencies.sha2]
version = "0.10"
[dependencies.sqlmodel-console]
version = "0.1.1"
optional = true
[dependencies.sqlmodel-core]
version = "0.1.1"
[dependencies.webpki-roots]
version = "0.26"
optional = true
[dev-dependencies]
[lints.clippy]
bool_to_int_with_if = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
format_push_string = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
should_implement_trait = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unused_self = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "warn"