-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
108 lines (99 loc) · 3.34 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[package]
name = "sqlx-exasol"
version = "0.8.2"
edition = "2021"
authors = ["bobozaur"]
description = "Exasol driver for the SQLx framework."
license = "MIT OR Apache-2.0"
repository = "https://github.com/bobozaur/sqlx-exasol"
keywords = ["database", "sql", "exasol", "sqlx", "driver"]
exclude = ["tests/*"]
categories = ["database"]
[package.metadata.docs.rs]
features = ["etl", "chrono", "rust_decimal", "uuid", "compression", "migrate"]
[features]
# ############################################
# ########### User-facing features ###########
# ############################################
compression = ["dep:async-compression"]
uuid = ["dep:uuid"]
chrono = ["dep:chrono"]
rust_decimal = ["dep:rust_decimal"]
migrate = ["sqlx-core/migrate", "dep:dotenvy", "dep:hex"]
etl = ["dep:http-body-util", "dep:hyper", "dep:bytes", "dep:futures-channel"]
etl_rustls = ["dep:rustls", "dep:rcgen", "etl"]
etl_native_tls = ["dep:native-tls", "dep:rcgen", "etl"]
# ############################################
# ############################################
# ############################################
[dependencies]
rand = "0.8.5"
base64 = "0.22.1"
thiserror = "1.0.63"
url = "2.5.2"
rsa = "0.9.6"
async-tungstenite = "0.28.0"
futures-io = "0.3.30"
futures-util = "0.3.30"
futures-core = "0.3.30"
futures-channel = { version = "0.3.30", optional = true }
serde_json = { version = "1.0.128" }
serde = { version = "1.0.209", features = ["derive", "rc"] }
pin-project = "1.1.5"
lru = "0.12.4"
sqlx-core = "0.8.2"
tracing = { version = "0.1.40", features = ["log"] }
arrayvec = "0.7.6"
rcgen = { version = "0.13.1", optional = true }
# Feature flagged optional dependencies
uuid = { version = "1.10.0", features = ["serde"], optional = true }
chrono = { version = "0.4.38", features = ["serde"], optional = true }
rust_decimal = { version = "1.36.0", optional = true }
dotenvy = { version = "0.15.7", optional = true }
hex = { version = "0.4.3", optional = true }
async-compression = { version = "0.4.12", features = [
"futures-io",
"gzip",
"zlib",
], optional = true }
rustls = { version = "0.23.12", default-features = false, features = [
"std",
"tls12",
], optional = true }
native-tls = { version = "0.2.12", optional = true }
http-body-util = { version = "0.1.2", optional = true }
hyper = { version = "1.4.1", features = ["server", "http1"], optional = true }
bytes = { version = "1.7.1", optional = true }
serde-transcode = { version = "1.1.1" }
[dev-dependencies]
rustls = { version = "0.23.12" }
sqlx = { version = "0.8.2", features = [
"runtime-tokio",
"tls-native-tls",
"migrate",
] }
paste = "1.0.15"
anyhow = "1.0.86"
tokio = { version = "1.40.0", features = ["full"] }
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
struct_excessive_bools = "allow"
trivially_copy_pass_by_ref = "allow"
must_use_candidate = "allow"
match_bool = "allow"
module_name_repetitions = "allow"
[lints.rust]
rust_2018_idioms = { level = "warn", priority = -1 }
rust_2021_compatibility = { level = "warn", priority = -1 }
meta_variable_misuse = "warn"
missing_abi = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
non_ascii_idents = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"