2014-09-10 22:23:09 +02:00
|
|
|
|
[package]
|
|
|
|
|
name = "irc"
|
2020-08-06 22:13:29 +02:00
|
|
|
|
version = "0.14.1"
|
2018-02-14 15:03:12 +01:00
|
|
|
|
description = "the irc crate – usable, async IRC for Rust "
|
2020-07-23 19:38:14 +02:00
|
|
|
|
authors = ["Aaron Weiss <aweiss@hey.com>"]
|
2017-06-23 01:21:38 +02:00
|
|
|
|
license = "MPL-2.0"
|
2018-10-03 18:54:13 +02:00
|
|
|
|
keywords = ["irc", "client", "thread-safe", "async", "tokio"]
|
2017-06-27 02:10:39 +02:00
|
|
|
|
categories = ["asynchronous", "network-programming"]
|
2017-06-23 01:33:23 +02:00
|
|
|
|
documentation = "https://docs.rs/irc/"
|
2014-12-19 16:35:26 +01:00
|
|
|
|
repository = "https://github.com/aatxe/irc"
|
2014-11-08 20:14:23 +01:00
|
|
|
|
readme = "README.md"
|
2019-08-27 15:05:51 +02:00
|
|
|
|
edition = "2018"
|
2014-11-08 23:35:19 +01:00
|
|
|
|
|
2020-03-07 06:17:35 +01:00
|
|
|
|
|
2017-07-26 00:22:38 +02:00
|
|
|
|
[badges]
|
|
|
|
|
travis-ci = { repository = "aatxe/irc" }
|
2018-03-31 22:29:27 +02:00
|
|
|
|
is-it-maintained-issue-resolution = { repository = "aatxe/irc" }
|
|
|
|
|
is-it-maintained-open-issues = { repository = "aatxe/irc" }
|
2017-07-26 00:22:38 +02:00
|
|
|
|
|
2020-03-07 06:17:35 +01:00
|
|
|
|
|
2018-03-10 14:55:23 +01:00
|
|
|
|
[workspace]
|
2020-03-07 06:17:35 +01:00
|
|
|
|
members = [ "./", "irc-proto/" ]
|
|
|
|
|
|
2018-03-10 14:55:23 +01:00
|
|
|
|
|
2014-11-08 23:35:19 +01:00
|
|
|
|
[features]
|
2020-03-07 06:17:35 +01:00
|
|
|
|
default = ["ctcp", "tls-native", "toml_config"]
|
2016-01-16 17:18:11 +01:00
|
|
|
|
ctcp = []
|
2015-01-11 06:14:08 +01:00
|
|
|
|
nochanlists = []
|
2020-01-29 02:58:38 +01:00
|
|
|
|
|
2020-03-07 06:17:35 +01:00
|
|
|
|
json_config = ["serde", "serde/derive", "serde_derive", "serde_json"]
|
|
|
|
|
toml_config = ["serde", "serde/derive", "serde_derive", "toml"]
|
|
|
|
|
yaml_config = ["serde", "serde/derive", "serde_derive", "serde_yaml"]
|
2020-01-29 02:58:38 +01:00
|
|
|
|
# Temporary transitionary features
|
|
|
|
|
json = ["json_config"]
|
|
|
|
|
yaml = ["yaml_config"]
|
2014-11-08 23:35:19 +01:00
|
|
|
|
|
2020-03-07 06:17:35 +01:00
|
|
|
|
proxy = ["tokio-socks"]
|
|
|
|
|
|
2020-10-28 03:26:31 +01:00
|
|
|
|
tls-native = ["native-tls", "tokio-native-tls"]
|
2020-03-07 06:17:35 +01:00
|
|
|
|
tls-rust = ["tokio-rustls", "webpki-roots"]
|
|
|
|
|
|
|
|
|
|
|
2017-01-15 19:31:50 +01:00
|
|
|
|
[dependencies]
|
2020-03-07 06:17:35 +01:00
|
|
|
|
chrono = "0.4.0"
|
|
|
|
|
encoding = "0.2.0"
|
2020-10-28 03:41:01 +01:00
|
|
|
|
futures-util = { version = "0.3.0", default-features = false, features = ["sink"] }
|
2020-05-07 22:33:33 +02:00
|
|
|
|
irc-proto = { version = "0.14.0", path = "irc-proto" }
|
2020-03-07 06:17:35 +01:00
|
|
|
|
log = "0.4.0"
|
2020-08-06 14:01:46 +02:00
|
|
|
|
parking_lot = "0.11.0"
|
2020-03-07 06:17:35 +01:00
|
|
|
|
thiserror = "1.0.0"
|
2020-10-28 03:41:01 +01:00
|
|
|
|
tokio = { version = "0.3.0", features = ["net", "stream", "time", "sync"] }
|
2020-10-28 03:26:31 +01:00
|
|
|
|
tokio-util = { version = "0.4.0", features = ["codec"] }
|
2020-03-07 06:17:35 +01:00
|
|
|
|
|
|
|
|
|
# Feature - Config
|
|
|
|
|
serde = { version = "1.0.0", optional = true }
|
|
|
|
|
serde_derive = { version = "1.0.0", optional = true }
|
|
|
|
|
serde_json = { version = "1.0.0", optional = true }
|
|
|
|
|
serde_yaml = { version = "0.8.0", optional = true }
|
|
|
|
|
toml = { version = "0.5.0", optional = true }
|
|
|
|
|
|
|
|
|
|
# Feature - Proxy
|
2020-08-06 14:01:46 +02:00
|
|
|
|
tokio-socks = { version = "0.3.0", optional = true }
|
2020-03-07 06:17:35 +01:00
|
|
|
|
|
|
|
|
|
# Feature - TLS
|
|
|
|
|
native-tls = { version = "0.2.0", optional = true }
|
2020-10-28 03:26:31 +01:00
|
|
|
|
tokio-rustls = { version = "0.20.0", optional = true }
|
|
|
|
|
tokio-native-tls = { version = "0.2.0", optional = true }
|
2020-08-06 14:01:46 +02:00
|
|
|
|
webpki-roots = { version = "0.20.0", optional = true }
|
2020-03-07 06:17:35 +01:00
|
|
|
|
|
2017-06-29 09:31:27 +02:00
|
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-03-07 06:17:35 +01:00
|
|
|
|
anyhow = "1.0.0"
|
|
|
|
|
args = "2.0.0"
|
|
|
|
|
env_logger = "0.7.0"
|
|
|
|
|
futures = "0.3.0"
|
|
|
|
|
getopts = "0.2.0"
|
2020-10-28 03:26:31 +01:00
|
|
|
|
tokio = { version = "0.3.0", features = ["rt", "rt-multi-thread", "macros", "net", "stream", "time"] }
|
2020-03-07 06:17:35 +01:00
|
|
|
|
|
2020-03-04 07:38:01 +01:00
|
|
|
|
|
|
|
|
|
[[example]]
|
2020-03-07 06:17:35 +01:00
|
|
|
|
name = "simple_proxy"
|
|
|
|
|
path = "examples/simple_proxy.rs"
|
2020-03-04 07:38:01 +01:00
|
|
|
|
required-features = ["proxy"]
|
2020-03-07 06:17:35 +01:00
|
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
|
name = "simple_plaintext"
|
|
|
|
|
path = "examples/simple_plaintext.rs"
|
|
|
|
|
required-features = ["tls-native"]
|