Skip to content

Commit 229285b

Browse files
authored
Merge branch 'master' into evgenii/infromative_change_error
2 parents c0e6b13 + e4ae872 commit 229285b

File tree

13 files changed

+542
-328
lines changed

13 files changed

+542
-328
lines changed

rust/Cargo.lock

Lines changed: 14 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/Cargo.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ num-integer = "0.1.45"
3232
# feature or this one
3333
clear_on_drop = { version = "0.2", features = ["no_cc"] }
3434
itertools = "0.10.1"
35-
getrandom = { version = "0.2.3", features = ["js"] }
3635
rand = "0.8.4"
3736
schemars = "0.8.8"
3837
serde = { version = "1.0", features = ["derive"] }
@@ -41,12 +40,15 @@ serde = { version = "1.0", features = ["derive"] }
4140
[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "emscripten"))))'.dependencies]
4241
rand_os = "0.1"
4342
noop_proc_macro = "0.3.0"
43+
getrandom = "0.2.3"
4444

4545
# wasm
4646
[target.'cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))'.dependencies]
47-
wasm-bindgen = { version = "=0.2.78", features = ["serde-serialize"] }
47+
serde-wasm-bindgen = "0.4.3"
48+
wasm-bindgen = "=0.2.78"
4849
rand_os = { version = "0.1", features = ["wasm-bindgen"] }
49-
js-sys = "=0.3.51"
50+
js-sys = "0.3.51"
51+
getrandom = { version = "0.2.3", features = ["js"] }
5052

5153
[profile.release]
5254
# Tell `rustc` to optimize for small code size.

rust/json-gen/src/main.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use cardano_serialization_lib::crypto::*;
77
use cardano_serialization_lib::metadata::*;
88
use cardano_serialization_lib::plutus::*;
99
use cardano_serialization_lib::utils::*;
10-
use crate::tx_builder::tx_inputs_builder::{PlutusWitness, PlutusWitnesses};
1110

1211
//#[macro_export]
1312
macro_rules! gen_json_schema {
@@ -156,8 +155,5 @@ fn main() {
156155
gen_json_schema!(BigInt);
157156
gen_json_schema!(Int);
158157
gen_json_schema!(Value);
159-
160-
// tx_builder.rs
161-
gen_json_schema!(PlutusWitness);
162-
gen_json_schema!(PlutusWitnesses);
158+
gen_json_schema!(TransactionUnspentOutput);
163159
}

0 commit comments

Comments
 (0)