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-12-28 01:31:01 +00:00
|
|
|
"examples/realworld-postgres"
|
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-12-28 01:31:01 +00:00
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/launchbadge/sqlx"
|
|
|
|
documentation = "https://docs.rs/sqlx"
|
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" ]
|
2019-12-28 01:31:01 +00:00
|
|
|
macros = [ "sqlx-macros", "proc-macro-hack" ]
|
|
|
|
|
|
|
|
# database
|
2019-11-28 06:33:40 +00:00
|
|
|
postgres = [ "sqlx-core/postgres", "sqlx-macros/postgres" ]
|
2019-12-18 08:44:10 +00:00
|
|
|
mysql = [ "sqlx-core/mysql", "sqlx-macros/mysql" ]
|
2019-12-28 01:31:01 +00:00
|
|
|
|
|
|
|
# types
|
|
|
|
chrono = [ "sqlx-core/chrono", "sqlx-macros/chrono" ]
|
2019-11-28 06:33:40 +00:00
|
|
|
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-12-03 07:26:44 +00:00
|
|
|
proc-macro-hack = { version = "0.5.11", optional = true }
|
2019-07-26 16:20:09 +00:00
|
|
|
|
2019-08-28 18:01:55 +00:00
|
|
|
[dev-dependencies]
|
2019-12-28 01:31:01 +00:00
|
|
|
anyhow = "1.0.25"
|
|
|
|
futures = "0.3.1"
|
2019-12-03 07:26:44 +00:00
|
|
|
async-std = { version = "1.2.0", features = [ "attributes" ] }
|
2019-12-03 23:31:49 +00:00
|
|
|
dotenv = "0.15.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-12-28 01:31:01 +00:00
|
|
|
[[test]]
|
|
|
|
name = "mysql"
|
|
|
|
required-features = [ "mysql" ]
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "postgres"
|
|
|
|
required-features = [ "postgres" ]
|
|
|
|
|
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-12-03 06:14:41 +00:00
|
|
|
[[test]]
|
|
|
|
name = "mysql-types"
|
2019-12-18 08:44:10 +00:00
|
|
|
required-features = [ "mysql" ]
|