[package]
name = "egui_demo_lib"
version = "0.7.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Example library for Egui"
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 = ["glium", "egui", "gui", "gamedev"]
include = [ "**/*.rs", "Cargo.toml"]

[lib]

[dependencies]
egui = { version = "0.7.0", path = "../egui" }
epi = { version = "0.7.0", path = "../epi" }

# feature "http":
image = { version = "0.23", default_features = false, features = ["jpeg", "png"], optional = true }
syntect = { version = "4", default_features = false, features = ["default-fancy"], optional = true }

# feature "persistence":
serde = { version = "1", features = ["derive"], optional = true }

[dev-dependencies]
criterion = { version = "0.3", default-features = false }

[features]
default = []
http = ["image", "syntect", "epi/http"]
persistence = ["epi/persistence", "serde"]

[[bench]]
name = "benchmark"
harness = false
