Skip to content

Commit

Permalink
Review feedback: alphabetical sorting of cargo dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
teddemunnik committed Sep 24, 2024
1 parent c981259 commit ad4dc3b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ image = { version = "0.25", default-features = false }
log = { version = "0.4", features = ["std"] }
nohash-hasher = "0.2"
parking_lot = "0.12"
profiling = "1.0"
puffin = "0.19"
puffin_http = "0.16"
ron = "0.8"
Expand All @@ -95,7 +96,6 @@ web-sys = "0.3.70"
wgpu = { version = "22.1.0", default-features = false }
windows-sys = "0.52"
winit = { version = "0.30.5", default-features = false }
profiling = "1.0"

[workspace.lints.rust]
unsafe_code = "deny"
Expand Down
2 changes: 1 addition & 1 deletion crates/eframe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ ahash.workspace = true
document-features.workspace = true
log.workspace = true
parking_lot.workspace = true
profiling.workspace = true
raw-window-handle.workspace = true
static_assertions = "1.1.0"
web-time.workspace = true
profiling.workspace = true

# Optional dependencies

Expand Down
2 changes: 1 addition & 1 deletion crates/egui-winit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ egui = { workspace = true, default-features = false, features = ["log"] }
ahash.workspace = true
log.workspace = true
nix = { version = "0.26.4", default-features = false, optional = true }
profiling.workspace = true
raw-window-handle.workspace = true
web-time.workspace = true
winit = { workspace = true, default-features = false }
Expand All @@ -72,7 +73,6 @@ accesskit_winit = { version = "0.22", optional = true }
## Enable this when generating docs.
document-features = { workspace = true, optional = true }

profiling.workspace = true
serde = { workspace = true, optional = true }
webbrowser = { version = "1.0.0", optional = true }

Expand Down
2 changes: 1 addition & 1 deletion crates/egui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ epaint = { workspace = true, default-features = false }

ahash.workspace = true
nohash-hasher.workspace = true
profiling.workspace = true

#! ### Optional dependencies
accesskit = { version = "0.16", optional = true }
Expand All @@ -91,6 +92,5 @@ backtrace = { workspace = true, optional = true }
document-features = { workspace = true, optional = true }

log = { workspace = true, optional = true }
profiling.workspace=true
ron = { workspace = true, optional = true }
serde = { workspace = true, optional = true, features = ["derive", "rc"] }
2 changes: 1 addition & 1 deletion crates/egui_extras/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ egui = { workspace = true, default-features = false }
ahash.workspace = true
enum-map = { version = "2", features = ["serde"] }
log.workspace = true
profiling.workspace = true

#! ### Optional dependencies

Expand All @@ -91,7 +92,6 @@ image = { workspace = true, optional = true }
# file feature
mime_guess2 = { version = "2", optional = true, default-features = false }

profiling.workspace=true

syntect = { version = "5", optional = true, default-features = false, features = [
"default-fancy",
Expand Down
2 changes: 1 addition & 1 deletion crates/egui_glow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ ahash.workspace = true
bytemuck.workspace = true
glow.workspace = true
log.workspace = true
profiling.workspace=true
memoffset = "0.9"
profiling.workspace = true

#! ### Optional dependencies
## Enable this when generating docs.
Expand Down
3 changes: 1 addition & 2 deletions crates/epaint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ ab_glyph = "0.2.11"
ahash.workspace = true
nohash-hasher.workspace = true
parking_lot.workspace = true # Using parking_lot over std::sync::Mutex gives 50% speedups in some real-world scenarios.
profiling = { workspace = true}

#! ### Optional dependencies
bytemuck = { workspace = true, optional = true, features = ["derive"] }
Expand All @@ -89,8 +90,6 @@ serde = { workspace = true, optional = true, features = ["derive", "rc"] }

epaint_default_fonts = { workspace = true, optional = true }

profiling = { workspace = true}

# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
backtrace = { workspace = true, optional = true }
Expand Down

0 comments on commit ad4dc3b

Please sign in to comment.