# 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 = "dip" version = "0.2.1" description = "Write cross-platform application with React-like declarative UI framework and scalable ECS architecture all in Rust." homepage = "https://github.com/diptools/dip/" documentation = "https://docs.rs/dip/latest/dip/" readme = "README.md" keywords = [ "declarative-ui", "ecs", "bevy", "dioxus", "cross-platform", ] license = "MIT OR Apache-2.0" repository = "https://github.com/diptools/dip/" [[bin]] name = "dip" path = "src/main.rs" [[example]] name = "cli" path = "examples/cli/cli.rs" required-features = ["cli"] [[example]] name = "cli_async" path = "examples/cli/async.rs" required-features = ["cli"] [[example]] name = "cli_config" path = "examples/cli/config/main.rs" required-features = ["cli"] [[example]] name = "desktop_async" path = "examples/desktop/async.rs" required-features = ["desktop"] [[example]] name = "counter" path = "examples/desktop/counter.rs" required-features = ["desktop"] [[example]] name = "minimum" path = "examples/desktop/minimum.rs" required-features = ["desktop"] [[example]] name = "root_props" path = "examples/desktop/root_props.rs" required-features = ["desktop"] [[example]] name = "keyboard" path = "examples/desktop/keyboard/keyboard_event.rs" required-features = ["desktop"] [[example]] name = "key_bindings" path = "examples/desktop/keyboard/bindings.rs" required-features = ["desktop"] [[example]] name = "local_state" path = "examples/desktop/state_management/local_state.rs" required-features = ["desktop"] [[example]] name = "global_state" path = "examples/desktop/state_management/global_state.rs" required-features = ["desktop"] [[example]] name = "ecs" path = "examples/desktop/state_management/ecs.rs" required-features = ["desktop"] [[example]] name = "window_settings" path = "examples/desktop/window/settings.rs" required-features = ["desktop"] [[example]] name = "render_mode" path = "examples/desktop/window/render_mode.rs" required-features = ["desktop"] [[example]] name = "multiple_windows" path = "examples/desktop/window/multiple_windows.rs" required-features = ["desktop"] [[example]] name = "scale_factor_override" path = "examples/desktop/window/scale_factor_override.rs" required-features = ["desktop"] [dependencies.anyhow] version = "1.0" [dependencies.bevy] version = "0.8" default-features = false [dependencies.clap] version = "3.2" features = ["derive"] optional = true [dependencies.config] version = "0.13" [dependencies.dioxus] version = "0.2" features = ["fermi"] [dependencies.dip_bundle] version = "0.2" [dependencies.dip_cli] version = "0.2" optional = true [dependencies.dip_core] version = "0.2" [dependencies.dip_desktop] version = "0.2" optional = true [dependencies.dip_device] version = "0.2" [dependencies.dip_macro] version = "0.2" [dependencies.dirs] version = "4.0" [dependencies.reqwest] version = "0.11" features = [ "json", "blocking", ] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.tokio] version = "1.18" features = [ "rt-multi-thread", "sync", "macros", "fs", ] default-features = false [dev-dependencies.leafwing-input-manager] version = "0.5" default-features = false [dev-dependencies.serde] version = "1.0" features = ["derive"] [features] cli = [ "dip_cli", "clap", ] default = ["cli"] desktop = ["dip_desktop"]