Skip to content
Merged
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
113 changes: 61 additions & 52 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ hyper = { version = "1", features = ["full"] }
hyper-util = "0.1"
reqwest = "0.13.2"

ic-cdk = "0.17"
ic-cdk-macros = "0.17"
ic-agent = "0.47"
ic-utils = "0.47"
ic-cdk = "0.20"
ic-cdk-macros = "0.20"
ic-agent = "0.49"
ic-utils = "0.49"
candid = "0.10"
pocket-ic = "12.0"
assert_matches = "1"
Expand Down
8 changes: 4 additions & 4 deletions examples/http-gateway/canister/src/custom_assets/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use ic_asset_certification::{Asset, AssetConfig, AssetFallbackConfig, AssetRouter};
use ic_cdk::{
api::{data_certificate, set_certified_data},
api::{certified_data_set, data_certificate},
*,
};
use ic_http_certification::{
Expand Down Expand Up @@ -254,10 +254,10 @@ fn certify_all_assets() {

ASSET_ROUTER.with_borrow_mut(|asset_router| {
if let Err(err) = asset_router.certify_assets(assets, asset_configs) {
ic_cdk::trap(&format!("Failed to certify assets: {}", err));
ic_cdk::trap(format!("Failed to certify assets: {}", err));
}

set_certified_data(&asset_router.root_hash());
certified_data_set(asset_router.root_hash());
});
}

Expand All @@ -269,7 +269,7 @@ fn serve_asset(req: &HttpRequest) -> HttpResponse<'static> {
) {
response
} else {
ic_cdk::trap(&format!("Failed to serve asset for request {:?}", req));
ic_cdk::trap(format!("Failed to serve asset for request {:?}", req));
}
})
}
Expand Down
4 changes: 2 additions & 2 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.89"
channel = "1.97.1"
profile = "minimal"
components = ["rustfmt", "clippy"]
targets = ["wasm32-unknown-unknown"]
targets = ["wasm32-unknown-unknown", "x86_64-unknown-linux-musl"]
Loading