-
Notifications
You must be signed in to change notification settings - Fork 22
/
Cargo.toml
60 lines (49 loc) · 1.7 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
[package]
name = "ratsio"
version = "0.4.1"
readme = "README.md"
authors = ["Michael Netshipise <[email protected]>"]
description = "Ratsio is a Rust client library for NATS messaging system and NATS Event Streaming."
documentation = "https://docs.rs/ratsio"
categories = [
"network-programming",
"web-programming",
"asynchronous",
]
homepage = "https://github.com/mnetship/ratsio"
repository = "https://github.com/mnetship/ratsio"
keywords = ["nats", "streaming", "async", "tokio"]
license = "MIT"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bytes = "^1"
prost = "^0.7"
log = "^0.4"
cfg-if = "^0.1"
thiserror = "1.0.29"
futures = {version="^0.3"}
futures-core = "^0.3"
futures-timer = "^2.0"
pin-project = "1"
tokio = { version = "^1", features = ["rt-multi-thread", "net", "time", "io-util", "macros", "sync"] }
tokio-util = { version = "^0.6", features = ["codec"] }
native-tls = { version = "^0.2", optional = true }
tokio-native-tls = { version = "^0.3", optional = true }
nom = { version = "^4.1", features = ["regexp", "verbose-errors"] }
rand = "^0.6"
regex = "^1.3"
lazy_static = "^1.2"
derive_builder = "^0.7"
atomic-counter = "^1.0"
nkeys = { version="^0.1", optional=true }
sha2 = "^0.9"
data-encoding = "^2.1.2"
env_logger = {version="^0.7"}
[build-dependencies]
prost-build = "0.7"
[dev-dependencies]
ctrlc = "3.1"
[features]
default = ["tls"]
tls = ["native-tls", "tokio-native-tls"]