From 93bfe2c75ec97ef78f993926c703f040dde4a5f3 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 30 Apr 2022 13:37:57 +0200 Subject: Expose `system` module through feature flag --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index c9a735e5..cbda3c87 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -224,8 +224,10 @@ pub use settings::Settings; pub use runtime::alignment; pub use runtime::futures; -pub use runtime::system; pub use runtime::{ Alignment, Background, Color, Command, ContentFit, Font, Length, Point, Rectangle, Size, Subscription, Vector, }; + +#[cfg(feature = "system")] +pub use runtime::system; -- cgit