-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
52 lines (48 loc) · 1.59 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
[package]
name = "simple-irc-server"
authors = ["Mateusz Szpakowski"]
license = "LGPL-2.1-or-later"
version = "0.1.8"
edition = "2018"
rust-version = "1.57"
description = "Simple IRC server"
repository = "https://github.com/matszpk/simple-irc-server"
categories = ["network-programming"]
keywords = ["irc"]
[dependencies]
tokio = { version = "1.0", features = [ "full" ] }
tokio-util = { version = "0.7.0", features = [ "codec" ] }
tokio-stream = "0.1"
tracing = "0.1"
futures = "0.3.0"
toml = "0.5"
serde = "1.0.0"
serde_derive = "1.0.0"
chrono = { version = "0.4", features = ["serde"] }
clap = { version = "3.0.0", features = ["derive"] }
validator = { version = "0.14", features = [ "derive" ] }
bytes = "1.1.0"
const-table = "0.1.0"
flagset = "0.4"
argon2 = "0.4"
rpassword = "6.0"
tokio-rustls = { version = "0.23", optional = true }
rustls = { version = "0.20", optional = true }
rustls-pemfile = { version = "1.0", optional = true }
tokio-openssl = { version = "0.6", optional = true }
openssl = { version = "0.10", optional = true }
lazy_static = "1.4"
trust-dns-resolver = { version = "0.21", optional = true }
[features]
default = []
# prefer rustls for almost systems
tls_rustls = [ "rustls", "tokio-rustls", "rustls-pemfile" ]
# use openssl if rustls with ring doesn't work - for example old non-SSE2 machines
tls_openssl = [ "openssl", "tokio-openssl" ]
dns_lookup = [ "trust-dns-resolver" ]
[dependencies.tracing-subscriber]
version = "0.3.1"
default-features = false
features = ["fmt", "ansi", "env-filter", "tracing-log"]
[dev-dependencies]
tokio = { version = "1.0", features = [ "full", "test-util" ] }