Debian Codegraph @

Cargo.toml.orig

raw
1 [package]
2 name = "sqlx-mysql"
3 documentation = "https://docs.rs/sqlx"
4 description = "MySQL driver implementation for SQLx. Not for direct use; see the `sqlx` crate for details."
5 version.workspace = true
6 license.workspace = true
7 edition.workspace = true
8 authors.workspace = true
9 repository.workspace = true
10 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
11
12 [features]
13 json = ["sqlx-core/json", "serde"]
14 any = ["sqlx-core/any"]
15 offline = ["sqlx-core/offline", "serde/derive"]
16 migrate = ["sqlx-core/migrate"]
17
18 # Type Integration features
19 bigdecimal = ["dep:bigdecimal", "sqlx-core/bigdecimal"]
20 chrono = ["dep:chrono", "sqlx-core/chrono"]
21 rust_decimal = ["dep:rust_decimal", "rust_decimal/maths", "sqlx-core/rust_decimal"]
22 time = ["dep:time", "sqlx-core/time"]
23 uuid = ["dep:uuid", "sqlx-core/uuid"]
24
25 [dependencies]
26 sqlx-core = { workspace = true }
27
28 # Futures crates
29 futures-channel = { version = "0.3.19", default-features = false, features = ["sink", "alloc", "std"] }
30 futures-core = { version = "0.3.19", default-features = false }
31 futures-io = "0.3.24"
32 futures-util = { version = "0.3.19", default-features = false, features = ["alloc", "sink", "io"] }
33
34 # Cryptographic Primitives
35 crc = "3.0.0"
36 digest = { version = "0.10.0", default-features = false, features = ["std"] }
37 hkdf = "0.12.0"
38 hmac = { version = "0.12.0", default-features = false }
39 md-5 = { version = "0.10.0", default-features = false }
40 rand = { version = "0.8.4", default-features = false, features = ["std", "std_rng"] }
41 rsa = "0.9"
42 sha1 = { version = "0.10.1", default-features = false }
43 sha2 = { version = "0.10.0", default-features = false }
44
45 # Type Integrations (versions inherited from `[workspace.dependencies]`)
46 bigdecimal = { workspace = true, optional = true }
47 chrono = { workspace = true, optional = true }
48 rust_decimal = { workspace = true, optional = true }
49 time = { workspace = true, optional = true }
50 uuid = { workspace = true, optional = true }
51
52 # Misc
53 atoi = "2.0"
54 base64 = { version = "0.22.0", default-features = false, features = ["std"] }
55 bitflags = { version = "2", default-features = false, features = ["serde"] }
56 byteorder = { version = "1.4.3", default-features = false, features = ["std"] }
57 bytes = "1.1.0"
58 dotenvy = "0.15.5"
59 either = "1.6.1"
60 generic-array = { version = "0.14.4", default-features = false }
61 hex = "0.4.3"
62 itoa = "1.0.1"
63 log = "0.4.18"
64 memchr = { version = "2.4.1", default-features = false }
65 once_cell = "1.9.0"
66 percent-encoding = "2.1.0"
67 smallvec = "1.7.0"
68 stringprep = "0.1.2"
69 thiserror = "2.0.0"
70 tracing = { version = "0.1.37", features = ["log"] }
71 whoami = { version = "1.2.1", default-features = false }
72
73 serde = { version = "1.0.144", optional = true }
74
75 [dev-dependencies]
76 sqlx = { workspace = true, features = ["mysql"] }
77
78 [lints]
79 workspace = true