Skip to content

Commit 9a593b5

Browse files
committed
Allow powersync_loadable to be built without getrandom.
1 parent 6c88f4c commit 9a593b5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

crates/loadable/Cargo.toml

+6-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@ name = "powersync"
1313
crate-type = ["cdylib"]
1414

1515
[dependencies]
16-
powersync_core = { path="../core" }
1716
sqlite_nostd = { workspace=true }
1817

18+
[dependencies.powersync_core]
19+
path = "../core"
20+
default-features = false
21+
features = []
22+
1923
[features]
20-
default = ["powersync_core/loadable_extension", "sqlite_nostd/loadable_extension"]
24+
default = ["powersync_core/loadable_extension", "sqlite_nostd/loadable_extension", "powersync_core/getrandom"]

0 commit comments

Comments
 (0)