# 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 = "2021" name = "tmi" version = "0.7.2" authors = ["jprochazk "] build = false exclude = [ "src/**/*.snap", "/.vscode", "/.github", "/benches/data.txt", ] autobins = false autoexamples = false autotests = false autobenches = false description = "twitch.tv messaging interface" readme = "README.md" license = "MIT" repository = "https://github.com/jprochazk/tmi-rs" [profile.bench] lto = "fat" debug = 2 [profile.release] lto = "fat" [lib] name = "tmi" path = "src/lib.rs" bench = false [[example]] name = "basic" path = "examples/basic.rs" [[bench]] name = "parse" path = "benches/parse.rs" harness = false [dependencies.cfg-if] version = "1.0.0" [dependencies.chrono] version = "0.4.31" features = [ "std", "clock", ] optional = true default-features = false [dependencies.futures-util] version = "0.3.28" optional = true [dependencies.rand] version = "0.8.5" optional = true [dependencies.rustls-native-certs] version = "0.6.3" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.smallvec] version = "1.11.1" optional = true default-features = false [dependencies.tokio] version = "1.28.2" features = [ "net", "rt", "signal", "time", "io-util", ] optional = true [dependencies.tokio-rustls] version = "0.24.1" optional = true [dependencies.tokio-stream] version = "0.1.14" features = ["io-util"] optional = true [dependencies.tracing] version = "0.1.37" optional = true [dev-dependencies.anyhow] version = "1.0.75" [dev-dependencies.clap] version = "4.4.6" features = ["derive"] [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.insta] version = "1.33.0" [dev-dependencies.mimalloc] version = "0.1.37" default-features = false [dev-dependencies.serde_json] version = "1.0.108" [dev-dependencies.tokio] version = "1.28.2" features = ["full"] [dev-dependencies.tracing-subscriber] version = "0.3.17" [features] client = [ "dep:futures-util", "dep:rand", "dep:rustls-native-certs", "dep:tokio", "dep:tokio-rustls", "dep:tokio-stream", "dep:tracing", ] default = [ "simd", "client", "message-types", ] message-types = [ "dep:chrono", "dep:smallvec", ] serde = [ "dep:serde", "chrono/serde", ] simd = []