252 lines
4.7 KiB
TOML
252 lines
4.7 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
rust-version = "1.94.0"
|
|
name = "sqlx-macros-core"
|
|
version = "0.9.0"
|
|
authors = [
|
|
"Ryan Leckey <leckey.ryan@gmail.com>",
|
|
"Austin Bonander <austin.bonander@gmail.com>",
|
|
"Chloe Ross <orangesnowfox@gmail.com>",
|
|
"Daniel Akhterov <akhterovd@gmail.com>",
|
|
]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Macro support core for SQLx, the Rust SQL toolkit. Not intended to be used directly."
|
|
readme = false
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/launchbadge/sqlx"
|
|
|
|
[features]
|
|
_rt-async-global-executor = [
|
|
"async-global-executor",
|
|
"sqlx-core/_rt-async-global-executor",
|
|
]
|
|
_rt-async-std = [
|
|
"async-std",
|
|
"sqlx-core/_rt-async-std",
|
|
]
|
|
_rt-smol = [
|
|
"smol",
|
|
"sqlx-core/_rt-smol",
|
|
]
|
|
_rt-tokio = [
|
|
"tokio",
|
|
"sqlx-core/_rt-tokio",
|
|
]
|
|
_sqlite = []
|
|
_tls-native-tls = ["sqlx-core/_tls-native-tls"]
|
|
_tls-rustls-aws-lc-rs = ["sqlx-core/_tls-rustls-aws-lc-rs"]
|
|
_tls-rustls-ring-native-roots = ["sqlx-core/_tls-rustls-ring-native-roots"]
|
|
_tls-rustls-ring-webpki = ["sqlx-core/_tls-rustls-ring-webpki"]
|
|
bigdecimal = [
|
|
"sqlx-core/bigdecimal",
|
|
"sqlx-mysql?/bigdecimal",
|
|
"sqlx-postgres?/bigdecimal",
|
|
]
|
|
bit-vec = [
|
|
"sqlx-core/bit-vec",
|
|
"sqlx-postgres?/bit-vec",
|
|
]
|
|
chrono = [
|
|
"sqlx-core/chrono",
|
|
"sqlx-mysql?/chrono",
|
|
"sqlx-postgres?/chrono",
|
|
"sqlx-sqlite?/chrono",
|
|
]
|
|
default = []
|
|
derive = []
|
|
ipnet = [
|
|
"sqlx-core/ipnet",
|
|
"sqlx-postgres?/ipnet",
|
|
]
|
|
ipnetwork = [
|
|
"sqlx-core/ipnetwork",
|
|
"sqlx-postgres?/ipnetwork",
|
|
]
|
|
json = [
|
|
"sqlx-core/json",
|
|
"sqlx-mysql?/json",
|
|
"sqlx-postgres?/json",
|
|
"sqlx-sqlite?/json",
|
|
]
|
|
mac_address = [
|
|
"sqlx-core/mac_address",
|
|
"sqlx-postgres?/mac_address",
|
|
]
|
|
macros = ["thiserror"]
|
|
migrate = ["sqlx-core/migrate"]
|
|
mysql = ["sqlx-mysql"]
|
|
mysql-rsa = [
|
|
"mysql",
|
|
"sqlx-mysql/rsa",
|
|
]
|
|
postgres = ["sqlx-postgres"]
|
|
rust_decimal = [
|
|
"sqlx-core/rust_decimal",
|
|
"sqlx-mysql?/rust_decimal",
|
|
"sqlx-postgres?/rust_decimal",
|
|
]
|
|
sqlite = [
|
|
"_sqlite",
|
|
"sqlx-sqlite/bundled",
|
|
]
|
|
sqlite-load-extension = ["sqlx-sqlite/load-extension"]
|
|
sqlite-unbundled = [
|
|
"_sqlite",
|
|
"sqlx-sqlite/unbundled",
|
|
]
|
|
sqlx-toml = [
|
|
"sqlx-core/sqlx-toml",
|
|
"sqlx-sqlite?/sqlx-toml",
|
|
]
|
|
time = [
|
|
"sqlx-core/time",
|
|
"sqlx-mysql?/time",
|
|
"sqlx-postgres?/time",
|
|
"sqlx-sqlite?/time",
|
|
]
|
|
uuid = [
|
|
"sqlx-core/uuid",
|
|
"sqlx-mysql?/uuid",
|
|
"sqlx-postgres?/uuid",
|
|
"sqlx-sqlite?/uuid",
|
|
]
|
|
|
|
[lib]
|
|
name = "sqlx_macros_core"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies.async-global-executor]
|
|
version = "3.1"
|
|
features = ["async-io"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.async-std]
|
|
version = "1.13"
|
|
optional = true
|
|
|
|
[dependencies.cfg-if]
|
|
version = "1.0.0"
|
|
|
|
[dependencies.dotenvy]
|
|
version = "0.15.7"
|
|
default-features = false
|
|
|
|
[dependencies.either]
|
|
version = "1.6.1"
|
|
|
|
[dependencies.heck]
|
|
version = "0.5"
|
|
|
|
[dependencies.hex]
|
|
version = "0.4.3"
|
|
|
|
[dependencies.proc-macro2]
|
|
version = "1.0.83"
|
|
default-features = false
|
|
|
|
[dependencies.quote]
|
|
version = "1.0.35"
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.219"
|
|
features = ["derive"]
|
|
|
|
[dependencies.serde_json]
|
|
version = "1.0.142"
|
|
|
|
[dependencies.sha2]
|
|
version = "0.10.0"
|
|
|
|
[dependencies.smol]
|
|
version = "2.0"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.sqlx-core]
|
|
version = "=0.9.0"
|
|
features = ["offline"]
|
|
|
|
[dependencies.sqlx-mysql]
|
|
version = "=0.9.0"
|
|
features = [
|
|
"offline",
|
|
"migrate",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.sqlx-postgres]
|
|
version = "=0.9.0"
|
|
features = [
|
|
"offline",
|
|
"migrate",
|
|
]
|
|
optional = true
|
|
|
|
[dependencies.sqlx-sqlite]
|
|
version = "=0.9.0"
|
|
features = [
|
|
"offline",
|
|
"migrate",
|
|
]
|
|
optional = true
|
|
|
|
[dependencies.syn]
|
|
version = "2.0.87"
|
|
features = [
|
|
"full",
|
|
"derive",
|
|
"parsing",
|
|
"printing",
|
|
"clone-impls",
|
|
]
|
|
default-features = false
|
|
|
|
[dependencies.thiserror]
|
|
version = "2.0.18"
|
|
features = ["std"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.tokio]
|
|
version = "1.25.0"
|
|
features = [
|
|
"time",
|
|
"net",
|
|
"sync",
|
|
"fs",
|
|
"io-util",
|
|
"rt",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.url]
|
|
version = "2.2.2"
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = [
|
|
"cfg(sqlx_macros_unstable)",
|
|
"cfg(procmacro2_semver_exempt)",
|
|
]
|