2024-04-28 22:01:57 +02:00
|
|
|
[package]
|
|
|
|
name = "egui-circles"
|
2024-07-03 22:22:53 +02:00
|
|
|
version = "0.2.0"
|
|
|
|
authors = ["Andriy Djmil <andriy@djmil.dev>"]
|
2024-04-28 22:01:57 +02:00
|
|
|
edition = "2021"
|
2024-07-03 22:22:53 +02:00
|
|
|
rust-version = "1.76"
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
|
2024-04-28 22:01:57 +02:00
|
|
|
|
|
|
|
[dependencies]
|
2024-07-03 22:22:53 +02:00
|
|
|
egui = "0.28"
|
|
|
|
eframe = { version = "0.28", default-features = false, features = [
|
|
|
|
# "accesskit", # Make egui compatible 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.
|
|
|
|
] }
|
|
|
|
log = "0.4"
|
|
|
|
emath = "0.28.0"
|
|
|
|
rand = "0.8"
|
|
|
|
getrandom = { version = "0.2", features = ["js"] }
|
|
|
|
|
|
|
|
# native:
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
|
env_logger = "0.10"
|
|
|
|
|
|
|
|
# web:
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
wasm-bindgen-futures = "0.4"
|
|
|
|
|
|
|
|
# to access the DOM (to hide the loading text)
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
|
|
|
|
version = "0.3.4"
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
opt-level = 2 # fast and small wasm
|
|
|
|
|
|
|
|
# Optimize all dependencies even in debug builds:
|
|
|
|
[profile.dev.package."*"]
|
|
|
|
opt-level = 2
|