# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
rust-version = "1.67"
name = "irc"
version = "1.0.0"
authors = ["Aaron Weiss <aweiss@hey.com>"]
description = "the irc crate – usable, async IRC for Rust "
documentation = "https://docs.rs/irc/"
readme = "README.md"
keywords = [
    "irc",
    "client",
    "thread-safe",
    "async",
    "tokio",
]
categories = [
    "asynchronous",
    "network-programming",
]
license = "MPL-2.0"
repository = "https://github.com/aatxe/irc"

[[example]]
name = "simple_proxy"
path = "examples/simple_proxy.rs"
required-features = ["proxy"]

[[example]]
name = "simple_plaintext"
path = "examples/simple_plaintext.rs"
required-features = ["tls-native"]

[dependencies.chrono]
version = "0.4.24"
features = [
    "clock",
    "std",
]
default-features = false

[dependencies.encoding]
version = "0.2.33"

[dependencies.futures-util]
version = "0.3.30"
features = [
    "alloc",
    "sink",
]
default-features = false

[dependencies.irc-proto]
version = "1.0.0"

[dependencies.log]
version = "0.4.21"

[dependencies.native-tls]
version = "0.2.11"
optional = true

[dependencies.parking_lot]
version = "0.12.1"

[dependencies.pin-project]
version = "1.0.12"

[dependencies.rustls-pemfile]
version = "1.0.2"
optional = true

[dependencies.serde]
version = "1.0.160"
optional = true

[dependencies.serde_derive]
version = "1.0.160"
optional = true

[dependencies.serde_json]
version = "1.0.95"
optional = true

[dependencies.serde_yaml]
version = "0.9.21"
optional = true

[dependencies.thiserror]
version = "1.0.58"

[dependencies.tokio]
version = "1.27.0"
features = [
    "net",
    "time",
    "sync",
]

[dependencies.tokio-native-tls]
version = "0.3.1"
optional = true

[dependencies.tokio-rustls]
version = "0.24.0"
features = ["dangerous_configuration"]
optional = true

[dependencies.tokio-socks]
version = "0.5.1"
optional = true

[dependencies.tokio-stream]
version = "0.1.12"

[dependencies.tokio-util]
version = "0.7.7"
features = ["codec"]

[dependencies.toml]
version = "0.7.3"
optional = true

[dependencies.webpki-roots]
version = "0.23.0"
optional = true

[dev-dependencies.anyhow]
version = "1.0.81"

[dev-dependencies.args]
version = "2.2.0"

[dev-dependencies.env_logger]
version = "0.11.0"

[dev-dependencies.futures]
version = "0.3.30"

[dev-dependencies.getopts]
version = "0.2.21"

[dev-dependencies.tokio]
version = "1.27.0"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "net",
    "time",
]

[features]
channel-lists = []
ctcp = []
default = [
    "ctcp",
    "tls-native",
    "channel-lists",
    "toml_config",
]
json = ["json_config"]
json_config = [
    "serde",
    "serde/derive",
    "serde_derive",
    "serde_json",
]
proxy = ["tokio-socks"]
tls-native = [
    "native-tls",
    "tokio-native-tls",
]
tls-rust = [
    "tokio-rustls",
    "webpki-roots",
    "rustls-pemfile",
]
toml_config = [
    "serde",
    "serde/derive",
    "serde_derive",
    "toml",
]
yaml = ["yaml_config"]
yaml_config = [
    "serde",
    "serde/derive",
    "serde_derive",
    "serde_yaml",
]

[badges.is-it-maintained-issue-resolution]
repository = "aatxe/irc"

[badges.is-it-maintained-open-issues]
repository = "aatxe/irc"

[badges.travis-ci]
repository = "aatxe/irc"
