Debian Codegraph @

Cargo.toml.orig

raw
1 [package]
2 name = "sqlx-core"
3 description = "Core of SQLx, the rust SQL toolkit. Not intended to be used directly."
4 version.workspace = true
5 license.workspace = true
6 edition.workspace = true
7 authors.workspace = true
8 repository.workspace = true
9
10 [package.metadata.docs.rs]
11 features = ["offline"]
12
13 [features]
14 default = []
15 migrate = ["sha2", "crc"]
16
17 any = []
18
19 json = ["serde", "serde_json"]
20
21 # for conditional compilation
22 _rt-async-std = ["async-std", "async-io"]
23 _rt-tokio = ["tokio", "tokio-stream"]
24 _tls-native-tls = ["native-tls"]
25 _tls-rustls-aws-lc-rs = ["_tls-rustls", "rustls/aws-lc-rs", "webpki-roots"]
26 _tls-rustls-ring-webpki = ["_tls-rustls", "rustls/ring", "webpki-roots"]
27 _tls-rustls-ring-native-roots = ["_tls-rustls", "rustls/ring", "rustls-native-certs"]
28 _tls-rustls = ["rustls", "rustls-pemfile"]
29 _tls-none = []
30
31 # support offline/decoupled building (enables serialization of `Describe`)
32 offline = ["serde", "either/serde"]
33
34 [dependencies]
35 # Runtimes
36 async-std = { workspace = true, optional = true }
37 tokio = { workspace = true, optional = true }
38
39 # TLS
40 native-tls = { version = "0.2.10", optional = true }
41
42 rustls = { version = "0.23.11", default-features = false, features = ["std", "tls12"], optional = true }
43 rustls-pemfile = { version = "2", optional = true }
44 webpki-roots = { version = "0.26", optional = true }
45 rustls-native-certs = { version = "0.8.0", optional = true }
46
47 # Type Integrations
48 bit-vec = { workspace = true, optional = true }
49 bigdecimal = { workspace = true, optional = true }
50 rust_decimal = { workspace = true, optional = true }
51 time = { workspace = true, optional = true }
52 ipnetwork = { workspace = true, optional = true }
53 mac_address = { workspace = true, optional = true }
54 uuid = { workspace = true, optional = true }
55
56 async-io = { version = "1.9.0", optional = true }
57 bytes = "1.1.0"
58 chrono = { version = "0.4.34", default-features = false, features = ["clock"], optional = true }
59 crc = { version = "3", optional = true }
60 crossbeam-queue = "0.3.2"
61 either = "1.6.1"
62 futures-core = { version = "0.3.19", default-features = false }
63 futures-io = "0.3.24"
64 futures-intrusive = "0.5.0"
65 futures-util = { version = "0.3.19", default-features = false, features = ["alloc", "sink", "io"] }
66 log = { version = "0.4.18", default-features = false }
67 memchr = { version = "2.4.1", default-features = false }
68 once_cell = "1.9.0"
69 percent-encoding = "2.1.0"
70 regex = { version = "1.5.5", optional = true }
71 serde = { version = "1.0.132", features = ["derive", "rc"], optional = true }
72 serde_json = { version = "1.0.73", features = ["raw_value"], optional = true }
73 sha2 = { version = "0.10.0", default-features = false, optional = true }
74 #sqlformat = "0.2.0"
75 thiserror = "2.0.0"
76 tokio-stream = { version = "0.1.8", features = ["fs"], optional = true }
77 tracing = { version = "0.1.37", features = ["log"] }
78 smallvec = "1.7.0"
79 url = { version = "2.2.2" }
80 bstr = { version = "1.0", default-features = false, features = ["std"], optional = true }
81 hashlink = "0.10.0"
82 indexmap = "2.0"
83 event-listener = "5.2.0"
84 hashbrown = "0.15.0"
85
86 [dev-dependencies]
87 sqlx = { workspace = true, features = ["postgres", "sqlite", "mysql", "migrate", "macros", "time", "uuid"] }
88 tokio = { version = "1", features = ["rt"] }
89
90 [lints]
91 workspace = true