# 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"
name = "meshchat"
version = "0.1.3"
build = "build.rs"
include = [
    "src",
    "assets",
    "build.rs",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A cross platform Iced Gui application for chatting on the Meshtastic LoRa MESH via connected Bluetooth LE radios"
readme = "README.md"
license = "GPL-3.0"
repository = "https://github.com/andrewdavidmackenzie/meshchat"

[features]
debug = ["iced/debug"]
default = []

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

[dependencies.async-stream]
version = "0.3.6"
default-features = false

[dependencies.chrono]
version = "0.4.42"
features = ["clock"]
default-features = false

[dependencies.directories]
version = "6.0.0"
default-features = false

[dependencies.futures]
version = "0.3.31"
default-features = false

[dependencies.futures-channel]
version = "0.3.31"
default-features = false

[dependencies.iced]
version = "0.13.1"
features = [
    "wgpu",
    "tokio",
    "advanced",
    "canvas",
]

[dependencies.lyon_algorithms]
version = "1.0"
default-features = false

[dependencies.meshtastic]
version = "0.1.8"
features = [
    "serde",
    "tokio",
    "bluetooth-le",
]
default-features = false

[dependencies.ringmap]
version = "0.2"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
default-features = false

[dependencies.tokio]
version = "1.47.1"
default-features = false

[dependencies.tokio-stream]
version = "0.1.17"
default-features = false

[dependencies.toml]
version = "0.9.7"
features = [
    "serde",
    "parse",
    "display",
]
default-features = false

[dependencies.webbrowser]
version = "1.0"
default-features = false

[build-dependencies.iced_fontello]
version = "0.13"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
panic = "abort"
overflow-checks = false
incremental = false
strip = true
