# 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.88"
name = "enya-client"
version = "0.1.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client abstraction supporting multiple metrics backends (Prometheus, Enya)"
readme = false
license = "MIT"
repository = "https://github.com/meldrumlabs/enya"

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

[dependencies.egui]
version = "0.33.3"
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.parking_lot]
version = "0.12"
features = ["serde"]

[dependencies.poll-promise]
version = "0.3"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
]
default-features = false

[dependencies.rustc-hash]
version = "2.0.0"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "derive",
]

[dependencies.serde_json]
version = "1.0"

[dev-dependencies.tokio]
version = "1.48"
features = ["rt-multi-thread"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.prost]
version = "0.14"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.48"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-time]
version = "1.1"

[lints.clippy]
disallowed_types = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(tokio_unstable)",
    "cfg(getrandom_backend)",
    'cfg(feature, values("serve"))',
]
