# 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" name = "sqlx-core" version = "0.8.2" authors = [ "Ryan Leckey ", "Austin Bonander ", "Chloe Ross ", "Daniel Akhterov ", ] description = "Core of SQLx, the rust SQL toolkit. Not intended to be used directly." license = "MIT OR Apache-2.0" repository = "https://github.com/launchbadge/sqlx" [package.metadata.docs.rs] features = ["offline"] [dependencies.async-io] version = "1.9.0" optional = true [dependencies.async-std] version = "1.12" optional = true [dependencies.atoi] version = "2.0" [dependencies.bigdecimal] version = "0.4.0" optional = true [dependencies.bit-vec] version = "0.6.3" optional = true [dependencies.bstr] version = "1.0" features = ["std"] optional = true default-features = false [dependencies.byteorder] version = "1.4.3" features = ["std"] default-features = false [dependencies.bytes] version = "1.1.0" [dependencies.chrono] version = "0.4.34" features = ["clock"] optional = true default-features = false [dependencies.crc] version = "3" optional = true [dependencies.crossbeam-queue] version = "0.3.2" [dependencies.digest] version = "0.10.0" features = ["std"] optional = true default-features = false [dependencies.either] version = "1.6.1" [dependencies.encoding_rs] version = "0.8.30" optional = true [dependencies.event-listener] version = "5.2.0" [dependencies.futures-channel] version = "0.3.19" features = [ "sink", "alloc", "std", ] default-features = false [dependencies.futures-core] version = "0.3.19" default-features = false [dependencies.futures-intrusive] version = "0.5.0" [dependencies.futures-io] version = "0.3.24" [dependencies.futures-util] version = "0.3.19" features = [ "alloc", "sink", "io", ] default-features = false [dependencies.hashbrown] version = "0.14.5" [dependencies.hashlink] version = "0.9.0" [dependencies.hex] version = "0.4.3" [dependencies.indexmap] version = "2.0" [dependencies.ipnetwork] version = "0.20.0" optional = true [dependencies.log] version = "0.4.18" default-features = false [dependencies.mac_address] version = "1.1.5" optional = true [dependencies.memchr] version = "2.4.1" default-features = false [dependencies.native-tls] version = "0.2.10" optional = true [dependencies.num-bigint] version = "0.4.0" features = ["std"] optional = true default-features = false [dependencies.once_cell] version = "1.9.0" [dependencies.paste] version = "1.0.6" [dependencies.percent-encoding] version = "2.1.0" [dependencies.regex] version = "1.5.5" optional = true [dependencies.rust_decimal] version = "1.26.1" features = ["std"] optional = true default-features = false [dependencies.rustls] version = "0.23.11" features = [ "std", "tls12", ] optional = true default-features = false [dependencies.rustls-pemfile] version = "2" optional = true [dependencies.serde] version = "1.0.132" features = [ "derive", "rc", ] optional = true [dependencies.serde_json] version = "1.0.73" features = ["raw_value"] optional = true [dependencies.sha1] version = "0.10.1" optional = true default-features = false [dependencies.sha2] version = "0.10.0" optional = true default-features = false [dependencies.smallvec] version = "1.7.0" [dependencies.sqlformat] version = "0.2.0" [dependencies.thiserror] version = "1.0.30" [dependencies.time] version = "0.3.36" features = [ "formatting", "parsing", "macros", ] optional = true [dependencies.tokio] version = "1" features = [ "time", "net", "sync", "fs", "io-util", "rt", ] optional = true default-features = false [dependencies.tokio-stream] version = "0.1.8" features = ["fs"] optional = true [dependencies.tracing] version = "0.1.37" features = ["log"] [dependencies.url] version = "2.2.2" default-features = false [dependencies.uuid] version = "1.1.2" optional = true [dependencies.webpki-roots] version = "0.26" optional = true [dev-dependencies.sqlx] version = "=0.8.2" features = [ "postgres", "sqlite", "mysql", "migrate", "macros", "time", "uuid", ] default-features = false [dev-dependencies.tokio] version = "1" features = ["rt"] [features] _rt-async-std = [ "async-std", "async-io", ] _rt-tokio = [ "tokio", "tokio-stream", ] _tls-native-tls = ["native-tls"] _tls-none = [] _tls-rustls = [ "rustls", "rustls-pemfile", "webpki-roots", ] _tls-rustls-aws-lc-rs = [ "_tls-rustls", "rustls/aws-lc-rs", ] _tls-rustls-ring = [ "_tls-rustls", "rustls/ring", ] any = [] default = [] json = [ "serde", "serde_json", ] migrate = [ "sha2", "crc", ] offline = [ "serde", "either/serde", ] [lints.clippy] cast_possible_truncation = "deny" cast_possible_wrap = "deny" cast_sign_loss = "deny" disallowed_methods = "deny"