Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 8 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ console_error_panic_hook = { version = "0.1.7", optional = true }
# TODO: For use with generating native values.
# serde-wasm-bindgen = "0.6.5"

# CAP-71 pre-release: per-cap-feature layout, no 'curr' module.
[dependencies.stellar-xdr]
version = "26.0.1"
features = ["std", "curr", "base64", "serde", "serde_json", "schemars"]
# git = "https://github.com/stellar/rs-stellar-xdr"
# rev = "89a8bcde36aeda551cb0e3f9aa3e9fcf315fe1cc"
version = "26.0.0"
git = "https://github.com/stellar/rs-stellar-xdr"
rev = "a749b69b3471aec0c20ec431b0297f3414d66421"
features = ["std", "cap_0071", "base64", "serde", "serde_json", "schemars"]

[dev-dependencies]
wasm-bindgen-test = "0.3.34"
Expand All @@ -42,4 +43,6 @@ strip = "symbols"
debug-assertions = false

[package.metadata.wasm-pack.profile.release]
wasm-opt = ["-O", "--enable-bulk-memory"]
# wasm-opt disabled — local binaryen rejects the bulk-memory ops emitted by the
# rs-stellar-xdr @ a749b69b dep. Output is unoptimized but functionally correct.
wasm-opt = false
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mod console_error_panic_hook;
use schemars::gen::SchemaSettings;
use std::io::Cursor;
use std::str::FromStr;
use stellar_xdr::curr::{Limited, Limits, Type, TypeVariant, WriteXdr};
use stellar_xdr::{Limited, Limits, Type, TypeVariant, WriteXdr};
use wasm_bindgen::prelude::*;

// This is set to mirror https://github.com/stellar/rs-soroban-env/blob/main/soroban-env-host/src/budget/limits.rs#L14
Expand Down
Loading