2019-11-21 23:29:40 +00:00
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
".",
|
2019-11-22 10:30:16 +00:00
|
|
|
"sqlx-core",
|
2019-11-21 23:29:40 +00:00
|
|
|
"sqlx-macros",
|
2019-11-27 23:23:00 +00:00
|
|
|
"examples/realworld"
|
2019-11-21 23:29:40 +00:00
|
|
|
]
|
|
|
|
|
2019-06-06 13:02:55 +00:00
|
|
|
[package]
|
2019-06-23 03:54:43 +00:00
|
|
|
name = "sqlx"
|
2019-08-28 15:08:24 +00:00
|
|
|
version = "0.1.1-pre"
|
2019-06-06 13:02:55 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2019-09-11 06:31:12 +00:00
|
|
|
description = "The Rust SQL Toolkit."
|
2019-06-06 13:02:55 +00:00
|
|
|
edition = "2018"
|
2019-11-20 17:05:21 +00:00
|
|
|
authors = [
|
2019-11-22 10:30:16 +00:00
|
|
|
"Ryan Leckey <leckey.ryan@gmail.com>",
|
|
|
|
"Austin Bonander <austin.bonander@gmail.com>"
|
2019-11-20 17:05:21 +00:00
|
|
|
]
|
2019-06-06 13:02:55 +00:00
|
|
|
|
2019-08-07 06:20:50 +00:00
|
|
|
[features]
|
2019-11-28 06:33:40 +00:00
|
|
|
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" ]
|
2019-08-07 06:20:50 +00:00
|
|
|
|
2019-06-06 13:02:55 +00:00
|
|
|
[dependencies]
|
2019-11-22 11:52:03 +00:00
|
|
|
sqlx-core = { version = "0.1.0-pre", path = "sqlx-core" }
|
|
|
|
sqlx-macros = { version = "0.1.0-pre", path = "sqlx-macros", optional = true }
|
2019-11-22 10:30:16 +00:00
|
|
|
proc-macro-hack = { version = "0.5", optional = true }
|
2019-07-26 16:20:09 +00:00
|
|
|
|
2019-08-28 18:01:55 +00:00
|
|
|
[dev-dependencies]
|
2019-11-28 06:33:40 +00:00
|
|
|
async-std = { version = "1.1.0", features = [ "attributes" ] }
|
2019-08-28 18:01:55 +00:00
|
|
|
matches = "0.1.8"
|
2019-11-21 23:59:38 +00:00
|
|
|
criterion = "0.3.0"
|
2019-08-28 18:01:55 +00:00
|
|
|
|
2019-11-04 22:23:00 +00:00
|
|
|
[[test]]
|
2019-11-28 06:33:40 +00:00
|
|
|
name = "macros"
|
|
|
|
required-features = [ "postgres", "uuid", "macros" ]
|
2019-11-21 18:18:42 +00:00
|
|
|
|
2019-11-23 09:02:56 +00:00
|
|
|
[[test]]
|
|
|
|
name = "postgres-types"
|
2019-11-28 06:33:40 +00:00
|
|
|
required-features = [ "postgres" ]
|
2019-11-23 09:02:56 +00:00
|
|
|
|
2019-11-21 18:18:42 +00:00
|
|
|
[[bench]]
|
2019-11-28 06:33:40 +00:00
|
|
|
name = "postgres-protocol"
|
|
|
|
required-features = [ "postgres", "unstable" ]
|
2019-11-21 18:18:42 +00:00
|
|
|
harness = false
|