We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Attempting to bundle burn into a WASM rust library results in a compile-time failure because libsqlite3 is included
libsqlite3
To Reproduce Installing burn with this snippet (attempting to disable the sqlite flag) causes the failure.
[dependencies.burn] version = "0.12.1" default-features = false features = ["std", "train", "ndarray"] [dev-dependencies.burn] version = "0.12.1" default-features = false features = ["std", "train", "ndarray"]
Expected behavior Disabling the sqlite feature should not attempt to install libsqlite3.
Looking at the dependency tree, this is coming from: burn-core => burn-dataset => r2d2_sqlite => rusqlite => libsqlite3-sys
Desktop (please complete the following information):
Additional context I see an example repo that seems to be avoiding this issue, but I'm not sure how. Thanks in advance!
The text was updated successfully, but these errors were encountered:
In the above PR I change burn-train's Cargo.toml default featureset to
default = ["metrics", "tui", "burn-core/default", "burn-core/dataset"]
while simultaneously doing
burn-core = { path = "../burn-core", version = "0.12.0", default-features = false }
This removes the hard burn-dataset dependency from burn-core. Perhaps this is enough to build to wasm.
burn-dataset
burn-core
Sorry, something went wrong.
Train in wasm is not supported. You should build with default features disabled, which would force you the library be no-std compatible.
No branches or pull requests
Describe the bug
Attempting to bundle burn into a WASM rust library results in a compile-time failure because
libsqlite3
is includedTo Reproduce
Installing burn with this snippet (attempting to disable the sqlite flag) causes the failure.
Expected behavior
Disabling the sqlite feature should not attempt to install libsqlite3.
Looking at the dependency tree, this is coming from:
burn-core => burn-dataset => r2d2_sqlite => rusqlite => libsqlite3-sys
Desktop (please complete the following information):
Additional context
I see an example repo that seems to be avoiding this issue, but I'm not sure how. Thanks in advance!
The text was updated successfully, but these errors were encountered: