-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove in-memory SerializedModuleCache (#136)
* feat: remove in-memory SerializedModuleCache, move logic to perist serialized modules to filesystem into ModuleCache * chore: cleaner docs * chore: fmt + clippy * chore: rename fn for clarity * chore: clearer code * chore: comment clarity Co-authored-by: ThetaSinner <[email protected]> * chore: wording Co-authored-by: ThetaSinner <[email protected]> * chore: link to github discussion Co-authored-by: Jost <[email protected]> * chore: clearer simpler naming without redundant 'Serialized' and 'Deserialized' * refactor: separate concerns ModuleBuilder from ModuleCache --------- Co-authored-by: ThetaSinner <[email protected]> Co-authored-by: Jost <[email protected]>
- Loading branch information
1 parent
45cac55
commit 4961063
Showing
7 changed files
with
314 additions
and
237 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,11 @@ version = "0.0.97" | |
authors = ["thedavidmeister", "[email protected]"] | ||
edition = "2021" | ||
|
||
[lib] | ||
name = "holochain_wasmer_host" | ||
crate-type = ["cdylib", "rlib"] | ||
path = "src/lib.rs" | ||
|
||
[dependencies] | ||
wasmer = { version = "5.0.2", default-features = false } | ||
wasmer-middlewares = { version = "5.0.2", optional = true } | ||
|
@@ -20,10 +25,8 @@ bytes = "1" | |
hex = "0.4" | ||
thiserror = "2" | ||
|
||
[lib] | ||
name = "holochain_wasmer_host" | ||
crate-type = ["cdylib", "rlib"] | ||
path = "src/lib.rs" | ||
[dev-dependencies] | ||
tempfile = "3.14.0" | ||
|
||
[features] | ||
default = ["error_as_host", "wasmer_sys_dev"] | ||
|
Oops, something went wrong.