async-circe/Cargo.toml

31 lines
831 B
TOML

[package]
authors = ["famfo", "karx"]
categories = ["asynchronous", "network-programming"]
description = "IRC crate in Rust"
edition = "2021"
keywords = ["irc", "irc-crate", "async-irc"]
license = "Unlicense"
name = "async-circe"
readme = "README.md"
repository = "https://git.karx.xyz/circe/async-circe.git"
version = "0.3.0"
[dependencies]
parking_lot = "0.11"
tokio = {version = "1.15", features = ["io-util", "net", "rt", "fs"]}
tracing = "0.1"
# TLS
tokio-rustls = {version = "0.23", optional = true}
webpki-roots = {version = "0.22", optional = true}
# Config from toml
toml = {version = "0.5", optional = true}
serde = {version = "1.0", optional = true}
serde_derive = {version = "1.0", optional = true}
[features]
default = ["tls"]
tls = ["tokio-rustls", "webpki-roots"]
toml_config = ["toml", "serde", "serde_derive"]