-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add
HttpRequestStreamingCallbackAny
and change abstractions (#…
…325) * feat: Add `HttpRequestStreamingCallbackAny` and change abstractions Also while we're breaking stuff, get rid of all the string copies everywhere. * version bump * cargo fmt + `HttpRequest` changes Remove `HttpRequest` struct from public interface. Replace `headers` with iterator. * update candid * clippy * changelog * changelog * updates Responding to feedback. Adding more tests for enum issue. Updating candid to soon to be released version. * typo * cargo fmt * use published candid Co-authored-by: Linwei Shang <[email protected]>
- Loading branch information
1 parent
0bc839c
commit ee57f0d
Showing
11 changed files
with
452 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "ic-agent" | ||
version = "0.14.0" | ||
version = "0.15.0" | ||
authors = ["DFINITY Stiftung <[email protected]>"] | ||
edition = "2021" | ||
description = "Agent library to communicate with the Internet Computer, following the Public Specification." | ||
|
@@ -46,7 +46,7 @@ version = "1.0" | |
optional = true | ||
|
||
[dev-dependencies] | ||
candid = "0.7.10" | ||
candid = "0.7.14" | ||
mockito = "0.30.0" | ||
proptest = "1.0.0" | ||
serde_json = "1.0.74" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "ic-asset" | ||
version = "0.14.0" | ||
version = "0.15.0" | ||
authors = ["DFINITY Stiftung <[email protected]>"] | ||
edition = "2021" | ||
description = "Library for storing files in an asset canister." | ||
|
@@ -15,15 +15,15 @@ rust-version = "1.58.1" | |
|
||
[dependencies] | ||
anyhow = "1.0" | ||
candid = "0.7.10" | ||
candid = "0.7.14" | ||
flate2 = "1.0.22" | ||
futures = "0.3.19" | ||
futures-intrusive = "0.4.0" | ||
garcon = { version = "0.2", features = ["async"] } | ||
hex = {version = "0.4.2", features = ["serde"] } | ||
ic-agent = { path = "../ic-agent", version = "0.14", features = [ "pem" ] } | ||
ic-agent = { path = "../ic-agent", version = "0.15", features = [ "pem" ] } | ||
ic-types = "0.3.0" | ||
ic-utils = { path = "../ic-utils", version = "0.14" } | ||
ic-utils = { path = "../ic-utils", version = "0.15" } | ||
mime = "0.3.16" | ||
mime_guess = "2.0.3" | ||
openssl = "0.10.38" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "ic-identity-hsm" | ||
version = "0.14.0" | ||
version = "0.15.0" | ||
authors = ["DFINITY Stiftung <[email protected]>"] | ||
description = "Identity implementation for HSM for the ic-agent package." | ||
homepage = "https://docs.rs/ic-identity-hsm" | ||
|
@@ -15,7 +15,7 @@ rust-version = "1.58.1" | |
|
||
[dependencies] | ||
hex = "0.4.2" | ||
ic-agent = { path = "../ic-agent", version = "0.14", features = [ "pem" ] } | ||
ic-agent = { path = "../ic-agent", version = "0.15", features = [ "pem" ] } | ||
num-bigint = "0.4.3" | ||
openssl = "0.10.38" | ||
pkcs11 = "0.5.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "ic-utils" | ||
version = "0.14.0" | ||
version = "0.15.0" | ||
authors = ["DFINITY Stiftung <[email protected]>"] | ||
edition = "2021" | ||
description = "Collection of utilities for Rust, on top of ic-agent, to communicate with the Internet Computer, following the Public Specification." | ||
|
@@ -17,9 +17,9 @@ rust-version = "1.58.1" | |
|
||
[dependencies] | ||
async-trait = "0.1.40" | ||
candid = "0.7.12" | ||
candid = "0.7.14" | ||
garcon = { version = "0.2", features = ["async"] } | ||
ic-agent = { path = "../ic-agent", version = "0.14" } | ||
ic-agent = { path = "../ic-agent", version = "0.15" } | ||
serde = "1.0.115" | ||
serde_bytes = "0.11" | ||
strum = "0.23" | ||
|
Oops, something went wrong.