-
Notifications
You must be signed in to change notification settings - Fork 25
/
Cargo.toml
138 lines (125 loc) · 4.92 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[package]
name = "hello_egui"
version = "0.6.0"
edition = "2021"
description = "A collection of useful crates for egui."
authors = ["Lucas Meurer"]
license = "MIT"
repository = "https://github.com/lucasmerlin/hello_egui"
homepage = "https://lucasmerlin.github.io/hello_egui/"
keywords = ["egui", "gui", "ui", "widgets"]
[package.metadata.release]
tag-prefix = "hello_egui-"
[package.metadata.docs.rs]
all-features = true
[features]
all = [
"animation",
"dnd",
"flex",
"form",
"inbox",
"infinite_scroll",
"pull_to_refresh",
"router",
"suspense",
"thumbhash",
"virtual_list",
]
full = ["all", "async", "tokio"]
animation = ["dep:egui_animation"]
async = [
"egui_suspense/async",
"egui_infinite_scroll/async",
"egui_router/async",
"egui_inbox/async",
]
dnd = ["dep:egui_dnd"]
flex = ["dep:egui_flex"]
form = ["dep:egui_form"]
inbox = ["dep:egui_inbox"]
infinite_scroll = ["dep:egui_infinite_scroll"]
pull_to_refresh = ["dep:egui_pull_to_refresh"]
router = ["dep:egui_router"]
suspense = ["dep:egui_suspense"]
thumbhash = ["dep:egui_thumbhash"]
tokio = ["egui_suspense/tokio", "egui_infinite_scroll/tokio"]
virtual_list = ["dep:egui_virtual_list"]
material_icons = ["dep:egui_material_icons"]
[dependencies]
egui_animation = { workspace = true, optional = true }
egui_dnd = { workspace = true, optional = true }
egui_inbox = { workspace = true, optional = true }
egui_flex = { workspace = true, optional = true }
egui_form = { workspace = true, optional = true }
egui_infinite_scroll = { workspace = true, optional = true }
egui_pull_to_refresh = { workspace = true, optional = true }
egui_router = { workspace = true, optional = true }
egui_suspense = { workspace = true, optional = true }
egui_thumbhash = { workspace = true, optional = true }
egui_virtual_list = { workspace = true, optional = true }
egui_material_icons = { workspace = true, optional = true }
[workspace]
members = ["fancy-example", "crates/*", "scripts"]
resolver = "2"
[workspace.dependencies]
egui_dnd = { path = "./crates/egui_dnd", version = "0.10.0" }
egui_animation = { path = "./crates/egui_animation", version = "0.6.0" }
hello_egui_utils = { path = "./crates/hello_egui_utils", version = "0.6.0" }
egui_flex = { path = "./crates/egui_flex", version = "0.1.1" }
egui_form = { path = "./crates/egui_form", version = "0.3.0" }
egui_inbox = { path = "./crates/egui_inbox", version = "0.6.0" }
egui_pull_to_refresh = { path = "./crates/egui_pull_to_refresh", version = "0.6.0" }
egui_router = { path = "./crates/egui_router", version = "0.2.0" }
egui_suspense = { path = "./crates/egui_suspense", version = "0.6.0" }
egui_virtual_list = { path = "./crates/egui_virtual_list", version = "0.5.0" }
egui_infinite_scroll = { path = "./crates/egui_infinite_scroll", version = "0.5.0" }
egui_thumbhash = { path = "./crates/egui_thumbhash", version = "0.5.0" }
egui_material_icons = { path = "./crates/egui_material_icons", version = "0.1.0" }
hello_egui = { path = ".", version = "0.6.0" }
egui = { version = "0.29", default-features = false }
eframe = { version = "0.29", default-features = false }
egui_extras = { version = "0.29", default-features = false }
rand = "0.8.5"
simple-easing = "1"
serde_json = "1"
ehttp = "0.5.0"
tokio = "1"
futures = "0.3"
serde = "1"
image = "0.25"
log = "0.4"
[workspace.lints.rust]
unsafe_code = "deny"
[workspace.lints.clippy]
pedantic = { level = "deny", priority = 1 }
enum_glob_use = { level = "deny", priority = 2 }
perf = { level = "warn", priority = 3 }
style = { level = "warn", priority = 4 }
# TODO: Uncomment/Deny the following lines when the clippy lints are fixed
# unwrap_used = { level = "deny", priority = 100 }
#expect_used = { level = "deny", priority = 101 }
module_name_repetitions = { level = "allow", priority = 10 }
cast_precision_loss = { level = "allow", priority = 11 }
cast_possible_truncation = { level = "allow", priority = 12 }
cast_sign_loss = { level = "allow", priority = 13 }
float_cmp = { level = "allow", priority = 14 }
struct_excessive_bools = { level = "allow", priority = 15 }
must_use_candidate = { level = "allow", priority = 16 }
return_self_not_must_use = { level = "allow", priority = 17 }
missing_panics_doc = { level = "allow", priority = 18 }
missing_errors_doc = { level = "allow", priority = 19 }
missing_fields_in_debug = { level = "allow", priority = 20 }
doc_markdown = { level = "allow", priority = 21 }
[patch.crates-io]
#wry = { path = "../../RustroverProjects/github/wry" }
#
#egui = { path = "../../IdeaProjects/egui/crates/egui" }
#eframe = { path = "../../IdeaProjects/egui/crates/eframe" }
#egui-wgpu = { path = "../../IdeaProjects/egui/crates/egui-wgpu" }
#egui_extras = { path = "../../IdeaProjects/egui/crates/egui_extras" }
#winit = { path = "../../IdeaProjects/github/winit" }
#
#egui = { git = "https://github.com/emilk/egui", branch = "master" }
#eframe = { git = "https://github.com/emilk/egui", branch = "master" }
#egui_extras = { git = "https://github.com/emilk/egui", branch = "master" }