mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
Add new crate eframe which wraps egui, epi, egui_web and egui_glium
This commit is contained in:
27
eframe/Cargo.toml
Normal file
27
eframe/Cargo.toml
Normal file
@@ -0,0 +1,27 @@
|
||||
[package]
|
||||
name = "eframe"
|
||||
version = "0.6.0"
|
||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||
description = "Egui Framework - write GUI apps that compiles to web and/or natively"
|
||||
edition = "2018"
|
||||
homepage = "https://github.com/emilk/egui"
|
||||
license = "MIT OR Apache-2.0"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/emilk/egui"
|
||||
categories = ["gui", "graphics"]
|
||||
keywords = ["egui", "gui", "gamedev"]
|
||||
include = [ "**/*.rs", "Cargo.toml"]
|
||||
|
||||
[lib]
|
||||
|
||||
[dependencies]
|
||||
egui = { version = "0.6.0", path = "../egui", features = ["serde"] }
|
||||
epi = { version = "0.6.0", path = "../epi", features = ["serde", "serde_json"] }
|
||||
|
||||
# For compiling natively:
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
egui_glium = { path = "../egui_glium" }
|
||||
|
||||
# For compiling to web:
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
egui_web = { path = "../egui_web" }
|
||||
Reference in New Issue
Block a user