Switch const serialize to use CBOR (#4932)
* implement const cbor encoding + decoding for basic types * implement map encoding and decoding * fix map test * all tests passing * dynamically sized arrays * smaller str encoding * swap array and list and add more documentation * move serialization and deserialization for each struct together * support both legacy and new assets * bump const serialize version * fix asset conversion code * pull out manganis symbol struct from tuble * test reading old asset versions * more list/array cleanup and bump rust version * fix clippy * switch cli opt port * install playwright deps * split cli-optimization package to avoid two dioxus' in the same crate * fix clippy * force the toast.png asset to be included in the linker stage #[used] has platform depedant behavior * bundle both formats in the link section and only use the asset the cli changed * remove sudo which doesn't exist on windows * add binstall to the playwright workflow * separate bin target for the old cli * lockfile * cargo update to get versions shaken out * notes on binstalls, add back `.read()` for compat * use 0.8.0-alpha.0 for const-serialize instead of 0.8 this ensures we can still publish breaking changes on 0.8 without taking over the full version * fix clippy in example * small debug nits * update rust-overlay in nix * fix flake? * migrate to new structure * just comment out binstalls * just remove old test harness --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
1 parent
c68a47b2d3
commit
c977cc125e
48 files changed
+3386
-2007
No files matched your search
+11
-3
@@ -194,9 +194,14 @@ dioxus-cli-opt = { path = "packages/cli-opt", version = "0.7.2" }
|
||||
dioxus-cli-telemetry = { path = "packages/cli-telemetry", version = "0.7.2" }
|
||||
dioxus-cli-config = { path = "packages/cli-config", version = "0.7.2" }
|
||||
|
||||
# const-serializea
|
||||
const-serialize = { path = "packages/const-serialize", version = "0.7.2" }
|
||||
const-serialize-macro = { path = "packages/const-serialize-macro", version = "0.7.2" }
|
||||
# const-serialize. these are on "alpha" versions, but really, we are prepping for 0.8 but not committing to it yet
|
||||
# once the workspace moves onto 0.8, we can clean this up, moving the const-serialize stuff back to normal versions
|
||||
const-serialize = { path = "packages/const-serialize", version = "0.8.0-alpha.0" }
|
||||
const-serialize-08 = { package = "const-serialize", path = "packages/const-serialize", version = "0.8.0-alpha.0" }
|
||||
const-serialize-macro = { path = "packages/const-serialize-macro", version = "0.8.0-alpha.0" }
|
||||
|
||||
# The version of const-serialize published with 0.7.0 and 0.7.1 that the CLI should still support
|
||||
const-serialize-07 = { package = "const-serialize", version = "=0.7.2" }
|
||||
|
||||
# subsecond
|
||||
subsecond-types = { path = "packages/subsecond/subsecond-types", version = "0.7.2" }
|
||||
@@ -207,6 +212,9 @@ manganis = { path = "packages/manganis/manganis", version = "0.7.2" }
|
||||
manganis-core = { path = "packages/manganis/manganis-core", version = "0.7.2" }
|
||||
manganis-macro = { path = "packages/manganis/manganis-macro", version = "0.7.2" }
|
||||
|
||||
# The version of assets published with 0.7.0 and 0.7.1 that the CLI should still support
|
||||
manganis-core-07 = { package = "manganis-core", version = "=0.7.2" }
|
||||
|
||||
# wasm-split
|
||||
wasm-splitter = { path = "packages/wasm-split/wasm-split", version = "0.7.2" }
|
||||
wasm-split-macro = { path = "packages/wasm-split/wasm-split-macro", version = "0.7.2" }
|
||||
|
||||
Reference in new issue
Block a user