forked from rupansh/mongo-rust-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
107 lines (93 loc) · 2.32 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
[package]
authors = ["Saghm Rossi <saghmrossi@gmail.com>", "Patrick Freed <patrick.freed@mongodb.com>"]
description = "The official MongoDB driver for Rust"
edition = "2018"
documentation = "https://docs.rs/mongodb"
keywords = ["mongo", "mongodb", "database", "bson", "nosql"]
repository = "https://github.com/mongodb/mongo-rust-driver"
license = "Apache-2.0"
readme = "README.md"
name = "mongodb"
version = "1.1.1"
exclude = [
"etc/**",
"rustfmt.toml",
".evergreen/**",
".gitignore",
"src/test/**",
"tests/**"
]
[features]
default = ["tokio-runtime"]
tokio-runtime = ["tokio/macros", "tokio/rt", "tokio/net", "tokio/rt-multi-thread", "tokio/time", "reqwest", "serde_bytes"]
async-std-runtime = ["async-std", "async-std/attributes"]
sync = ["async-std-runtime"]
[dependencies]
async-trait = "0.1.24"
base64 = "0.11.0"
bitflags = "1.1.0"
bson = "1.1.0"
chrono = "0.4.7"
derivative = "2.1.1"
err-derive = "0.2.3"
futures = "0.3.5"
futures-intrusive = "0.3.0"
hex = "0.4.0"
hmac = "~0.7.1"
lazy_static = "1.4.0"
md-5 = "0.8.0"
os_info = { version = "2.0.6", default-features = false }
percent-encoding = "2.0.0"
rand = { version = "0.7.2", features = ["small_rng"] }
serde_with = "1.3.1"
sha-1 = "0.8.1"
sha2 = "0.8.0"
socket2 = "0.3.12"
stringprep = "0.1.2"
strsim = "0.10.0"
take_mut = "0.2.2"
time = "0.1.42"
trust-dns-proto = "0.20.0"
trust-dns-resolver = "0.20.0"
typed-builder = "0.4.0"
version_check = "0.9.1"
webpki = "0.21.0"
webpki-roots = "0.18.0"
[dependencies.async-std]
version = "1.6.2"
optional = true
[dependencies.pbkdf2]
version = "0.3.0"
default-features = false
[dependencies.reqwest]
version = "0.11"
optional = true
default-features = false
features = ["json", "rustls-tls"]
[dependencies.rustls]
version = "0.19.0"
features = ["dangerous_configuration"]
[dependencies.serde]
version = "1.0.98"
features = ["derive"]
[dependencies.serde_bytes]
version = "0.11.5"
optional = true
[dependencies.tokio]
version = "1.0.0"
features = ["io-util", "sync", "macros"]
[dependencies.tokio-rustls]
version = "0.22.0"
features = ["dangerous_configuration"]
[dependencies.uuid]
version = "0.8.1"
features = ["v4"]
[dev-dependencies]
approx = "0.3.2"
derive_more = "0.15.0"
function_name = "0.2.0"
pretty_assertions = "0.6.1"
serde_json = "1.0.40"
semver = "0.9.0"
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]