sqlx/sqlx-bench/Cargo.toml
iamjpotts 3946cc82db
chore(deps): Upgrade criterion to 0.5.1 (#3010)
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
2024-01-25 23:30:14 -08:00

44 lines
910 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"]