Skip to content

Commit 0ca15e2

Browse files
committed
Don't gate around experimental-rich-text feature
1 parent 1d52442 commit 0ca15e2

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

internal/core/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ raw-window-handle-06 = ["dep:raw-window-handle-06"]
6868

6969
experimental = []
7070

71-
experimental-rich-text = ["dep:pulldown-cmark", "dep:htmlparser", "dep:thiserror", "i-slint-common/color-parsing"]
71+
experimental-rich-text = []
7272

7373
unstable-wgpu-26 = ["dep:wgpu-26"]
7474
unstable-wgpu-27 = ["dep:wgpu-27"]
@@ -81,7 +81,7 @@ default = ["std", "unicode"]
8181
shared-parley = ["shared-fontique", "dep:parley", "dep:skrifa"]
8282

8383
[dependencies]
84-
i-slint-common = { workspace = true, features = ["default"] }
84+
i-slint-common = { workspace = true, features = ["default", "color-parsing"] }
8585
i-slint-core-macros = { workspace = true, features = ["default"] }
8686

8787
const-field-offset = { version = "0.1.5", path = "../../helper_crates/const-field-offset" }
@@ -115,7 +115,7 @@ bytemuck = { workspace = true, optional = true, features = ["derive"] }
115115
zeno = { version = "0.3.3", optional = true, default-features = false, features = ["eval"] }
116116
sys-locale = { version = "0.3.2", optional = true, features = ["js"] }
117117
parley = { version = "0.6.0", optional = true }
118-
pulldown-cmark = { version = "0.13.0", optional = true }
118+
pulldown-cmark = "0.13.0"
119119

120120
image = { workspace = true, optional = true, default-features = false }
121121
clru = { workspace = true, optional = true }
@@ -136,8 +136,8 @@ wgpu-27 = { workspace = true, optional = true }
136136
tr = { workspace = true, optional = true }
137137

138138
webbrowser = { version = "1.0.6", optional = true }
139-
htmlparser = { version = "0.2.1", optional = true }
140-
thiserror = { version = "2.0.17", optional = true }
139+
htmlparser = "0.2.1"
140+
thiserror = "2.0.17"
141141

142142
[target.'cfg(target_family = "unix")'.dependencies]
143143
gettext-rs = { version = "0.7.1", optional = true, features = ["gettext-system"] }

internal/core/api.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ use crate::window::{WindowAdapter, WindowInner};
1515
use alloc::boxed::Box;
1616
use alloc::string::String;
1717

18-
#[cfg(feature = "experimental-rich-text")]
1918
mod styled_text;
20-
#[cfg(feature = "experimental-rich-text")]
2119
pub use styled_text::*;
2220

2321
/// A position represented in the coordinate space of logical pixels. That is the space before applying

0 commit comments

Comments
 (0)