Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
refactor: canister ids and aliases (#37)
Browse files Browse the repository at this point in the history
* refactor: canister ids and aliases
Add a new flag `ignore_url_canister_param` for prod.
Move logic to `canister_id.rs`.
Add traits to make composition easier.
Add basic tests.
Redid `lookup` and `resolve_canister_id` to remove allocation.
Bump version and dependencies.
  • Loading branch information
Daniel-Bloom-dfinity authored Jun 13, 2022
1 parent 5e15a91 commit 11bf43f
Show file tree
Hide file tree
Showing 6 changed files with 425 additions and 260 deletions.
95 changes: 44 additions & 51 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "icx-proxy"
version = "0.8.1"
version = "0.9.0"
authors = ["DFINITY Stiftung <sdk@dfinity.org>"]
edition = "2018"
description = "CLI tool to create an HTTP proxy to the Internet Computer."
Expand Down Expand Up @@ -29,8 +29,8 @@ hex = "0.4"
hyper = { version = "0.14", features = ["full"] }
hyper-rustls = { version = "0.23", features = [ "webpki-roots" ] }
hyper-tls = "0.5"
ic-agent = { version = "0.16" }
ic-utils = { version = "0.16", features = ["raw"] }
ic-agent = { version = "0.17" }
ic-utils = { version = "0.17", features = ["raw"] }
lazy-regex = "2"
opentelemetry = "0.17.0"
opentelemetry-prometheus = "0.10.0"
Expand Down
Loading

0 comments on commit 11bf43f

Please sign in to comment.