-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Remake tokens generic re: #221 #203 Turns out you can actually get around candid's limitation on `IDLValue`. It just takes some careful rejiggering. First, use `Reserved` to match anything. This seems like a valid use of `Reserved`, and should basically always be supported. Second, use `deserialize_ignored_any` to actually get all the content with `IDLValueVisitor`. This is a little bit of a hack, but it works.
- Loading branch information
1 parent
784c460
commit db7886d
Showing
3 changed files
with
200 additions
and
46 deletions.
There are no files selected for viewing
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-utils" | ||
version = "0.12.1" | ||
version = "0.12.2" | ||
authors = ["DFINITY Stiftung <[email protected]>"] | ||
edition = "2018" | ||
description = "Collection of utilities for Rust, on top of ic-agent, to communicate with the Internet Computer, following the Public Specification." | ||
|
@@ -16,14 +16,17 @@ include = ["src", "Cargo.toml", "../LICENSE", "README.md"] | |
|
||
[dependencies] | ||
async-trait = "0.1.40" | ||
candid = "0.7.10" | ||
candid = "0.7.12" | ||
garcon = { version = "0.2", features = ["async"] } | ||
ic-agent = { path = "../ic-agent", version = "0.12" } | ||
serde = "1.0.115" | ||
serde_bytes = "0.11" | ||
strum = "0.23" | ||
strum_macros = "0.23" | ||
thiserror = "1.0.29" | ||
paste = "1" | ||
num-bigint = "0.4" | ||
leb128 = "0.2" | ||
|
||
[dev-dependencies] | ||
ring = "0.16.11" | ||
|
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