[package] name = "ratframe" version = "2.0.1" authors = ["gold-silver-copper"] edition = "2021" include = ["LICENSE-APACHE", "LICENSE-MIT", "**/*.rs", "Cargo.toml"] rust-version = "1.76" description = "DEPRECATED GO TO 'egui_ratatui" license = "MIT OR Apache-2.0" repository = "https://github.com/gold-silver-copper/egui_ratatui" [package.metadata.docs.rs] all-features = true targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"] [dev-dependencies] once_cell = { version = "1.19.0" } rand = { version = "0.8.5", default-features = false, features = ["small_rng"] } argh = "0.1.12" itertools = "0.12.1" [[example]] name = "hello_world_minimum" doc-scrape-examples = true [[example]] name = "hello_world_proper" doc-scrape-examples = false [lib] crate-type = ["cdylib", "rlib"] [dependencies] ratatui = { version = "0.26.2", default-features = false } egui = "0.27.2" eframe = { version = "0.27.2", default-features = false, features = [ "accesskit", # Make egui comptaible with screen readers. NOTE: adds a lot of dependencies. "default_fonts", # Embed the default egui fonts. "glow", # Use the glow rendering backend. Alternative: "wgpu". "persistence", # Enable restoring app state when restarting the app. ] , optional= true} web-time = {version = "1" } # native: [target.'cfg(not(target_arch = "wasm32"))'.dependencies] env_logger = "0.10" # web: [target.'cfg(target_arch = "wasm32")'.dependencies] wasm-bindgen-futures = "0.4" log = "0.4" [features] default = ["eframe"] [profile.release] opt-level = 2 # fast and small wasm # Optimize all dependencies even in debug builds: [profile.dev.package."*"] opt-level = 2 [patch.crates-io] # If you want to use the bleeding edge version of egui and eframe: # egui = { git = "https://github.com/emilk/egui", branch = "master" } # eframe = { git = "https://github.com/emilk/egui", branch = "master" } # If you fork https://github.com/emilk/egui you can test with: # egui = { path = "../egui/crates/egui" } # eframe = { path = "../egui/crates/eframe" }