Skip to content

Commit

Permalink
6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGllmt committed Aug 26, 2024
1 parent 54cec5b commit 25ff92b
Show file tree
Hide file tree
Showing 21 changed files with 75 additions and 75 deletions.
6 changes: 3 additions & 3 deletions chain/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cml-chain"
version = "5.3.1"
version = "6.0.0"
edition = "2018"
authors = ["dcSpark"]
license = "MIT"
Expand All @@ -17,8 +17,8 @@ crate-type = ["cdylib", "rlib"]
used_from_wasm = ["wasm-bindgen"]

[dependencies]
cml-core = { "path" = "../../core/rust", version = "5.3.1" }
cml-crypto = { "path" = "../../crypto/rust", version = "5.3.1" }
cml-core = { "path" = "../../core/rust", version = "6.0.0" }
cml-crypto = { "path" = "../../crypto/rust", version = "6.0.0" }
cbor_event = "2.2.0"
linked-hash-map = "0.5.3"
derivative = "2.2.0"
Expand Down
12 changes: 6 additions & 6 deletions chain/wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cml-chain-wasm"
version = "5.3.1"
version = "6.0.0"
edition = "2018"
authors = ["dcSpark"]
license = "MIT"
Expand All @@ -14,12 +14,12 @@ keywords = ["cardano"]
crate-type = ["cdylib", "rlib"]

[dependencies]
cml-chain = { path = "../rust", version = "5.3.1", features = ["used_from_wasm"] }
cml-core = { path = "../../core/rust", version = "5.3.1" }
cml-core-wasm = { path = "../../core/wasm", version = "5.3.1" }
cml-chain = { path = "../rust", version = "6.0.0", features = ["used_from_wasm"] }
cml-core = { path = "../../core/rust", version = "6.0.0" }
cml-core-wasm = { path = "../../core/wasm", version = "6.0.0" }
# TODO: remove this dependency if possible to reduce confusion? maybe pub export necessary things in crypto-wasm?
cml-crypto = { path = "../../crypto/rust", version = "5.3.1" }
cml-crypto-wasm = { path = "../../crypto/wasm", version = "5.3.1" }
cml-crypto = { path = "../../crypto/rust", version = "6.0.0" }
cml-crypto-wasm = { path = "../../crypto/wasm", version = "6.0.0" }
cbor_event = "2.4.0"
hex = "0.4.0"
wasm-bindgen = { version = "0.2.87" }
Expand Down
2 changes: 1 addition & 1 deletion chain/wasm/json-gen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cml-chain-json-schema-gen"
version = "5.3.1"
version = "6.0.0"
edition = "2018"
keywords = ["cardano"]

Expand Down
8 changes: 4 additions & 4 deletions cip25/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cml-cip25"
version = "5.3.1"
version = "6.0.0"
edition = "2018"
authors = ["dcSpark"]
license = "MIT"
Expand All @@ -14,9 +14,9 @@ keywords = ["cardano", "cip25"]
crate-type = ["cdylib", "rlib"]

[dependencies]
cml-chain = { "path" = "../../chain/rust", version = "5.3.1" }
cml-core = { "path" = "../../core/rust", version = "5.3.1" }
cml-crypto = { "path" = "../../crypto/rust", version = "5.3.1" }
cml-chain = { "path" = "../../chain/rust", version = "6.0.0" }
cml-core = { "path" = "../../core/rust", version = "6.0.0" }
cml-crypto = { "path" = "../../crypto/rust", version = "6.0.0" }
cbor_event = "2.2.0"
hex = "0.4.0"
schemars = "0.8.8"
Expand Down
12 changes: 6 additions & 6 deletions cip25/wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cml-cip25-wasm"
version = "5.3.1"
version = "6.0.0"
edition = "2018"
authors = ["dcSpark"]
license = "MIT"
Expand All @@ -15,11 +15,11 @@ crate-type = ["cdylib", "rlib"]

[dependencies]
cbor_event = "2.2.0"
cml-chain = { path = "../../chain/rust", version = "5.3.1", features = ["used_from_wasm"] }
cml-chain-wasm = { path = "../../chain/wasm", version = "5.3.1" }
cml-core = { path = "../../core/rust", version = "5.3.1" }
cml-core-wasm = { path = "../../core/wasm", version = "5.3.1" }
cml-cip25 = { path = "../rust", version = "5.3.1" }
cml-chain = { path = "../../chain/rust", version = "6.0.0", features = ["used_from_wasm"] }
cml-chain-wasm = { path = "../../chain/wasm", version = "6.0.0" }
cml-core = { path = "../../core/rust", version = "6.0.0" }
cml-core-wasm = { path = "../../core/wasm", version = "6.0.0" }
cml-cip25 = { path = "../rust", version = "6.0.0" }
hex = "0.4.0"
linked-hash-map = "0.5.3"
serde_json = "1.0.57"
Expand Down
4 changes: 2 additions & 2 deletions cip25/wasm/json-gen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "cml-cip25-json-schema-gen"
version = "5.3.1"
version = "6.0.0"
edition = "2018"
keywords = ["cardano"]

[dependencies]
serde_json = "1.0.57"
schemars = "0.8.8"
cml-cip25 = { path = "../../rust", version = "5.3.1" }
cml-cip25 = { path = "../../rust", version = "6.0.0" }
8 changes: 4 additions & 4 deletions cip36/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cml-cip36"
version = "5.3.1"
version = "6.0.0"
edition = "2018"
authors = ["dcSpark"]
license = "MIT"
Expand All @@ -14,9 +14,9 @@ keywords = ["cardano", "cip36"]
crate-type = ["cdylib", "rlib"]

[dependencies]
cml-core = { "path" = "../../core/rust", version = "5.3.1" }
cml-crypto = { "path" = "../../crypto/rust", version = "5.3.1" }
cml-chain = { "path" = "../../chain/rust", version = "5.3.1" }
cml-core = { "path" = "../../core/rust", version = "6.0.0" }
cml-crypto = { "path" = "../../crypto/rust", version = "6.0.0" }
cml-chain = { "path" = "../../chain/rust", version = "6.0.0" }
cbor_event = "2.2.0"
linked-hash-map = "0.5.3"
derivative = "2.2.0"
Expand Down
16 changes: 8 additions & 8 deletions cip36/wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cml-cip36-wasm"
version = "5.3.1"
version = "6.0.0"
edition = "2018"
authors = ["dcSpark"]
license = "MIT"
Expand All @@ -14,13 +14,13 @@ keywords = ["cardano", "cip36"]
crate-type = ["cdylib", "rlib"]

[dependencies]
cml-cip36 = { path = "../rust", version = "5.3.1" }
cml-crypto = { path = "../../crypto/rust", version = "5.3.1" }
cml-crypto-wasm = { path = "../../crypto/wasm", version = "5.3.1" }
cml-chain = { path = "../../chain/rust", version = "5.3.1" }
cml-chain-wasm = { path = "../../chain/wasm", version = "5.3.1" }
cml-core = { path = "../../core/rust", version = "5.3.1" }
cml-core-wasm = { path = "../../core/wasm", version = "5.3.1" }
cml-cip36 = { path = "../rust", version = "6.0.0" }
cml-crypto = { path = "../../crypto/rust", version = "6.0.0" }
cml-crypto-wasm = { path = "../../crypto/wasm", version = "6.0.0" }
cml-chain = { path = "../../chain/rust", version = "6.0.0" }
cml-chain-wasm = { path = "../../chain/wasm", version = "6.0.0" }
cml-core = { path = "../../core/rust", version = "6.0.0" }
cml-core-wasm = { path = "../../core/wasm", version = "6.0.0" }
cbor_event = "2.2.0"
hex = "0.4.0"
wasm-bindgen = { version = "0.2.87" }
Expand Down
2 changes: 1 addition & 1 deletion cip36/wasm/json-gen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cml-cip36-json-schema-gen"
version = "5.3.1"
version = "6.0.0"
edition = "2018"


Expand Down
12 changes: 6 additions & 6 deletions cml/wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cardano-multiplatform-lib"
version = "5.3.1"
version = "6.0.0"
edition = "2018"
keywords = ["cardano"]
license = "MIT"
Expand All @@ -13,11 +13,11 @@ readme = "../../README.md"
crate-type = ["cdylib", "rlib"]

[dependencies]
cml-chain-wasm = { path = "../../chain/wasm", version = "5.3.1" }
cml-cip25-wasm = { path = "../../cip25/wasm", version = "5.3.1" }
cml-cip36-wasm = { path = "../../cip36/wasm", version = "5.3.1" }
cml-crypto-wasm = { path = "../../crypto/wasm", version = "5.3.1" }
cml-core-wasm = { path = "../../core/wasm", version = "5.3.1" }
cml-chain-wasm = { path = "../../chain/wasm", version = "6.0.0" }
cml-cip25-wasm = { path = "../../cip25/wasm", version = "6.0.0" }
cml-cip36-wasm = { path = "../../cip36/wasm", version = "6.0.0" }
cml-crypto-wasm = { path = "../../crypto/wasm", version = "6.0.0" }
cml-core-wasm = { path = "../../core/wasm", version = "6.0.0" }
cbor_event = "2.4.0"
hex = "0.4.0"
linked-hash-map = "0.5.3"
Expand Down
2 changes: 1 addition & 1 deletion cml/wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cardano-multiplatform-lib",
"version": "5.3.1",
"version": "6.0.0",
"description": "Cardano Multiplatform SDK for core Cardano blockchain functionality",
"keywords": [
"cardano"
Expand Down
2 changes: 1 addition & 1 deletion core/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cml-core"
version = "5.3.1"
version = "6.0.0"
edition = "2018"
authors = ["dcSpark"]
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions core/wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cml-core-wasm"
version = "5.3.1"
version = "6.0.0"
edition = "2018"
keywords = ["cardano"]
license = "MIT"
Expand All @@ -13,7 +13,7 @@ readme = "../../README.md"
crate-type = ["cdylib", "rlib"]

[dependencies]
cml-core = { path = "../rust", version = "5.3.1" }
cml-core = { path = "../rust", version = "6.0.0" }
cbor_event = "2.2.0"
hex = "0.4.0"
wasm-bindgen = { version = "0.2.87" }
Expand Down
4 changes: 2 additions & 2 deletions crypto/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cml-crypto"
version = "5.3.1"
version = "6.0.0"
edition = "2018"
authors = ["dcSpark"]
license = "MIT"
Expand All @@ -14,7 +14,7 @@ keywords = ["cardano"]
crate-type = ["cdylib", "rlib"]

[dependencies]
cml-core = { "path" = "../../core/rust", version = "5.3.1" }
cml-core = { "path" = "../../core/rust", version = "6.0.0" }
base64 = "0.21.5"
cbor_event = "2.2.0"
cryptoxide = "0.4.2"
Expand Down
6 changes: 3 additions & 3 deletions crypto/wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cml-crypto-wasm"
version = "5.3.1"
version = "6.0.0"
edition = "2018"
authors = ["dcSpark"]
license = "MIT"
Expand All @@ -14,8 +14,8 @@ keywords = ["cardano"]
crate-type = ["cdylib", "rlib"]

[dependencies]
cml-core-wasm = { path = "../../core/wasm", version = "5.3.1" }
cml-crypto = { path = "../rust", version = "5.3.1" }
cml-core-wasm = { path = "../../core/wasm", version = "6.0.0" }
cml-crypto = { path = "../rust", version = "6.0.0" }
cbor_event = "2.2.0"
wasm-bindgen = { version = "0.2.87" }
linked-hash-map = "0.5.3"
Expand Down
8 changes: 4 additions & 4 deletions multi-era/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cml-multi-era"
version = "5.3.1"
version = "6.0.0"
edition = "2018"
authors = ["dcSpark"]
license = "MIT"
Expand All @@ -17,9 +17,9 @@ crate-type = ["cdylib", "rlib"]
used_from_wasm = ["wasm-bindgen"]

[dependencies]
cml-core = { path = "../../core/rust", version = "5.3.1" }
cml-crypto = { path = "../../crypto/rust", version = "5.3.1" }
cml-chain = { path = "../../chain/rust", version = "5.3.1" }
cml-core = { path = "../../core/rust", version = "6.0.0" }
cml-crypto = { path = "../../crypto/rust", version = "6.0.0" }
cml-chain = { path = "../../chain/rust", version = "6.0.0" }
cbor_event = "2.4.0"
linked-hash-map = "0.5.3"
derivative = "2.2.0"
Expand Down
20 changes: 10 additions & 10 deletions multi-era/wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cml-multi-era-wasm"
version = "5.3.1"
version = "6.0.0"
edition = "2018"
authors = ["dcSpark"]
license = "MIT"
Expand All @@ -14,19 +14,19 @@ keywords = ["cardano"]
crate-type = ["cdylib", "rlib"]

[dependencies]
cml-chain = { path = "../../chain/rust", version = "5.3.1", features = ["used_from_wasm"] }
cml-chain-wasm = { path = "../../chain/wasm", version = "5.3.1" }
cml-crypto = { path = "../../crypto/rust", version = "5.3.1" }
cml-crypto-wasm = { path = "../../crypto/wasm", version = "5.3.1" }
cml-core = { path = "../../core/rust", version = "5.3.1" }
cml-core-wasm = { path = "../../core/wasm", version = "5.3.1" }
cml-multi-era = { path = "../rust", version = "5.3.1", features = ["used_from_wasm"] }
cml-chain = { path = "../../chain/rust", version = "6.0.0", features = ["used_from_wasm"] }
cml-chain-wasm = { path = "../../chain/wasm", version = "6.0.0" }
cml-crypto = { path = "../../crypto/rust", version = "6.0.0" }
cml-crypto-wasm = { path = "../../crypto/wasm", version = "6.0.0" }
cml-core = { path = "../../core/rust", version = "6.0.0" }
cml-core-wasm = { path = "../../core/wasm", version = "6.0.0" }
cml-multi-era = { path = "../rust", version = "6.0.0", features = ["used_from_wasm"] }
cbor_event = "2.4.0"
hex = "0.4.0"
linked-hash-map = "0.5.3"
serde_json = "1.0.57"
serde-wasm-bindgen = "0.4.5"
wasm-bindgen = { version = "0.2.87" }
# not actual multi-era dependencies but we re-export these for the wasm builds
cml-cip25-wasm = { path = "../../cip25/wasm", version = "5.3.1" }
cml-cip36-wasm = { path = "../../cip36/wasm", version = "5.3.1" }
cml-cip25-wasm = { path = "../../cip25/wasm", version = "6.0.0" }
cml-cip36-wasm = { path = "../../cip36/wasm", version = "6.0.0" }
2 changes: 1 addition & 1 deletion multi-era/wasm/json-gen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cml-multi-era-json-schema-gen"
version = "5.3.1"
version = "6.0.0"
edition = "2018"


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cardano-multiplatform-lib",
"version": "5.3.1",
"version": "6.0.0",
"description": "Cardano Multiplatform SDK for core Cardano blockchain functionality",
"keywords": [
"cardano"
Expand Down
2 changes: 1 addition & 1 deletion tools/metadata-cddl-checker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "metadata-cddl-checker"
version = "5.3.1"
version = "6.0.0"
edition = "2018"

[dependencies]
Expand Down
16 changes: 8 additions & 8 deletions tools/plutus-datum-codegen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
}
prepend_import_raw_bytes_encoding(cli.output.join("rust").join("src"))?;

// generate utilty functions
// generate utility functions
let export_utf8_utils = user_input_map
.iter()
.any(|(_path, file_str)| file_str.contains("utf8_text"));
Expand Down Expand Up @@ -690,18 +690,18 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
.append(true)
.open(cli.output.join("rust").join("Cargo.toml"))
.unwrap();
rust_cargo.write_all("cml-core = \"5.3.1\"\n".as_bytes())?;
rust_cargo.write_all("cml-chain = \"5.3.1\"\n".as_bytes())?;
rust_cargo.write_all("cml-crypto = \"5.3.1\"\n".as_bytes())?;
rust_cargo.write_all("cml-core = \"6.0.0\"\n".as_bytes())?;
rust_cargo.write_all("cml-chain = \"6.0.0\"\n".as_bytes())?;
rust_cargo.write_all("cml-crypto = \"6.0.0\"\n".as_bytes())?;
if cli.wasm {
let mut wasm_cargo = std::fs::OpenOptions::new()
.append(true)
.open(cli.output.join("wasm").join("Cargo.toml"))
.unwrap();
wasm_cargo.write_all("cml-core = \"5.3.1\"\n".as_bytes())?;
wasm_cargo.write_all("cml-core-wasm = \"5.3.1\"\n".as_bytes())?;
wasm_cargo.write_all("cml-chain = \"5.3.1\"\n".as_bytes())?;
wasm_cargo.write_all("cml-chain-wasm = \"5.3.1\"\n".as_bytes())?;
wasm_cargo.write_all("cml-core = \"6.0.0\"\n".as_bytes())?;
wasm_cargo.write_all("cml-core-wasm = \"6.0.0\"\n".as_bytes())?;
wasm_cargo.write_all("cml-chain = \"6.0.0\"\n".as_bytes())?;
wasm_cargo.write_all("cml-chain-wasm = \"6.0.0\"\n".as_bytes())?;
// needed for cml-core's cbor/json macros
wasm_cargo.write_all("hex = \"0.4.3\"\n".as_bytes())?;
}
Expand Down

0 comments on commit 25ff92b

Please sign in to comment.