-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathCargo.toml
89 lines (72 loc) · 2.27 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
[package]
name = "questdb-rs"
version = "4.0.3"
edition = "2021"
license = "Apache-2.0"
description = "QuestDB Client Library for Rust"
homepage = "https://questdb.io/"
repository = "https://github.com/questdb/c-questdb-client"
keywords = ["questdb", "ilp", "client-library"]
categories = ["database"]
authors = ["Adam Cimarosti <[email protected]>"]
[package.metadata.docs.rs]
all-features = true
[lib]
name = "questdb"
crate-type = ["lib"]
[dependencies]
libc = "0.2"
socket2 = "0.5.5"
dns-lookup = "2.0.4"
base64ct = { version = "1.6.0", features = ["alloc"] }
rustls-pemfile = "2.0.0"
ryu = "1.0.15"
itoa = "1.0.9"
ring = "0.17.5"
rustls-pki-types = "1.0.1"
rustls = "0.22.0"
rustls-native-certs = { version = "0.7.0", optional = true }
webpki-roots = { version = "0.26.0", optional = true }
chrono = { version = "0.4.30", optional = true }
ureq = { version = "=2.9", optional = true }
serde_json = { version = "1.0.108", optional = true }
questdb-confstr = "0.1.0"
rand = { version = "0.8.5", optional = true }
no-panic = { version = "0.1", optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = ["ws2def"] }
[build-dependencies]
serde_json = { version = "1.0.108" }
serde = { version = "1.0.193", features = ["derive"] }
slugify = "0.1.0"
indoc = "2.0.4"
[dev-dependencies]
mio = { version = "0.8.10", features = ["os-poll", "net"] }
chrono = "0.4.31"
tempfile = "3.2.0"
[features]
default = ["tls-webpki-certs", "ilp-over-http"]
# Include support for ILP over HTTP.
ilp-over-http = ["dep:ureq", "dep:serde_json", "dep:rand"]
# Allow use OS-provided root TLS certificates
tls-native-certs = ["dep:rustls-native-certs"]
# Allow use of the `webpki-roots` crate to validate TLS certificates.
tls-webpki-certs = ["dep:webpki-roots"]
# Allow skipping verification of insecure certificates.
insecure-skip-verify = []
# Enable code-generation in `build.rs` for additional tests.
json_tests = []
# Enable methods to create timestamp objects from chrono::DateTime objects.
chrono_timestamp = ["chrono"]
[[example]]
name = "basic"
required-features = ["chrono_timestamp"]
[[example]]
name = "auth"
required-features = ["chrono_timestamp"]
[[example]]
name = "auth_tls"
required-features = ["chrono_timestamp"]
[[example]]
name = "http"
required-features = ["ilp-over-http"]