Skip to content

Commit

Permalink
move things around
Browse files Browse the repository at this point in the history
  • Loading branch information
adamspofford-dfinity committed Sep 6, 2024
1 parent 913900d commit f7ab9f0
Show file tree
Hide file tree
Showing 16 changed files with 250 additions and 149 deletions.
134 changes: 132 additions & 2 deletions Cargo.lock

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

7 changes: 7 additions & 0 deletions ic-agent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ keywords = ["internet-computer", "agent", "icp", "dfinity"]
include = ["src", "Cargo.toml", "../LICENSE", "README.md"]

[dependencies]
arc-swap = "1.7"
async-channel = "1.9"
async-trait = "0.1"
async-lock = "3.3"
async-watch = "0.3"
backoff = "0.4.0"
cached = { version = "0.52", features = ["ahash"], default-features = false }
candid = { workspace = true }
Expand All @@ -41,8 +45,10 @@ serde_cbor = { workspace = true }
serde_repr = { workspace = true }
sha2 = { workspace = true }
simple_asn1 = "0.6.1"
stop-token = "0.7"
thiserror = { workspace = true }
time = { workspace = true }
tracing = "0.1"
url = "2.1.0"

[dependencies.reqwest]
Expand All @@ -67,6 +73,7 @@ web-sys = { version = "0.3", features = ["Window"], optional = true }

[dev-dependencies]
serde_json.workspace = true
tracing-subscriber = "0.3"

[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
tokio = { workspace = true, features = ["full"] }
Expand Down
2 changes: 2 additions & 0 deletions ic-agent/src/agent/route_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ use url::Url;

use crate::agent::AgentError;

pub mod dynamic_routing;

const IC0_DOMAIN: &str = "ic0.app";
const ICP0_DOMAIN: &str = "icp0.io";
const ICP_API_DOMAIN: &str = "icp-api.io";
Expand Down
Loading

0 comments on commit f7ab9f0

Please sign in to comment.