Skip to content

Commit 50341f1

Browse files
authored
feat: Feature-gate the accesskit_atspi_common::simplified module (#430)
1 parent 0e89671 commit 50341f1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

platforms/atspi-common/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ readme = "README.md"
1111
edition.workspace = true
1212
rust-version.workspace = true
1313

14+
[features]
15+
simplified-api = []
16+
1417
[dependencies]
1518
accesskit = { version = "0.15.0", path = "../../common" }
1619
accesskit_consumer = { version = "0.23.0", path = "../../consumer" }

platforms/atspi-common/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ mod events;
1212
mod filters;
1313
mod node;
1414
mod rect;
15+
#[cfg(feature = "simplified-api")]
1516
pub mod simplified;
1617
mod util;
1718

0 commit comments

Comments
 (0)