mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 14:34:19 +00:00
3946cc82db
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
44 lines
910 B
TOML
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"]
|