diff --git a/Cargo.lock b/Cargo.lock index 4202d503..5acae398 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -230,7 +230,7 @@ checksum = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040" [[package]] name = "candid" -version = "0.6.17" +version = "0.6.18" dependencies = [ "arbitrary", "byteorder", @@ -260,7 +260,7 @@ dependencies = [ [[package]] name = "candid_derive" -version = "0.4.3" +version = "0.4.4" dependencies = [ "lazy_static", "proc-macro2 1.0.24", diff --git a/Changelog.md b/Changelog.md index 569ab408..b5c4e697 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,20 @@ # Changelog +## 2021-03-17 + +### Rust (0.6.18) + +* `#[candid_method(init)]` to support init arguments in service actor +* Subtyping check for Candid types +* Handle subtyping for `reserved` and `int` in decoding + +### Other + +* Benchmark for Rust library with criterion +* `didc check` and `didc subtype` command to check for subtyping +* Conditional running CI for Coq or Rust library + ## 2021-03-04 (Rust 0.6.17) * Support `serde_bytes` for efficient handling of `&[u8]` and `Vec` diff --git a/rust/candid/Cargo.toml b/rust/candid/Cargo.toml index 09bf3db6..0e080441 100644 --- a/rust/candid/Cargo.toml +++ b/rust/candid/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "candid" -version = "0.6.17" +version = "0.6.18" edition = "2018" authors = ["DFINITY Team"] description = "Candid is an interface description language (IDL) for interacting with canisters running on the Internet Computer." @@ -20,7 +20,7 @@ lalrpop = "0.19.0" [dependencies] byteorder = "1.3.4" -candid_derive = { path = "../candid_derive", version = "=0.4.3" } +candid_derive = { path = "../candid_derive", version = "=0.4.4" } codespan-reporting = "0.9.5" hex = "0.4.2" ic-types = "0.1.1" @@ -50,6 +50,7 @@ criterion = "0.3" [[bench]] name = "benchmark" harness = false +path = "benches/benchmark.rs" [features] cdk = ["candid_derive/cdk"] diff --git a/rust/candid_derive/Cargo.toml b/rust/candid_derive/Cargo.toml index 4c331e37..95d7c56c 100644 --- a/rust/candid_derive/Cargo.toml +++ b/rust/candid_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "candid_derive" -version = "0.4.3" +version = "0.4.4" edition = "2018" authors = ["DFINITY Team"] description = "Macros implementation of #[derive(CandidType)] for the Candid."