Skip to content

Commit

Permalink
chore: update ic-cdk to 0.16.0 (#1868)
Browse files Browse the repository at this point in the history
Relevant breaking changes from
[`ic-cdk`](https://github.com/dfinity/cdk-rs/blob/main/src/ic-cdk/CHANGELOG.md):
1. [[0.15.0]]([0.15.0]): 
1. BREAKING: Stable Memory always use 64-bit addresses and stable64_*
system API. (dfinity/cdk-rs#498)
2. BREAKING: Add log_visibility to the management canister API types:
(dfinity/cdk-rs#497)
        - CanisterSettings
        - DefiniteCanisterSettings.
3.
[[0.13.3]](https://github.com/dfinity/cdk-rs/blob/main/src/ic-cdk/CHANGELOG.md#0133---2024-05-10-yanked)
BREAKING: Add wasm_memory_limit to the management canister API types:
(dfinity/cdk-rs#483)
    - CanisterSettings
    - DefiniteCanisterSettings.

---------

Co-authored-by: IDX GitHub Automation <infra+github-automation@dfinity.org>
  • Loading branch information
2 people authored and IDX GitLab Automation committed Oct 11, 2024
1 parent 8311f42 commit ef7f757
Show file tree
Hide file tree
Showing 32 changed files with 516 additions and 318 deletions.
141 changes: 138 additions & 3 deletions Cargo.Bazel.Fuzzing.json.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "f625f9be8687fe74a5490e321e5f113cb53201d5f45a455999b7c7e5fc773ddb",
"checksum": "22fe4918cb241a7ef7ed17fe15f3422652dba98910a13f9ef4f8f3ec04a4d639",
"crates": {
"abnf 0.12.0": {
"name": "abnf",
Expand Down Expand Up @@ -18016,7 +18016,7 @@
"target": "ic_cbor"
},
{
"id": "ic-cdk 0.13.5",
"id": "ic-cdk 0.16.0",
"target": "ic_cdk"
},
{
Expand Down Expand Up @@ -29211,6 +29211,74 @@
],
"license_file": "LICENSE"
},
"ic-cdk 0.16.0": {
"name": "ic-cdk",
"version": "0.16.0",
"package_url": "https://github.com/dfinity/cdk-rs",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/ic-cdk/0.16.0/download",
"sha256": "dd8ecacd682fa05a985253592963306cb9799622d7b1cce4b1edb89c6ec85be1"
}
},
"targets": [
{
"Library": {
"crate_name": "ic_cdk",
"crate_root": "src/lib.rs",
"srcs": {
"allow_empty": false,
"include": [
"**/*.rs"
]
}
}
}
],
"library_target_name": "ic_cdk",
"common_attrs": {
"compile_data_glob": [
"**"
],
"deps": {
"common": [
{
"id": "candid 0.10.6",
"target": "candid"
},
{
"id": "ic0 0.23.0",
"target": "ic0"
},
{
"id": "serde 1.0.203",
"target": "serde"
},
{
"id": "serde_bytes 0.11.15",
"target": "serde_bytes"
}
],
"selects": {}
},
"edition": "2021",
"proc_macro_deps": {
"common": [
{
"id": "ic-cdk-macros 0.16.0",
"target": "ic_cdk_macros"
}
],
"selects": {}
},
"version": "0.16.0"
},
"license": "Apache-2.0",
"license_ids": [
"Apache-2.0"
],
"license_file": "LICENSE"
},
"ic-cdk-macros 0.8.4": {
"name": "ic-cdk-macros",
"version": "0.8.4",
Expand Down Expand Up @@ -29479,6 +29547,73 @@
],
"license_file": "LICENSE"
},
"ic-cdk-macros 0.16.0": {
"name": "ic-cdk-macros",
"version": "0.16.0",
"package_url": "https://github.com/dfinity/cdk-rs",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/ic-cdk-macros/0.16.0/download",
"sha256": "0d4d857135deef20cc7ea8f3869a30cd9cfeb1392b3a81043790b2cd82adc3e0"
}
},
"targets": [
{
"ProcMacro": {
"crate_name": "ic_cdk_macros",
"crate_root": "src/lib.rs",
"srcs": {
"allow_empty": false,
"include": [
"**/*.rs"
]
}
}
}
],
"library_target_name": "ic_cdk_macros",
"common_attrs": {
"compile_data_glob": [
"**"
],
"deps": {
"common": [
{
"id": "candid 0.10.6",
"target": "candid"
},
{
"id": "proc-macro2 1.0.85",
"target": "proc_macro2"
},
{
"id": "quote 1.0.35",
"target": "quote"
},
{
"id": "serde 1.0.203",
"target": "serde"
},
{
"id": "serde_tokenstream 0.2.1",
"target": "serde_tokenstream"
},
{
"id": "syn 2.0.66",
"target": "syn"
}
],
"selects": {}
},
"edition": "2021",
"version": "0.16.0"
},
"license": "Apache-2.0",
"license_ids": [
"Apache-2.0"
],
"license_file": "LICENSE"
},
"ic-cdk-timers 0.7.0": {
"name": "ic-cdk-timers",
"version": "0.7.0",
Expand Down Expand Up @@ -79190,7 +79325,7 @@
"ic-canister-log 0.2.0",
"ic-canister-sig-creation 1.0.1",
"ic-cbor 2.6.0",
"ic-cdk 0.13.5",
"ic-cdk 0.16.0",
"ic-cdk-macros 0.9.0",
"ic-cdk-timers 0.7.0",
"ic-certificate-verification 2.6.0",
Expand Down
29 changes: 28 additions & 1 deletion Cargo.Bazel.Fuzzing.toml.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3119,7 +3119,7 @@ dependencies = [
"ic-canister-log",
"ic-canister-sig-creation",
"ic-cbor",
"ic-cdk 0.13.5",
"ic-cdk 0.16.0",
"ic-cdk-macros 0.9.0",
"ic-cdk-timers",
"ic-certificate-verification",
Expand Down Expand Up @@ -5112,6 +5112,19 @@ dependencies = [
"serde_bytes",
]

[[package]]
name = "ic-cdk"
version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd8ecacd682fa05a985253592963306cb9799622d7b1cce4b1edb89c6ec85be1"
dependencies = [
"candid",
"ic-cdk-macros 0.16.0",
"ic0 0.23.0",
"serde",
"serde_bytes",
]

[[package]]
name = "ic-cdk-macros"
version = "0.8.4"
Expand Down Expand Up @@ -5168,6 +5181,20 @@ dependencies = [
"syn 2.0.66",
]

[[package]]
name = "ic-cdk-macros"
version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0d4d857135deef20cc7ea8f3869a30cd9cfeb1392b3a81043790b2cd82adc3e0"
dependencies = [
"candid",
"proc-macro2",
"quote",
"serde",
"serde_tokenstream 0.2.1",
"syn 2.0.66",
]

[[package]]
name = "ic-cdk-timers"
version = "0.7.0"
Expand Down
141 changes: 138 additions & 3 deletions Cargo.Bazel.json.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "0b3ea17c968956a9bf172b31f0d4f15bc9347326fecb83b91781451bc74f5308",
"checksum": "bfd99bc1fb1610640d53b82762827388cd6a7b8960dd19d804e6fb0e1aaf034d",
"crates": {
"abnf 0.12.0": {
"name": "abnf",
Expand Down Expand Up @@ -17817,7 +17817,7 @@
"target": "ic_cbor"
},
{
"id": "ic-cdk 0.13.5",
"id": "ic-cdk 0.16.0",
"target": "ic_cdk"
},
{
Expand Down Expand Up @@ -29036,6 +29036,74 @@
],
"license_file": "LICENSE"
},
"ic-cdk 0.16.0": {
"name": "ic-cdk",
"version": "0.16.0",
"package_url": "https://github.com/dfinity/cdk-rs",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/ic-cdk/0.16.0/download",
"sha256": "dd8ecacd682fa05a985253592963306cb9799622d7b1cce4b1edb89c6ec85be1"
}
},
"targets": [
{
"Library": {
"crate_name": "ic_cdk",
"crate_root": "src/lib.rs",
"srcs": {
"allow_empty": false,
"include": [
"**/*.rs"
]
}
}
}
],
"library_target_name": "ic_cdk",
"common_attrs": {
"compile_data_glob": [
"**"
],
"deps": {
"common": [
{
"id": "candid 0.10.6",
"target": "candid"
},
{
"id": "ic0 0.23.0",
"target": "ic0"
},
{
"id": "serde 1.0.203",
"target": "serde"
},
{
"id": "serde_bytes 0.11.15",
"target": "serde_bytes"
}
],
"selects": {}
},
"edition": "2021",
"proc_macro_deps": {
"common": [
{
"id": "ic-cdk-macros 0.16.0",
"target": "ic_cdk_macros"
}
],
"selects": {}
},
"version": "0.16.0"
},
"license": "Apache-2.0",
"license_ids": [
"Apache-2.0"
],
"license_file": "LICENSE"
},
"ic-cdk-macros 0.8.4": {
"name": "ic-cdk-macros",
"version": "0.8.4",
Expand Down Expand Up @@ -29304,6 +29372,73 @@
],
"license_file": "LICENSE"
},
"ic-cdk-macros 0.16.0": {
"name": "ic-cdk-macros",
"version": "0.16.0",
"package_url": "https://github.com/dfinity/cdk-rs",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/ic-cdk-macros/0.16.0/download",
"sha256": "0d4d857135deef20cc7ea8f3869a30cd9cfeb1392b3a81043790b2cd82adc3e0"
}
},
"targets": [
{
"ProcMacro": {
"crate_name": "ic_cdk_macros",
"crate_root": "src/lib.rs",
"srcs": {
"allow_empty": false,
"include": [
"**/*.rs"
]
}
}
}
],
"library_target_name": "ic_cdk_macros",
"common_attrs": {
"compile_data_glob": [
"**"
],
"deps": {
"common": [
{
"id": "candid 0.10.6",
"target": "candid"
},
{
"id": "proc-macro2 1.0.85",
"target": "proc_macro2"
},
{
"id": "quote 1.0.35",
"target": "quote"
},
{
"id": "serde 1.0.203",
"target": "serde"
},
{
"id": "serde_tokenstream 0.2.1",
"target": "serde_tokenstream"
},
{
"id": "syn 2.0.66",
"target": "syn"
}
],
"selects": {}
},
"edition": "2021",
"version": "0.16.0"
},
"license": "Apache-2.0",
"license_ids": [
"Apache-2.0"
],
"license_file": "LICENSE"
},
"ic-cdk-timers 0.7.0": {
"name": "ic-cdk-timers",
"version": "0.7.0",
Expand Down Expand Up @@ -79366,7 +79501,7 @@
"ic-canister-log 0.2.0",
"ic-canister-sig-creation 1.0.1",
"ic-cbor 2.6.0",
"ic-cdk 0.13.5",
"ic-cdk 0.16.0",
"ic-cdk-macros 0.9.0",
"ic-cdk-timers 0.7.0",
"ic-certificate-verification 2.6.0",
Expand Down
Loading

0 comments on commit ef7f757

Please sign in to comment.