mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Make document-features an opt-in dependency
This commit is contained in:
@@ -30,17 +30,16 @@ syntax_highlighting = ["syntect"]
|
||||
|
||||
|
||||
[dependencies]
|
||||
# Needed when generating the docs, but unfortunately also needed by `cargo check`
|
||||
document-features = "0.2"
|
||||
|
||||
egui = { version = "0.18.0", path = "../egui", default-features = false }
|
||||
egui_extras = { version = "0.18.0", path = "../egui_extras" }
|
||||
enum-map = { version = "2", features = ["serde"] }
|
||||
tracing = "0.1"
|
||||
unicode_names2 = { version = "0.5.0", default-features = false }
|
||||
|
||||
# Optional:
|
||||
#! ### Optional dependencies
|
||||
chrono = { version = "0.4", optional = true, features = ["js-sys", "wasmbind"] }
|
||||
## Enable this when generating docs.
|
||||
document-features = { version = "0.2", optional = true }
|
||||
serde = { version = "1", optional = true, features = ["derive"] }
|
||||
syntect = { version = "4", optional = true, default-features = false, features = ["default-fancy"] }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user