Skip to content
New issue

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

WASM build changes #275

Merged
merged 2 commits into from
Nov 14, 2023
Merged

WASM build changes #275

merged 2 commits into from
Nov 14, 2023

Conversation

rooooooooob
Copy link
Contributor

Groups all non-multi-era crates into one "cardano-multiplatform-lib" crate designed to replace the existing version. This is done as interop between the cml crates in wasm was garbage (types not compatible, need binary to-from to go between them, bloat due to cml-chain/cml-crypto/etc being included multiple times).

cml-multi-era will be the other wasm-end-user crate which now includes all other crates as a complete CML. We don't just have one version now as the size is almost double the non-multi-era one.

Adds the json-schema crate for cip36 which was missing and needed regenerating.

This also changes the optimization level to reduce wasm builds.

Groups all non-multi-era crates into one "cardano-multiplatform-lib"
crate designed to replace the existing version. This is done as interop
between the cml crates in wasm was garbage (types not compatible, need
binary to-from to go between them, bloat due to cml-chain/cml-crypto/etc
being included multiple times).

cml-multi-era will be the other wasm-end-user crate which now includes
all other crates as a complete CML. We don't just have one version now
as the size is almost double the non-multi-era one.

Adds the json-schema crate for cip36 which was missing and needed
regenerating.

This also changes the optimization level to reduce wasm builds.
@gostkin gostkin merged commit fe93d3a into develop Nov 14, 2023
1 check passed
@rooooooooob rooooooooob deleted the wasm-cml-crate branch July 18, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants