Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow configuring the downloader when creating a blobs protocol handler #76

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

rklaehn
Copy link
Collaborator

@rklaehn rklaehn commented Mar 14, 2025

Description

Allow configuring the downloader when creating a blobs protocol handler

we don't allow passing in the entire downloader, but all config options.

Breaking Changes

None, just an additional fn on the builder

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

… handler

we don't allow passing in the entire downloader, but all config options.
Copy link

github-actions bot commented Mar 14, 2025

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh-blobs/pr/76/docs/iroh_blobs/

Last updated: 2025-03-14T14:30:29Z

@n0bot n0bot bot added this to iroh Mar 14, 2025
@github-project-automation github-project-automation bot moved this to 🏗 In progress in iroh Mar 14, 2025
rklaehn added 3 commits March 14, 2025 10:25
…is properly applied.

- downloader handle has the config
- downloader handle gets an Arc<Inner>
# Conflicts:
#	src/net_protocol.rs
Copy link
Contributor

@ramfox ramfox left a comment

Choose a reason for hiding this comment

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

Looks good!

@ramfox
Copy link
Contributor

ramfox commented Mar 14, 2025

semver check indicates breaking changes, should go in the PR description!

Copy link
Member

@matheus23 matheus23 left a comment

Choose a reason for hiding this comment

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

👍 besides me wondering about the Downloader struct wrapping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

Successfully merging this pull request may close these issues.

3 participants