sqlx/sqlx-macros/Cargo.toml

50 lines
1.8 KiB
TOML
Raw Normal View History

2019-11-01 05:01:42 +00:00
[package]
name = "sqlx-macros"
2020-05-06 10:27:47 +00:00
version = "0.3.5"
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
"Zachery Gyurkovitz <zgyurkovitz@gmail.com>", # zach@launchbadge.com
"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
[features]
default = [ "runtime-async-std" ]
2019-12-28 01:31:01 +00:00
2020-01-15 09:54:46 +00:00
runtime-async-std = [ "sqlx/runtime-async-std", "async-std" ]
runtime-tokio = [ "sqlx/runtime-tokio", "tokio", "lazy_static" ]
2020-01-15 09:54:46 +00:00
2019-12-28 01:31:01 +00:00
# database
mysql = [ "sqlx/mysql" ]
postgres = [ "sqlx/postgres" ]
2020-03-11 16:21:15 +00:00
sqlite = [ "sqlx/sqlite" ]
2019-12-28 01:31:01 +00:00
# type
bigdecimal = [ "sqlx/bigdecimal" ]
2019-12-28 01:31:01 +00:00
chrono = [ "sqlx/chrono" ]
2020-02-29 19:38:48 +00:00
time = [ "sqlx/time" ]
2020-03-20 02:01:10 +00:00
ipnetwork = [ "sqlx/ipnetwork" ]
2019-12-28 01:31:01 +00:00
uuid = [ "sqlx/uuid" ]
json = [ "sqlx/json", "serde_json" ]
2019-12-28 01:31:01 +00:00
[dependencies]
async-std = { version = "1.5.0", default-features = false, optional = true }
tokio = { version = "0.2.13", default-features = false, features = [ "rt-threaded" ], optional = true }
2019-12-28 01:31:01 +00:00
dotenv = { version = "0.15.0", default-features = false }
futures = { version = "0.3.4", default-features = false, features = [ "executor" ] }
heck = "0.3"
proc-macro2 = { version = "1.0.9", default-features = false }
2020-05-06 10:27:47 +00:00
sqlx = { version = "0.3.5", default-features = false, path = "../sqlx-core", package = "sqlx-core" }
serde_json = { version = "1.0", features = [ "raw_value" ], optional = true }
syn = { version = "1.0.16", default-features = false, features = [ "full" ] }
2019-12-28 01:31:01 +00:00
quote = { version = "1.0.2", default-features = false }
2020-01-17 02:29:58 +00:00
url = { version = "2.1.1", default-features = false }
lazy_static = { version = "1.4.0", optional = true }