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",
|
2020-03-02 04:07:59 +00:00
|
|
|
"sqlx-test",
|
2020-02-01 17:56:08 +00:00
|
|
|
"examples/listen-postgres",
|
2020-01-27 10:17:58 +00:00
|
|
|
"examples/realworld-postgres",
|
|
|
|
"examples/todos-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"
|
2020-03-18 23:58:42 +00:00
|
|
|
version = "0.3.0-alpha.1"
|
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-12-28 08:36:37 +00:00
|
|
|
description = "🧰 The Rust SQL Toolkit."
|
2019-06-06 13:02:55 +00:00
|
|
|
edition = "2018"
|
2020-01-04 09:37:37 +00:00
|
|
|
keywords = [ "database", "sql", "async", "await" ]
|
|
|
|
categories = [ "database", "asynchronous" ]
|
2019-11-20 17:05:21 +00:00
|
|
|
authors = [
|
2019-12-28 08:36:37 +00:00
|
|
|
"Ryan Leckey <leckey.ryan@gmail.com>", # ryan@launchbadge.com
|
|
|
|
"Austin Bonander <austin.bonander@gmail.com>", # austin@launchbadge.com
|
|
|
|
"Zachery Gyurkovitz <zgyurkovitz@gmail.com>", # zach@launchbadge.com
|
|
|
|
"Daniel Akhterov <akhterovd@gmail.com>", # daniel@launchbadge.com
|
2019-11-20 17:05:21 +00:00
|
|
|
]
|
2019-06-06 13:02:55 +00:00
|
|
|
|
2020-01-11 11:30:03 +00:00
|
|
|
[package.metadata.docs.rs]
|
2020-01-15 09:27:07 +00:00
|
|
|
features = [ "tls", "postgres", "mysql", "uuid", "chrono" ]
|
2020-01-22 21:10:10 +00:00
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
2020-01-11 11:30:03 +00:00
|
|
|
|
2019-08-07 06:20:50 +00:00
|
|
|
[features]
|
2020-01-15 09:17:33 +00:00
|
|
|
default = [ "macros", "runtime-async-std" ]
|
2020-01-14 20:57:55 +00:00
|
|
|
macros = [ "sqlx-macros" ]
|
2020-01-15 09:17:33 +00:00
|
|
|
tls = [ "sqlx-core/tls" ]
|
|
|
|
|
|
|
|
# runtime
|
2020-01-15 09:54:46 +00:00
|
|
|
runtime-async-std = [ "sqlx-core/runtime-async-std", "sqlx-macros/runtime-async-std" ]
|
|
|
|
runtime-tokio = [ "sqlx-core/runtime-tokio", "sqlx-macros/runtime-tokio" ]
|
2019-12-28 01:31:01 +00:00
|
|
|
|
|
|
|
# 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" ]
|
2020-03-11 16:21:15 +00:00
|
|
|
sqlite = [ "sqlx-core/sqlite", "sqlx-macros/sqlite" ]
|
2019-12-28 01:31:01 +00:00
|
|
|
|
|
|
|
# types
|
2020-03-17 23:43:50 +00:00
|
|
|
bigdecimal = ["sqlx-core/bigdecimal_bigint", "sqlx-macros/bigdecimal"]
|
2019-12-28 01:31:01 +00:00
|
|
|
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]
|
2020-03-18 23:58:42 +00:00
|
|
|
sqlx-core = { version = "0.3.0-alpha.1", path = "sqlx-core", default-features = false }
|
|
|
|
sqlx-macros = { version = "0.3.0-alpha.1", path = "sqlx-macros", default-features = false, optional = true }
|
2019-07-26 16:20:09 +00:00
|
|
|
|
2019-08-28 18:01:55 +00:00
|
|
|
[dev-dependencies]
|
2019-12-28 12:02:52 +00:00
|
|
|
anyhow = "1.0.26"
|
2020-03-02 08:29:52 +00:00
|
|
|
futures = "0.3.4"
|
2020-01-17 02:29:58 +00:00
|
|
|
env_logger = "0.7.1"
|
2020-03-02 08:29:52 +00:00
|
|
|
async-std = { version = "1.5.0", features = [ "attributes" ] }
|
|
|
|
tokio = { version = "0.2.13", features = [ "full" ] }
|
2019-12-03 23:31:49 +00:00
|
|
|
dotenv = "0.15.0"
|
2020-03-11 20:24:05 +00:00
|
|
|
trybuild = "1.0.24"
|
2020-03-02 04:07:59 +00:00
|
|
|
sqlx-test = { path = "./sqlx-test" }
|
2020-03-02 08:29:52 +00:00
|
|
|
paste = "0.1.7"
|
2019-08-28 18:01:55 +00:00
|
|
|
|
2019-11-04 22:23:00 +00:00
|
|
|
[[test]]
|
2019-12-21 01:51:06 +00:00
|
|
|
name = "postgres-macros"
|
|
|
|
required-features = [ "postgres", "macros" ]
|
2019-11-21 18:18:42 +00:00
|
|
|
|
2020-01-29 02:56:25 +00:00
|
|
|
[[test]]
|
|
|
|
name = "mysql-macros"
|
|
|
|
required-features = [ "mysql", "macros" ]
|
|
|
|
|
2020-03-11 18:01:17 +00:00
|
|
|
[[test]]
|
|
|
|
name = "sqlite"
|
|
|
|
required-features = [ "sqlite" ]
|
|
|
|
|
2020-03-17 04:05:48 +00:00
|
|
|
[[test]]
|
|
|
|
name = "sqlite-macros"
|
|
|
|
required-features = [ "sqlite" ]
|
|
|
|
|
2020-03-13 09:21:29 +00:00
|
|
|
[[test]]
|
|
|
|
name = "sqlite-raw"
|
|
|
|
required-features = [ "sqlite" ]
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "sqlite-types"
|
|
|
|
required-features = [ "sqlite" ]
|
|
|
|
|
2019-12-28 01:31:01 +00:00
|
|
|
[[test]]
|
|
|
|
name = "mysql"
|
|
|
|
required-features = [ "mysql" ]
|
|
|
|
|
2020-03-11 08:40:57 +00:00
|
|
|
[[test]]
|
|
|
|
name = "mysql-raw"
|
|
|
|
required-features = [ "mysql" ]
|
|
|
|
|
2020-03-18 02:26:59 +00:00
|
|
|
[[test]]
|
|
|
|
name = "mysql-derives"
|
|
|
|
required-features = [ "mysql", "macros" ]
|
|
|
|
|
2019-12-28 01:31:01 +00:00
|
|
|
[[test]]
|
|
|
|
name = "postgres"
|
|
|
|
required-features = [ "postgres" ]
|
|
|
|
|
2020-03-01 10:01:00 +00:00
|
|
|
[[test]]
|
2020-03-02 04:07:59 +00:00
|
|
|
name = "postgres-raw"
|
2020-03-01 10:01:00 +00:00
|
|
|
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
|
|
|
|
2020-03-18 02:26:59 +00:00
|
|
|
[[test]]
|
|
|
|
name = "postgres-derives"
|
|
|
|
required-features = [ "postgres", "macros" ]
|
|
|
|
|
2019-12-03 06:14:41 +00:00
|
|
|
[[test]]
|
|
|
|
name = "mysql-types"
|
2019-12-18 08:44:10 +00:00
|
|
|
required-features = [ "mysql" ]
|