Commit Graph
6 Commits
Author SHA1 Message Date
Evan AlmloffandJonathan Kelley c977cc125e 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>
2025-12-28 21:49:34 -05:00
Russians tortured my 18yo friend Ivan bc of ukr flag in mobile phone 68188f1d7b feat: update flake.lock (#3994) 2025-04-15 20:11:42 -07:00
Evan Almloff 13dcd80fbf Optimize wasm bindgen asset with manganis (#3531) 2025-01-21 15:14:45 -08:00
Sridhar RatnakumarandEvan Almloff e552251683 Restore Nix devShell support (#2890)
* nix: Avoid Linux only packages on macOS

* nix: Update flake inputs to get new compiler

In particular, updating nixpkgs & rust-overlay gets us Rust 1.80.1

* Fix partialeq for coroutine

* add a comment about manual implementation of traits for coroutine

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-08-28 09:25:25 -05:00
Sridhar Ratnakumar 6dbedd4e39 nix: Update rust version (#2133)
Do this by updating all flake inputs. Also comment out the unused crane input.
2024-03-24 13:31:38 -07:00
Sridhar Ratnakumar 0f0d90ee19 Add a simple nix dev shell 2023-10-21 14:06:07 -04:00