sqlx/Cargo.toml

51 lines
1.2 KiB
TOML

# This is the sqlx facade crate
[workspace]
members = [
".",
"sqlx-core",
"sqlx-macros",
"examples/tide"
]
[package]
name = "sqlx"
version = "0.1.1-pre"
license = "MIT OR Apache-2.0"
description = "The Rust SQL Toolkit."
edition = "2018"
authors = [
"Ryan Leckey <leckey.ryan@gmail.com>",
"Austin Bonander <austin.bonander@gmail.com>"
]
[features]
default = ["macros"]
unstable = ["sqlx-core/unstable"]
postgres = ["sqlx-core/postgres", "sqlx-macros/postgres"]
mariadb = ["sqlx-core/mariadb", "sqlx-macros/mariadb"]
macros = ["sqlx-macros", "proc-macro-hack"]
uuid = ["sqlx-core/uuid", "sqlx-macros/uuid"]
[dependencies]
sqlx-core = { version = "0.1.0-pre", path = "sqlx-core" }
sqlx-macros = { version = "0.1.0-pre", path = "sqlx-macros", optional = true }
proc-macro-hack = { version = "0.5", optional = true }
[dev-dependencies]
async-std = { version = "1.1.0", features = ["attributes"] }
matches = "0.1.8"
criterion = "0.3.0"
[[test]]
name = "sql-macro-test"
required-features = ["postgres", "uuid", "macros"]
[[test]]
name = "postgres-types"
required-features = ["postgres"]
[[bench]]
name = "postgres_protocol"
required-features = ["postgres", "unstable"]
harness = false