-
Notifications
You must be signed in to change notification settings - Fork 28
/
Cargo.toml
52 lines (45 loc) · 1.66 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
[package]
name = "egui_graphs"
version = "0.22.0"
authors = ["Dmitrii Samsonov <[email protected]>"]
license = "MIT"
homepage = "https://github.com/blitzarx1/egui_graphs"
repository = "https://github.com/blitzarx1/egui_graphs"
description = "Interactive graph visualization widget for rust powered by egui"
edition = "2021"
keywords = ["egui", "ui", "graph", "node-graph"]
categories = ["gui", "visualization"]
[dependencies]
egui = { version = "0.29", default-features = false, features = [
"persistence",
] }
rand = "0.8"
petgraph = { version = "0.6", default-features = false, features = [
"stable_graph",
"matrix_graph",
"serde-1",
] }
serde = { version = "1.0", features = ["derive"] }
crossbeam = { version = "0.8", optional = true }
[features]
events = ["dep:crossbeam"]
[workspace]
members = ["examples/*"]
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
pedantic = { level = "deny", priority = 0 }
enum_glob_use = { level = "deny", priority = 1 }
perf = { level = "deny", priority = 2 }
style = { level = "deny", priority = 3 }
# unwrap_used = { level = "deny", priority = 4 } These should enabled in the future
# expect_used = { level = "deny", priority = 5 }
module_name_repetitions = { level = "allow", priority = 6 }
cast_precision_loss = { level = "allow", priority = 7 }
float_cmp = { level = "allow", priority = 8 }
cast_possible_truncation = { level = "allow", priority = 9 }
cast_sign_loss = { level = "allow", priority = 10 }
out_of_bounds_indexing = { level = "allow", priority = 11 }
must_use_candidate = { level = "allow", priority = 12 }
struct_excessive_bools = { level = "allow", priority = 13 }
return_self_not_must_use = { level = "allow", priority = 14 }