1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -04:00

Use more workspace dependencies (#3975)

This commit is contained in:
Emil Ernerfeldt
2024-02-05 12:43:58 +01:00
committed by GitHub
parent a5f3881d59
commit bcebfecb84
15 changed files with 46 additions and 51 deletions

View File

@@ -83,21 +83,18 @@ unity = ["epaint/unity"]
[dependencies]
epaint = { version = "0.25.0", path = "../epaint", default-features = false }
ahash = { version = "0.8.6", default-features = false, features = [
"no-rng", # we don't need DOS-protection, so we let users opt-in to it instead
"std",
] }
nohash-hasher = "0.2"
ahash.workspace = true
nohash-hasher.workspace = true
#! ### Optional dependencies
accesskit = { version = "0.12", optional = true }
backtrace = { version = "0.3", optional = true }
backtrace = { workspace = true, optional = true }
## Enable this when generating docs.
document-features = { version = "0.2", optional = true }
document-features = { workspace = true, optional = true }
log = { version = "0.4", optional = true, features = ["std"] }
log = { workspace = true, optional = true }
puffin = { workspace = true, optional = true }
ron = { version = "0.8", optional = true }
serde = { version = "1", optional = true, features = ["derive", "rc"] }