diff --git a/Cargo.toml b/Cargo.toml index 4f321b5..0d3a54a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "certified-assets" -version = "0.2.2" +version = "0.2.3" authors = ["DFINITY Stiftung "] edition = "2018" @@ -14,6 +14,6 @@ path = "src/lib.rs" crate-type = ["cdylib"] [dependencies] -ic-certified-assets = "0.2.2" +ic-certified-assets = "0.2.3" ic-cdk = "0.5.0" ic-cdk-macros = "0.5.0" diff --git a/assets.did b/assets.did index 0b8d606..deaa63f 100644 --- a/assets.did +++ b/assets.did @@ -7,6 +7,7 @@ type CreateAssetArguments = record { key: Key; content_type: text; max_age: opt nat64; + headers: opt HeaderField; }; // Add or change content for an asset, by content encoding diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 47462fc..9b31b19 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "1.58.1" +channel = "1.60.0" targets = ["wasm32-unknown-unknown"] components = ["rustfmt", "clippy"]