mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 14:34:19 +00:00
macros: remove now unused once-cell dep and make lazy_static optional
This commit is contained in:
parent
2562c3518c
commit
1fd3976d65
2 changed files with 2 additions and 4 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -1421,7 +1421,6 @@ dependencies = [
|
|||
"dotenv 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"once_cell 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"proc-macro2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"sqlx-core 0.2.0",
|
||||
|
|
|
@ -19,7 +19,7 @@ proc-macro = true
|
|||
default = []
|
||||
|
||||
runtime-async-std = [ "sqlx/runtime-async-std", "async-std" ]
|
||||
runtime-tokio = [ "sqlx/runtime-tokio", "tokio", "once_cell" ]
|
||||
runtime-tokio = [ "sqlx/runtime-tokio", "tokio", "lazy_static" ]
|
||||
|
||||
# database
|
||||
mysql = [ "sqlx/mysql" ]
|
||||
|
@ -32,7 +32,6 @@ uuid = [ "sqlx/uuid" ]
|
|||
[dependencies]
|
||||
async-std = { version = "1.4.0", default-features = false, optional = true }
|
||||
tokio = { version = "0.2", optional = true }
|
||||
once_cell = { version = "1.3", optional = true }
|
||||
dotenv = { version = "0.15.0", default-features = false }
|
||||
futures = { version = "0.3.1", default-features = false, features = ["executor"] }
|
||||
proc-macro2 = { version = "1.0.6", default-features = false }
|
||||
|
@ -40,4 +39,4 @@ sqlx = { version = "0.2.0", default-features = false, path = "../sqlx-core", pac
|
|||
syn = { version = "1.0.11", default-features = false, features = [ "full" ] }
|
||||
quote = { version = "1.0.2", default-features = false }
|
||||
url = { version = "2.1.0", default-features = false }
|
||||
lazy_static = "1.4.0"
|
||||
lazy_static = { version = "1.4.0", optional = true }
|
||||
|
|
Loading…
Reference in a new issue