2019-11-01 05:01:42 +00:00
|
|
|
[package]
|
|
|
|
name = "sqlx-macros"
|
2020-07-27 08:43:02 +00:00
|
|
|
version = "0.4.0-beta.1"
|
2019-12-28 08:25:04 +00:00
|
|
|
repository = "https://github.com/launchbadge/sqlx"
|
|
|
|
description = "Macros for SQLx, the rust SQL toolkit. Not intended to be used directly."
|
2019-12-28 10:44:32 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2019-11-01 05:01:42 +00:00
|
|
|
edition = "2018"
|
2019-12-28 01:31:01 +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
|
2020-07-28 17:45:12 +00:00
|
|
|
"Chloe Ross <orangesnowfox@gmail.com>", # chloe@launchbadge.com
|
2019-12-28 08:36:37 +00:00
|
|
|
"Daniel Akhterov <akhterovd@gmail.com>", # daniel@launchbadge.com
|
2019-12-28 01:31:01 +00:00
|
|
|
]
|
2019-11-01 05:01:42 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
proc-macro = true
|
|
|
|
|
2019-11-04 22:23:00 +00:00
|
|
|
[features]
|
2020-10-20 10:29:24 +00:00
|
|
|
default = [ "runtime-async-std-native-tls", "migrate" ]
|
2020-07-23 18:22:50 +00:00
|
|
|
migrate = [ "sha2" ]
|
2019-12-28 01:31:01 +00:00
|
|
|
|
2020-06-01 12:34:52 +00:00
|
|
|
# runtimes
|
2020-10-20 10:29:24 +00:00
|
|
|
runtime-actix-native-tls = [ "sqlx-core/runtime-actix-native-tls", "sqlx-rt/runtime-actix-native-tls", "_rt-actix" ]
|
|
|
|
runtime-async-std-native-tls = [ "sqlx-core/runtime-async-std-native-tls", "sqlx-rt/runtime-async-std-native-tls", "_rt-async-std" ]
|
|
|
|
runtime-tokio-native-tls = [ "sqlx-core/runtime-tokio-native-tls", "sqlx-rt/runtime-tokio-native-tls", "_rt-tokio" ]
|
|
|
|
|
|
|
|
# for conditional compilation
|
|
|
|
_rt-actix = []
|
|
|
|
_rt-async-std = []
|
|
|
|
_rt-tokio = []
|
2020-04-14 06:00:19 +00:00
|
|
|
|
|
|
|
# offline building support
|
|
|
|
offline = ["sqlx-core/offline", "serde", "serde_json", "hex", "sha2"]
|
2020-01-15 09:54:46 +00:00
|
|
|
|
2019-12-28 01:31:01 +00:00
|
|
|
# database
|
2020-04-14 06:00:19 +00:00
|
|
|
mysql = [ "sqlx-core/mysql" ]
|
|
|
|
postgres = [ "sqlx-core/postgres" ]
|
|
|
|
sqlite = [ "sqlx-core/sqlite" ]
|
2020-06-07 23:29:46 +00:00
|
|
|
mssql = [ "sqlx-core/mssql" ]
|
2019-12-28 01:31:01 +00:00
|
|
|
|
|
|
|
# type
|
2020-04-14 06:00:19 +00:00
|
|
|
bigdecimal = [ "sqlx-core/bigdecimal" ]
|
2020-07-09 09:27:53 +00:00
|
|
|
decimal = [ "sqlx-core/decimal" ]
|
2020-04-14 06:00:19 +00:00
|
|
|
chrono = [ "sqlx-core/chrono" ]
|
|
|
|
time = [ "sqlx-core/time" ]
|
|
|
|
ipnetwork = [ "sqlx-core/ipnetwork" ]
|
|
|
|
uuid = [ "sqlx-core/uuid" ]
|
2020-07-06 17:39:33 +00:00
|
|
|
bit-vec = [ "sqlx-core/bit-vec" ]
|
2020-04-14 06:00:19 +00:00
|
|
|
json = [ "sqlx-core/json", "serde_json" ]
|
2019-12-28 01:31:01 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
dotenv = { version = "0.15.0", default-features = false }
|
2020-03-02 08:29:52 +00:00
|
|
|
futures = { version = "0.3.4", default-features = false, features = [ "executor" ] }
|
2020-04-14 06:00:19 +00:00
|
|
|
hex = { version = "0.4.2", optional = true }
|
2020-06-07 23:29:46 +00:00
|
|
|
heck = "0.3.1"
|
2020-07-05 10:48:36 +00:00
|
|
|
either = "1.5.3"
|
2020-03-02 08:29:52 +00:00
|
|
|
proc-macro2 = { version = "1.0.9", default-features = false }
|
2020-07-27 08:43:02 +00:00
|
|
|
sqlx-core = { version = "0.4.0-beta.1", default-features = false, path = "../sqlx-core" }
|
|
|
|
sqlx-rt = { version = "0.1.1", default-features = false, path = "../sqlx-rt" }
|
2020-06-07 23:29:46 +00:00
|
|
|
serde = { version = "1.0.111", optional = true }
|
|
|
|
serde_json = { version = "1.0.30", features = [ "preserve_order" ], optional = true }
|
2020-07-05 10:48:36 +00:00
|
|
|
sha2 = { version = "0.9.1", optional = true }
|
2020-06-07 23:29:46 +00:00
|
|
|
syn = { version = "1.0.30", default-features = false, features = [ "full" ] }
|
|
|
|
quote = { version = "1.0.6", default-features = false }
|
2020-01-17 02:29:58 +00:00
|
|
|
url = { version = "2.1.1", default-features = false }
|