From 7b06a8d2d0f2ac26b20e7d278a8b8f3c0577095a Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Sun, 4 Dec 2022 15:55:08 +0100 Subject: [PATCH] Move 'accesskit' to under optional dependencies with a docstring --- crates/egui/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/egui/Cargo.toml b/crates/egui/Cargo.toml index 9dec778c..28a7cafb 100644 --- a/crates/egui/Cargo.toml +++ b/crates/egui/Cargo.toml @@ -57,7 +57,6 @@ serde = ["dep:serde", "epaint/serde", "accesskit?/serde"] [dependencies] epaint = { version = "0.19.0", path = "../epaint", default-features = false } -accesskit = { version = "0.8.0", optional = true } ahash = { version = "0.8.1", default-features = false, features = [ "no-rng", # we don't need DOS-protection, so we let users opt-in to it instead "std", @@ -65,6 +64,9 @@ ahash = { version = "0.8.1", default-features = false, features = [ nohash-hasher = "0.2" #! ### Optional dependencies +## Enable [`accesskit`](https://github.com/AccessKit/accesskit). +accesskit = { version = "0.8.0", optional = true } + ## Enable this when generating docs. document-features = { version = "0.2", optional = true }