-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
90 lines (66 loc) · 3.3 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
[package]
name = "reactive-messaging"
version = "0.3.1"
edition = "2021"
description = "Reactive client/server communications, focused on high performance"
keywords = ["reactive", "event-driven", "socket", "messaging", "transport"]
categories = ["asynchronous", "concurrency", "rust-patterns", "network-programming"]
readme = "README.md"
authors = ["Luiz Silveira <zertyz@gmail.com>"]
homepage = "https://github.com/zertyz/reactive-messaging"
repository = "https://github.com/zertyz/reactive-messaging"
documentation = "https://docs.rs/reactive-messaging/"
license = "Unlicense"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
[features]
[dependencies]
tokio = { version = "1", features = ["full", "rt-multi-thread"] }
log = "0.4"
reactive-mutiny = "1.3" # for reactive programming in Rust
futures = "0.3" # brings in "Streams" / async iterators
minstant = "0.1" # as fast as possible time measurements on X86_64 using TSC / RDTSC instructions -- avoiding system calls & context switches
once_cell = "1" # lazy statics
# for the const configs pattern
strum = { version = "0.26", features = ["derive"] } # enums serialization/deserialization
strum_macros = "0.26"
# for the retrying mechanism
keen-retry = "0.5"
# soon to be dropped when Rust finally goes forward in late 2023...
# (in this crate, the costs of async traits are only paid for functions out of the hot path)
async-trait = "0.1"
# doc-dependencies
ctor = "0.2" # setup and teardown for modules
# to be present only in dev-dependencies, after the refactorings
ron = "0.8" # .ron config files
serde = { version = "1.0", features = ["derive"] } # typed serialization / deserialization
[dev-dependencies]
ctor = "0.2" # setup and teardown for modules
simple_logger = "5.0" # a dirty console logger
log = { version = "0.4", features = ["max_level_trace", "release_max_level_info"] }
# dependencies for the examples
###############################
dashmap = "6" # atomic hash maps & sets -- to send a shutdown message to clients
# default config loading & saving
serde = { version = "1.0", features = ["derive"] } # typed serialization / deserialization
ron = "0.8" # .ron config files
regex = "1.11" # for placing docs along with config files
rand = "0.8" # random number
# std replacements
minstant = "0.1" # (real) time measurements through RDTSC instruction (without calling the Kernel / without causing a context switch)
# command-line parsing
structopt = "0.3" # command line parsing
chrono = "0"
# console UI
slog-stdlog = "4" # Facade between slog and Rust's standard 'log' api
slog-scope = "4"
slog = "2"
sloggers = "2"
# dependencies for benchmarks
#############################
criterion = { version = "0.5", features=["html_reports"] }
tokio-stream = "0.1"
crossbeam = "0.8" # scoped threads
[[bench]]
name = "streamable_channels"
harness = false