11[package ]
22name = " irc"
3- version = " 1.0 .0"
4- authors = [
" Aaron Weiss <[email protected] >" ]
3+ version = " 1.1 .0"
4+ authors = [
" Ariel Weiss <[email protected] >" ]
55edition = " 2018"
6- rust-version = " 1.71 "
6+ rust-version = " 1.80 "
77description = " the irc crate – usable, async IRC for Rust"
88documentation = " https://docs.rs/irc/"
99readme = " README.md"
@@ -20,31 +20,42 @@ is-it-maintained-open-issues = { repository = "aatxe/irc" }
2020
2121
2222[workspace ]
23- members = [ " ./" , " irc-proto/" ]
23+ members = [" ./" , " irc-proto/" ]
2424
2525
2626[features ]
27- default = [" ctcp" , " tls-native" , " channel-lists" , " toml_config" ]
27+ default = [" ctcp" , " tls-native" , " channel-lists" , " toml_config" , " encoding " ]
2828ctcp = []
2929channel-lists = []
3030
31- json_config = [" serde" , " serde/derive " , " serde_derive " , " serde_json" ]
32- toml_config = [" serde" , " serde/derive " , " serde_derive " , " toml" ]
33- yaml_config = [" serde" , " serde/derive " , " serde_derive " , " serde_yaml" ]
31+ json_config = [" serde" , " serde_json" ]
32+ toml_config = [" serde" , " toml" ]
33+ yaml_config = [" serde" , " serde_yaml" ]
3434# Temporary transitionary features
3535json = [" json_config" ]
3636yaml = [" yaml_config" ]
3737
3838proxy = [" tokio-socks" ]
3939
4040tls-native = [" native-tls" , " tokio-native-tls" ]
41- tls-rust = [" tokio-rustls" , " webpki-roots" , " rustls-pemfile" ]
42-
41+ tls-rust = [
42+ " rustls-native-certs" ,
43+ " rustls-pemfile" ,
44+ " tokio-rustls" ,
45+ " webpki-roots" ,
46+ ]
47+ encoding = [" dep:encoding" , " irc-proto/encoding" ]
4348
4449[dependencies ]
45- chrono = { version = " 0.4.24" , default-features = false , features = [" clock" , " std" ] }
46- encoding = " 0.2.33"
47- futures-util = { version = " 0.3.30" , default-features = false , features = [" alloc" , " sink" ] }
50+ chrono = { version = " 0.4.24" , default-features = false , features = [
51+ " clock" ,
52+ " std" ,
53+ ] }
54+ encoding = { version = " 0.2.33" , optional = true }
55+ futures-util = { version = " 0.3.30" , default-features = false , features = [
56+ " alloc" ,
57+ " sink" ,
58+ ] }
4859irc-proto = { version = " 1.0.0" , path = " irc-proto" }
4960log = " 0.4.21"
5061parking_lot = " 0.12.1"
@@ -55,8 +66,7 @@ tokio-stream = "0.1.12"
5566tokio-util = { version = " 0.7.7" , features = [" codec" ] }
5667
5768# Feature - Config
58- serde = { version = " 1.0.160" , optional = true }
59- serde_derive = { version = " 1.0.160" , optional = true }
69+ serde = { version = " 1.0.160" , features = [" derive" ], optional = true }
6070serde_json = { version = " 1.0.95" , optional = true }
6171serde_yaml = { version = " 0.9.21" , optional = true }
6272toml = { version = " 0.7.3" , optional = true }
@@ -66,10 +76,11 @@ tokio-socks = { version = "0.5.1", optional = true }
6676
6777# Feature - TLS
6878native-tls = { version = " 0.2.11" , optional = true }
69- tokio-rustls = { version = " 0.24.0" , features = [" dangerous_configuration" ], optional = true }
70- rustls-pemfile = { version = " 1.0.2" , optional = true }
7179tokio-native-tls = { version = " 0.3.1" , optional = true }
72- webpki-roots = { version = " 0.23.0" , optional = true }
80+ rustls-native-certs = { version = " 0.8" , optional = true }
81+ rustls-pemfile = { version = " 2" , optional = true }
82+ tokio-rustls = { version = " 0.26.0" , optional = true }
83+ webpki-roots = { version = " 0.26.0" , optional = true }
7384
7485
7586[dev-dependencies ]
@@ -78,7 +89,13 @@ args = "2.2.0"
7889env_logger = " 0.11.0"
7990futures = " 0.3.30"
8091getopts = " 0.2.21"
81- tokio = { version = " 1.27.0" , features = [" rt" , " rt-multi-thread" , " macros" , " net" , " time" ] }
92+ tokio = { version = " 1.27.0" , features = [
93+ " rt" ,
94+ " rt-multi-thread" ,
95+ " macros" ,
96+ " net" ,
97+ " time" ,
98+ ] }
8299
83100
84101[[example ]]
0 commit comments