# 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"
rust-version = "1.74"
name = "egui_elm"
version = "0.2.0"
authors = ["Modolet"]
build = false
exclude = [
    "AGENTS.md",
    "target",
    ".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Elm-style architecture on top of egui"
documentation = "https://docs.rs/egui_elm"
readme = "README.md"
keywords = [
    "egui",
    "elm",
    "gui",
]
categories = ["gui"]
license = "MIT"
repository = "https://github.com/modolet/egui_elm"

[features]
default = ["runtime"]
runtime = [
    "dep:eframe",
    "dep:tokio",
]

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

[[example]]
name = "async_loader"
path = "examples/async_loader.rs"

[[example]]
name = "clock"
path = "examples/clock.rs"

[[example]]
name = "counter"
path = "examples/counter.rs"

[[example]]
name = "timer"
path = "examples/timer.rs"

[dependencies.async-stream]
version = "0.3.6"

[dependencies.eframe]
version = "0.33.2"
optional = true

[dependencies.egui]
version = "0.33.2"

[dependencies.futures]
version = "0.3.31"

[dependencies.futures-timer]
version = "3.0.2"

[dependencies.tokio]
version = "1.48.0"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
]
optional = true

[dev-dependencies.chrono]
version = "0.4.42"
