Skip to content

Commit 74df35a

Browse files
chore: use workspace packages (#144)
1 parent c327a20 commit 74df35a

File tree

11 files changed

+16
-11
lines changed

11 files changed

+16
-11
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ console_error_panic_hook = "0.1.7"
2121
console_log = "1.0.0"
2222
dyn_derive = "0.3.4"
2323
dyn_std = "0.3.3"
24+
floating-ui-core = { path = "./packages/core", version = "0.3.1" }
25+
floating-ui-dom = { path = "./packages/dom", version = "0.3.1" }
26+
floating-ui-leptos = { path = "./packages/leptos", version = "0.3.1" }
27+
floating-ui-utils = { path = "./packages/utils", version = "0.3.1" }
28+
floating-ui-yew = { path = "./packages/yew", version = "0.3.1" }
2429
leptos = "0.8.0"
2530
leptos_router = "0.8.0"
2631
leptos-node-ref = "0.2.0"

book-examples/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ version.workspace = true
1313
console_error_panic_hook.workspace = true
1414
console_log.workspace = true
1515
convert_case = "0.8.0"
16-
floating-ui-leptos = { path = "../packages/leptos" }
16+
floating-ui-leptos.workspace = true
1717
leptos = { workspace = true, features = ["csr"] }
1818
leptos-node-ref.workspace = true
1919
log.workspace = true

packages/core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ version.workspace = true
1212
[dependencies]
1313
dyn_derive.workspace = true
1414
dyn_std.workspace = true
15-
floating-ui-utils = { path = "../utils", version = "0.3.0" }
15+
floating-ui-utils.workspace = true
1616
serde.workspace = true
1717
serde_json.workspace = true

packages/dom/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ repository.workspace = true
1010
version.workspace = true
1111

1212
[dependencies]
13-
floating-ui-core = { path = "../core", version = "0.3.0" }
14-
floating-ui-utils = { path = "../utils", version = "0.3.0", features = ["dom"] }
13+
floating-ui-core.workspace = true
14+
floating-ui-utils = { workspace = true, features = ["dom"] }
1515
web-sys.workspace = true

packages/dom/example/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ crate-type = ["cdylib"]
1515
[dependencies]
1616
console_error_panic_hook.workspace = true
1717
console_log.workspace = true
18-
floating-ui-dom = { path = ".." }
18+
floating-ui-dom.workspace = true
1919
log.workspace = true
2020
wasm-bindgen.workspace = true
2121
web-sys.workspace = true

packages/leptos/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ version.workspace = true
1212
[dependencies]
1313
dyn_derive.workspace = true
1414
dyn_std.workspace = true
15-
floating-ui-dom = { path = "../dom", version = "0.3.0" }
15+
floating-ui-dom.workspace = true
1616
leptos.workspace = true
1717
leptos-node-ref.workspace = true
1818
send_wrapper.workspace = true

packages/leptos/example/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ version.workspace = true
1212
[dependencies]
1313
console_error_panic_hook.workspace = true
1414
console_log.workspace = true
15-
floating-ui-leptos = { path = ".." }
15+
floating-ui-leptos.workspace = true
1616
leptos = { workspace = true, features = ["csr"] }
1717
leptos-node-ref.workspace = true
1818
log.workspace = true

packages/leptos/tests/visual/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ version.workspace = true
1313
console_error_panic_hook.workspace = true
1414
console_log.workspace = true
1515
convert_case = "0.6.0"
16-
floating-ui-leptos = { path = "../.." }
16+
floating-ui-leptos.workspace = true
1717
leptos = { workspace = true, features = ["csr"] }
1818
leptos_router.workspace = true
1919
leptos-node-ref.workspace = true

packages/yew/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository.workspace = true
1010
version.workspace = true
1111

1212
[dependencies]
13-
floating-ui-dom = { path = "../dom", version = "0.3.0" }
13+
floating-ui-dom.workspace = true
1414
yew.workspace = true
1515
web-sys.workspace = true
1616

packages/yew/example/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ version.workspace = true
1212
[dependencies]
1313
console_error_panic_hook.workspace = true
1414
console_log.workspace = true
15-
floating-ui-yew = { path = ".." }
15+
floating-ui-yew.workspace = true
1616
log.workspace = true
1717
wasm-bindgen.workspace = true
1818
web-sys.workspace = true

0 commit comments

Comments
 (0)