# 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 = "2024"
rust-version = "1.85.0"
name = "hoy"
version = "0.3.0"
authors = ["mrbya <v.toth.svk2@gmail.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Real-time messaging TUI app"
homepage = "https://gitlab.com/byacrates/hoy.git"
readme = "README.md"
keywords = [
    "hoy",
    "chat",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.com/byacrates/hoy.git"

[package.metadata.cargo-udeps.ignore]
normal = ["hoy-tui"]
development = [
    "criterion",
    "pretty_assertions",
]

[package.metadata.playground]
features = ["full"]

[features]
full = []

[lib]
name = "hoy"
path = "src/lib.rs"

[[bin]]
name = "hoy"
path = "src/main.rs"

[[test]]
name = "e2e_tests"
path = "tests/e2e_tests.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[bench]]
name = "benches"
path = "benches/benches.rs"
harness = false
required-features = ["full"]

[dependencies.hoy-core]
version = "0.2.1"

[dependencies.hoy-net]
version = "0.2.1"

[dependencies.hoy-protocol]
version = "0.2.0"

[dependencies.hoy-tui]
version = "0.1.0"

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "io-util",
    "sync",
    "time",
]

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.pretty_assertions]
version = "1"

[lints.clippy]
multiple_crate_versions = "allow"

[profile.bench]
codegen-units = 1
incremental = false

[profile.release]
codegen-units = 1
incremental = false
