File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ path = "lib.rs"
1818
1919[features ]
2020default = []
21- std = []
22- shared-fontique = [" dep:fontique " , " dep:ttf-parser " , " std " ]
21+ shared-fontique = [" dep:fontique " , " dep:ttf-parser " ]
22+ color-parsing = []
2323
2424[dependencies ]
2525ttf-parser = { workspace = true , optional = true }
Original file line number Diff line number Diff line change 33
44#![ doc = include_str ! ( "README.md" ) ]
55#![ doc( html_logo_url = "https://slint.dev/logo/slint-logo-square-light.svg" ) ]
6- #![ cfg_attr( not( feature = "std" ) , no_std) ]
6+ #![ cfg_attr( not( any ( feature = "shared-fontique" , feature = "color-parsing" ) ) , no_std) ]
77
88pub mod builtin_structs;
9- #[ cfg( feature = "std " ) ]
9+ #[ cfg( feature = "color-parsing " ) ]
1010pub mod color_parsing;
1111pub mod enums;
1212pub mod key_codes;
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ experimental-library-module = []
4141default = []
4242
4343[dependencies ]
44- i-slint-common = { workspace = true , features = [" default" , " std " ] }
44+ i-slint-common = { workspace = true , features = [" default" , " color-parsing " ] }
4545
4646num_enum = " 0.7"
4747strum = { workspace = true }
You can’t perform that action at this time.
0 commit comments