Move 'accesskit' to under optional dependencies with a docstring
This commit is contained in:
parent
125a7f0b1e
commit
7b06a8d2d0
1 changed files with 3 additions and 1 deletions
|
@ -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 }
|
||||
|
||||
|
|
Loading…
Reference in a new issue