Skip to content

Commit

Permalink
Merge pull request #224 from spamviech/main
Browse files Browse the repository at this point in the history
only activate required iced-features
  • Loading branch information
genusistimelord authored Mar 17, 2024
2 parents 83adef3 + 996662c commit 7311ccc
Show file tree
Hide file tree
Showing 26 changed files with 69 additions and 32 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ itertools = { version = "0.12.1", optional = true }
#git = "https://github.com/iced-rs/iced.git"
#rev = "b474a2b7a763dcde6a377cb409001a7b5285ee8d"
version = "0.12.1"
features = ["advanced", "lazy", "tokio",]
default-features = false
features = ["advanced"]

[profile.dev.package."*"]
opt-level = 2
Expand Down Expand Up @@ -120,9 +121,9 @@ members = [
#git = "https://github.com/iced-rs/iced.git"
#rev = "b474a2b7a763dcde6a377cb409001a7b5285ee8d"
version = "0.12.1"
features = ["advanced", "lazy", "tokio", "canvas"]
default-features = false
features = ["advanced"]

[workspace.dependencies.iced_aw]
path = "./"
default-features = false
features = ["num-traits"]
6 changes: 4 additions & 2 deletions examples/WidgetIDReturn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ iced_aw = { workspace = true, features = [
"number_input",
"icons",
] }
iced.workspace = true
num-traits = "0.2.16"
iced = { workspace = true, features = [
"wgpu",
] }
num-traits = "0.2.16"
6 changes: 5 additions & 1 deletion examples/badge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ edition = "2021"
[dependencies]
iced_aw = { workspace = true, features = [
"badge",
"icons",
] }

iced = { workspace = true, features = [
"wgpu",
] }
iced.workspace = true
4 changes: 3 additions & 1 deletion examples/card/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ edition = "2021"
iced_aw = { workspace = true, features = [
"card", "icons"
] }
iced.workspace = true
iced = { workspace = true, features = [
"wgpu",
] }
4 changes: 3 additions & 1 deletion examples/color_picker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ edition = "2021"
iced_aw = { workspace = true, features = [
"color_picker",
] }
iced.workspace = true
iced = { workspace = true, features = [
"wgpu",
] }
3 changes: 2 additions & 1 deletion examples/context_menu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ edition = "2021"
[dependencies]
iced_aw = { workspace = true, features = [
"context_menu",
"icons",
] }
iced.workspace = true
iced.workspace = true
3 changes: 1 addition & 2 deletions examples/cupertino/cupertino_spinner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ edition = "2021"
publish = false

[dependencies]
iced.workspace = true
iced = { workspace = true, features = ["tokio"] }
iced_aw = { path = "../../../", features = ["cupertino"] }
tokio = { version = "1.29.1", features = ["time"] }

5 changes: 4 additions & 1 deletion examples/drop_down/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ edition = "2021"
[dependencies]
iced_aw = { workspace = true, features = [
"drop_down",
"icons",
] }
iced = { workspace = true, features = [
"wgpu",
] }
iced.workspace = true
4 changes: 3 additions & 1 deletion examples/floating_element multioverlay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ iced_aw = { workspace = true, features = [
"floating_element",
"icons",
] }
iced.workspace = true
iced = { workspace = true, features = [
"wgpu",
] }
1 change: 1 addition & 0 deletions examples/floating_element_anchors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ edition = "2021"
[dependencies]
iced_aw = { workspace = true, features = [
"floating_element",
"icons",
] }
iced.workspace = true
4 changes: 3 additions & 1 deletion examples/font_loading/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
iced.workspace = true
iced = { workspace = true, features = [
"wgpu",
] }
iced_aw = { workspace = true, features = [ "icons" ] }

2 changes: 1 addition & 1 deletion examples/grid/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ authors = ["Alexander van Saase <avsaase [at] gmail.com>"]
edition = "2021"

[dependencies]
iced_aw = { workspace = true, features = ["grid"] }
iced_aw = { workspace = true, features = ["grid", "icons"] }
iced.workspace = true
2 changes: 1 addition & 1 deletion examples/menu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ iced_aw = { workspace = true, features = [
"quad",
"icons"
] }
iced = {workspace = true, features = ["svg"]}
iced = {workspace = true, features = ["svg", "wgpu"]}
3 changes: 2 additions & 1 deletion examples/modal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ edition = "2021"
iced_aw = { workspace = true, features = [
"card",
"modal",
"icons",
] }
iced.workspace = true
iced.workspace = true
5 changes: 4 additions & 1 deletion examples/modal_component/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ edition = "2021"
iced_aw = { workspace = true, features = [
"card",
"modal",
"icons",
] }
iced = { workspace = true, features = [
"lazy",
] }
iced.workspace = true
6 changes: 4 additions & 2 deletions examples/multiple_modals/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
iced_aw = { workspace = true, features = ["card", "modal"] }
iced.workspace = true
iced_aw = { workspace = true, features = ["card", "modal", "icons"] }
iced = { workspace = true, features = [
"wgpu",
] }
5 changes: 4 additions & 1 deletion examples/number_input/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ iced_aw = { workspace = true, features = [
"number_input",
"icons",
] }
iced.workspace = true

iced = { workspace = true, features = [
"wgpu",
] }
3 changes: 2 additions & 1 deletion examples/selection_list/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ publish = false
[dependencies]
iced_aw = { workspace = true, features = [
"selection_list",
"icons",
] }
iced.workspace = true
iced.workspace = true
6 changes: 5 additions & 1 deletion examples/sliderbar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ edition = "2021"
[dependencies]
iced_aw = { workspace = true, features = [
"slide_bar",
"icons",
"number_input",
] }
iced = { workspace = true, features = [
"wgpu",
] }
iced.workspace = true
1 change: 1 addition & 0 deletions examples/spinner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ publish = false
[dependencies]
iced_aw = { workspace = true, features = [
"spinner",
"icons",
] }
iced.workspace = true
2 changes: 1 addition & 1 deletion examples/split/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
iced_aw = { workspace = true, features = ["split"] }
iced_aw = { workspace = true, features = ["split", "icons"] }
iced.workspace = true
4 changes: 2 additions & 2 deletions examples/split_scroller/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
iced_aw = { workspace = true, features = ["split"] }
iced_aw = { workspace = true, features = ["split", "icons"] }
iced.workspace = true
once_cell = "1.17.1"
once_cell = "1.17.1"
6 changes: 4 additions & 2 deletions examples/tab_bar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
iced_aw = { workspace = true, features = ["tab_bar"] }
iced.workspace = true
iced_aw = { workspace = true, features = ["tab_bar", "icons"] }
iced = { workspace = true, features = [
"wgpu",
] }
4 changes: 2 additions & 2 deletions examples/tabs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
iced_aw = { workspace = true, features = ["tabs"] }
iced = { workspace = true, features = [ "image"] }
iced_aw = { workspace = true, features = ["tabs", "icons"] }
iced = { workspace = true, features = [ "image"] }
1 change: 1 addition & 0 deletions examples/wrap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ edition = "2021"
iced_aw = { workspace = true, features = [
"wrap",
"number_input",
"icons",
] }
rand = "0.8"
iced.workspace = true

0 comments on commit 7311ccc

Please sign in to comment.