Skip to content

Commit

Permalink
Move the dioxus dependency to the workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
ASR-ASU committed May 22, 2024
1 parent 045a3e3 commit b1ddc79
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ members = [
"packages/example",
"packages/lib",
]

[workspace.dependencies]
dioxus = "0.5"
2 changes: 1 addition & 1 deletion packages/example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["nissy-dev <[email protected]>"]
edition = "2021"

[dependencies]
dioxus = { version = "0.5.0", features = ["web"] }
dioxus = { workspace = true, features = ["web"] }
dioxus-free-icons = { path = "../lib", features = ["font-awesome-brands"] }

log = "0.4.6"
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository = "https://github.com/dioxus-community/dioxus-free-icons"
readme = "../../README.md"

[dependencies]
dioxus = { version = "0.5.0" }
dioxus = { workspace = true }

[features]
font-awesome-brands = []
Expand Down

0 comments on commit b1ddc79

Please sign in to comment.