sqlx/sqlx-bench/Cargo.toml
2024-08-23 23:39:32 -07:00

47 lines
936 B
TOML

[package]
name = "sqlx-bench"
version = "0.1.0"
authors = ["Austin Bonander <austin@launchbadge.com>"]
edition = "2021"
publish = false
[features]
runtime-actix-native-tls = ["runtime-tokio-native-tls"]
runtime-async-std-native-tls = [
"sqlx/runtime-async-std-native-tls",
]
runtime-tokio-native-tls = [
"sqlx/runtime-tokio-native-tls",
]
runtime-actix-rustls = ["runtime-tokio-rustls"]
runtime-async-std-rustls = [
"sqlx/runtime-async-std-rustls",
]
runtime-tokio-rustls = [
"sqlx/runtime-tokio-rustls",
]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]
[dependencies]
criterion = "0.5.1"
dotenvy = "0.15.0"
once_cell = "1.4"
sqlx = { workspace = true, default-features = false, features = ["macros"] }
chrono = "0.4.19"
[[bench]]
name = "pg_pool"
harness = false
required-features = ["postgres"]
[[bench]]
name = "sqlite_fetch_all"
harness = false
required-features = ["sqlite"]
[lints]
workspace = true