fix: missing optional dependency on serde for multi feature#47
Merged
Conversation
gregorydemay
approved these changes
Nov 17, 2025
gregorydemay
pushed a commit
that referenced
this pull request
Nov 21, 2025
## 🤖 New release * `canhttp`: 0.3.0 -> 0.4.0 * `ic-canister-runtime`: 0.1.0 * `ic-agent-canister-runtime`: 0.1.0 * `ic-pocket-canister-runtime`: 0.1.0 <details><summary><i><b>Changelog</b></i></summary><p> ## `canhttp` <blockquote> ## [0.4.0] - 2025-11-21 ### Added - Add `JsonRpcHttpLayer` which combines the `HttpConversionLayer`, `JsonConversionLayer` and `ConsistentJsonRpcIdFilter` middlewares into a single convenient-to-use layer ([#46](#46)) - Add example canisters demonstrating JSON-RPC functionalities and parallel calls ([#48](#48)) ### Changed - Bump `ic-cdk` to v0.19.0 ([#40](#40)) ### Fixed - Missing optional dependency on `serde` for `multi` feature ([#47](#47)) [0.4.0]: https://github.com/dfinity/canhttp/compare/canhttp-0.3.0..canhttp-0.4.0 </blockquote> ## `ic-canister-runtime` <blockquote> ## [0.1.0] - 2025-11-21 ### Added - Add helper methods to `CyclesWalletRuntime` ([#44](#44)) - Add READMEs and examples ([#42](#42)) - Add `StubRuntime` ([#41](#41)) - Add `CyclesWalletRuntime` ([#37](#37)) - Add `Runtime` crate and `IcRuntime` implementation ([#35](#35)) [0.1.0]: https://github.com/dfinity/canhttp/releases/tag/ic-canister-runtime-v0.1.0 </blockquote> ## `ic-agent-canister-runtime` <blockquote> ## [0.1.0] - 2025-11-21 ### Added - Add `AgentRuntime` ([#36](#36)) [0.1.0]: https://github.com/dfinity/canhttp/releases/tag/ic-agent-canister-runtime-v0.1.0 </blockquote> ## `ic-pocket-canister-runtime` <blockquote> ## [0.1.0] - 2025-11-21 ### Added - Add `ExecuteHttpOutcallMocks` trait and support for PocketIC live mode ([#43](#43)) - Add READMEs and examples ([#42](#42)) - Add `PocketIcRuntime` and mock HTTP mock infrastructure ([#38](#38)) [0.1.0]: https://github.com/dfinity/canhttp/releases/tag/ic-pocket-canister-runtime-v0.1.0 </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Louis Pahlavi <louis.pahlavi@dfinity.org>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
multifeature requires theserdeoptional dependency due to the use ofserde::Serializeincanhttp/src/multi/reduce.rs, however this conditional dependency was missing incanhttp/Cargo.toml. This PR fixes this by enabling theserdedependency when themultifeature is enabled.