-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
87 lines (74 loc) · 2.38 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[workspace]
members = [ "crates/egui_mobius", "crates/egui_mobius_widgets",
"crates/egui_mobius_reactive", "crates/egui_mobius_components",
"examples/clock_async",
"examples/clock_reactive",
"examples/dashboard",
"examples/dashboard_async",
"examples/reactive",
"examples/reactive_slider",
"examples/realtime_plot",
"examples/ui_refresh_events",
"examples/logger_component",
"examples"
]
# exclude = [
# this example has its own workspace
# "examples/egui_crux_example"
#]
resolver = "2"
[workspace.package]
edition = "2024"
license = "MIT"
rust-version = "1.85"
version = "0.3.0-alpha.31"
[workspace.dependencies]
# egui mobius related crates
egui_mobius = { version = "0.3.0-alpha.31", path = "crates/egui_mobius" }
egui_mobius_widgets = { version = "0.3.0-alpha.31", path = "crates/egui_mobius_widgets" }
egui_mobius_reactive = { version = "0.3.0-alpha.31", path = "crates/egui_mobius_reactive" }
egui_mobius_components = { version = "0.3.0-alpha.31", path = "crates/egui_mobius_components" }
# egui and eframe
egui_plot = "0.31.0"
egui = "0.31.1"
eframe = { version = "0.31.1", default-features = false }
egui-winit = { version = "0.31.1", features = ["accesskit"] }
egui_extras = "0.31.1"
egui_taffy = "0.7.0"
# random number generation, useful for testing and examples
rand = "0.9.0"
# async support
tokio = "1.43.0"
# logging and environment
log = "0.4"
env_logger = "0.9"
# date and time
chrono = "0.4.40"
# utilities
lazy_static = "1.5.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
ron = "0.8"
dirs = "5.0"
# windowing
winit = "0.30.9"
# alternative to std::sync::mpsc
crossbeam-channel = "0.5.14"
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
[workspace.lints.rust]
unsafe_code = "deny"
elided_lifetimes_in_paths = "warn"
future_incompatible = { level = "warn", priority = -1 }
nonstandard_style = { level = "warn", priority = -1 }
rust_2018_idioms = { level = "warn", priority = -1 }
rust_2021_prelude_collisions = "warn"
semicolon_in_expressions_from_macros = "warn"
trivial_numeric_casts = "warn"
unexpected_cfgs = "warn"
unsafe_op_in_unsafe_fn = "warn" # `unsafe_op_in_unsafe_fn` may become the default in future Rust versions: https://github.com/rust-lang/rust/issues/71668
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"