rust-irc/Cargo.toml

93 lines
2.7 KiB
TOML
Raw Permalink Normal View History

2014-09-10 22:23:09 +02:00
[package]
name = "irc"
2024-03-19 00:34:00 +01:00
version = "1.0.0"
authors = ["Aaron Weiss <aweiss@hey.com>"]
2023-04-12 16:18:34 +02:00
edition = "2018"
rust-version = "1.71"
description = "the irc crate usable, async IRC for Rust"
2023-04-12 16:18:34 +02:00
documentation = "https://docs.rs/irc/"
readme = "README.md"
repository = "https://github.com/aatxe/irc"
license = "MPL-2.0"
keywords = ["irc", "client", "thread-safe", "async", "tokio"]
2017-06-27 02:10:39 +02:00
categories = ["asynchronous", "network-programming"]
2017-07-26 00:22:38 +02:00
[badges]
travis-ci = { repository = "aatxe/irc" }
is-it-maintained-issue-resolution = { repository = "aatxe/irc" }
is-it-maintained-open-issues = { repository = "aatxe/irc" }
2017-07-26 00:22:38 +02:00
[workspace]
members = [ "./", "irc-proto/" ]
[features]
default = ["ctcp", "tls-native", "channel-lists", "toml_config"]
ctcp = []
channel-lists = []
2020-01-29 02:58:38 +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"]
proxy = ["tokio-socks"]
2020-10-28 03:26:31 +01:00
tls-native = ["native-tls", "tokio-native-tls"]
2023-04-12 16:18:34 +02:00
tls-rust = ["tokio-rustls", "webpki-roots", "rustls-pemfile"]
[dependencies]
2023-04-12 16:18:34 +02:00
chrono = { version = "0.4.24", default-features = false, features = ["clock", "std"] }
encoding = "0.2.33"
2024-03-19 00:32:40 +01:00
futures-util = { version = "0.3.30", default-features = false, features = ["alloc", "sink"] }
2024-03-19 00:34:00 +01:00
irc-proto = { version = "1.0.0", path = "irc-proto" }
2024-03-19 00:32:40 +01:00
log = "0.4.21"
2023-04-12 16:18:34 +02:00
parking_lot = "0.12.1"
2024-03-19 00:32:40 +01:00
thiserror = "1.0.58"
2023-04-12 16:18:34 +02:00
pin-project = "1.0.12"
tokio = { version = "1.27.0", features = ["net", "time", "sync"] }
tokio-stream = "0.1.12"
tokio-util = { version = "0.7.7", features = ["codec"] }
# Feature - Config
2023-04-12 16:18:34 +02:00
serde = { version = "1.0.160", optional = true }
serde_derive = { version = "1.0.160", optional = true }
serde_json = { version = "1.0.95", optional = true }
serde_yaml = { version = "0.9.21", optional = true }
toml = { version = "0.7.3", optional = true }
# Feature - Proxy
2020-12-29 09:29:06 +01:00
tokio-socks = { version = "0.5.1", optional = true }
# Feature - TLS
2023-04-12 16:18:34 +02:00
native-tls = { version = "0.2.11", optional = true }
tokio-rustls = { version = "0.24.0", features = ["dangerous_configuration"], optional = true }
rustls-pemfile = { version = "1.0.2", optional = true }
tokio-native-tls = { version = "0.3.1", optional = true }
webpki-roots = { version = "0.23.0", optional = true }
[dev-dependencies]
2024-03-19 00:32:40 +01:00
anyhow = "1.0.81"
2023-04-12 16:18:34 +02:00
args = "2.2.0"
2024-03-19 00:32:40 +01:00
env_logger = "0.11.0"
futures = "0.3.30"
2023-04-12 16:18:34 +02:00
getopts = "0.2.21"
tokio = { version = "1.27.0", features = ["rt", "rt-multi-thread", "macros", "net", "time"] }
2020-03-04 07:38:01 +01:00
[[example]]
name = "simple_proxy"
path = "examples/simple_proxy.rs"
2020-03-04 07:38:01 +01:00
required-features = ["proxy"]
[[example]]
name = "simple_plaintext"
path = "examples/simple_plaintext.rs"
required-features = ["tls-native"]