Skip to content

feat: implement Runtime for Runtime references#85

Merged
lpahlavi merged 2 commits intomainfrom
lpahlavi/defi-2643-runtime-for-references
Mar 2, 2026
Merged

feat: implement Runtime for Runtime references#85
lpahlavi merged 2 commits intomainfrom
lpahlavi/defi-2643-runtime-for-references

Conversation

@lpahlavi
Copy link
Copy Markdown
Contributor

Implement the runtime trait for &R where R implements Runtime.

@lpahlavi lpahlavi marked this pull request as ready for review February 27, 2026 14:12
@lpahlavi lpahlavi requested a review from a team as a code owner February 27, 2026 14:12
Copy link
Copy Markdown
Contributor

@gregorydemay gregorydemay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's maybe add some Rust doc test example to ensure that it works as expected.

@lpahlavi lpahlavi merged commit 90210ee into main Mar 2, 2026
10 checks passed
@lpahlavi lpahlavi deleted the lpahlavi/defi-2643-runtime-for-references branch March 2, 2026 14:40
@github-actions github-actions bot mentioned this pull request Mar 10, 2026
lpahlavi added a commit that referenced this pull request Mar 12, 2026
## 🤖 New release

* `canhttp`: 0.5.1 -> 0.5.2 (✓ API compatible changes)
* `ic-canister-runtime`: 0.2.0 -> 0.2.1 (✓ API compatible changes)
* `ic-pocket-canister-runtime`: 0.4.0 -> 0.4.1 (✓ API compatible
changes)
* `ic-agent-canister-runtime`: 0.2.0 -> 0.2.1 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

## `canhttp`

<blockquote>

## [0.5.2] - 2026-03-10

### Changed

- Update dependencies
([#89](#89))

[0.5.2]:
https://github.com/dfinity/canhttp/compare/canhttp-v0.5.1..canhttp-v0.5.2
</blockquote>

## `ic-canister-runtime`

<blockquote>

## [0.2.1] - 2026-03-10

### Changed

- Update dependencies
([#89](#89))
- Implement `Runtime` for `Runtime` references
([#85](#85))

[0.2.1]:
https://github.com/dfinity/canhttp/compare/ic-canister-runtime-v0.2.0..ic-canister-runtime-v0.2.1
</blockquote>

## `ic-pocket-canister-runtime`

<blockquote>

## [0.4.1] - 2026-03-10

### Added

- Add proxy feature to `PocketIcRuntime`
([#92](#92))

### Changed

- Update dependencies
([#89](#89))

[0.4.1]:
https://github.com/dfinity/canhttp/compare/ic-pocket-canister-runtime-v0.4.0..ic-pocket-canister-runtime-v0.4.1
</blockquote>

## `ic-agent-canister-runtime`

<blockquote>

## [0.2.1] - 2026-03-10

### Changed

- Update dependencies
([#89](#89))

[0.2.1]:
https://github.com/dfinity/canhttp/compare/ic-agent-canister-runtime-v0.2.0..ic-agent-canister-runtime-v0.2.1
</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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants