forked from ashleygwilliams/changes-stream-rust
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
44 lines (38 loc) · 986 Bytes
/
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
[package]
name = "changes-stream2"
description = "couchdb follower"
version = "0.2.18"
authors = [
"Ashley Williams <[email protected]>",
"René Rössler <[email protected]>",
]
repository = "https://github.com/elwerene/changes-stream-rust.git"
license = "MIT"
edition = "2021"
[dependencies]
bytes = "1"
futures-util = "0.3"
serde_json = "1"
log = "0.4"
metrics = { version = "0.23", optional = true }
regex = { version = "1", optional = true }
reqwest = { version = "0.12", default-features = false, features = [
"stream",
"json",
] }
serde = "1"
serde_derive = "1"
thiserror = "1"
tokio = "1"
url = "2"
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
[features]
default = ["native-tls"]
# change.doc as serde_json::value::RawValue
raw_value_doc = ["serde_json/raw_value"]
# metrics
metrics = ["dep:metrics", "dep:regex"]
# tls library selection
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]