Skip to content

Commit

Permalink
Merge pull request #52 from dfinity/igornovg/new-http-lib
Browse files Browse the repository at this point in the history
chore: upgrade http lib to use Bytes body
  • Loading branch information
r-birkner authored Nov 21, 2024
2 parents 7892a8c + f56e34c commit bc0d079
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 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
Expand Up @@ -6,7 +6,7 @@ edition = "2021"

[dependencies]
ahash = "0.8.11"
anyhow = "1.0.92"
anyhow = "1.0.93"
arc-swap = "1.7.1"
async-channel = "2.3.1"
async-trait = "0.1.83"
Expand Down Expand Up @@ -49,7 +49,7 @@ ic-agent = { version = "0.39.1", features = [
"_internal_dynamic-routing",
] }
ic-bn-lib = { git = "https://github.com/dfinity/ic-bn-lib", rev = "526d34d15cfbf369d8baf2dae9932aa18d570a1d" }
ic-http-gateway = { git = "https://github.com/dfinity/http-gateway", tag = "0.1.0-b2" }
ic-http-gateway = { git = "https://github.com/dfinity/http-gateway", tag = "0.1.0-b3" }
itertools = "0.13.0"
lazy_static = "1.5.0"
maxminddb = "0.24.0"
Expand All @@ -75,7 +75,7 @@ serde_cbor = "0.11.2"
serde_json = "1.0.132"
strum = { version = "0.26.3", features = ["derive"] }
strum_macros = "0.26.4"
thiserror = "1.0.68"
thiserror = "2.0.3"
tikv-jemallocator = "0.6.0"
tikv-jemalloc-ctl = { version = "0.6.0", features = ["stats"] }
time = { version = "0.3.36", features = ["macros", "serde"] }
Expand Down
2 changes: 1 addition & 1 deletion src/routing/ic/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub async fn handler(
};

let args = HttpGatewayRequestArgs {
canister_request: CanisterRequest::from_parts(parts, body.to_vec()),
canister_request: CanisterRequest::from_parts(parts, body),
canister_id,
};

Expand Down

0 comments on commit bc0d079

Please sign in to comment.