Skip to content

Commit 11db2b6

Browse files
committed
deploy: e1a5328
1 parent 73529e7 commit 11db2b6

File tree

6 files changed

+11
-13
lines changed

6 files changed

+11
-13
lines changed

pr/52/docs/iroh_blobs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h3 id="getting-started"><a class="doc-anchor" href="#getting-started">§</a>Get
2828
<p>Here is a basic example of how to set up <code>iroh-blobs</code> with <code>iroh</code>:</p>
2929

3030
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>iroh::{protocol::Router, Endpoint};
31-
<span class="kw">use </span>iroh_blobs::{store::traits::Store, net_protocol::Blobs};
31+
<span class="kw">use </span>iroh_blobs::{store::Store, net_protocol::Blobs};
3232

3333
<span class="attr">#[tokio::main]
3434
</span><span class="kw">async fn </span>main() -&gt; anyhow::Result&lt;()&gt; {

pr/52/docs/iroh_blobs/protocol/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Protocol for transferring content-addressed blobs and collections over quic connections. This can be used either with normal quic connections when using the quinn crate or with magicsock connections when using the iroh-net crate."><title>iroh_blobs::protocol - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-dbdb5eec.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_blobs" data-themes="" data-resource-suffix="" data-rustdoc-version="1.85.0-nightly (d10a6823f 2024-11-29)" data-channel="nightly" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../static.files/storage-59e33391.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_blobs/index.html">iroh_<wbr>blobs</a><span class="version">0.31.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module protocol</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#participants" title="Participants">Participants</a></li><li><a href="#goals" title="Goals">Goals</a></li><li><a href="#non-goals" title="Non-goals">Non-goals</a></li><li><a href="#requests" title="Requests">Requests</a><ul><li><a href="#getter-defined-requests" title="Getter defined requests">Getter defined requests</a></li><li><a href="#provider-defined-requests" title="Provider defined requests">Provider defined requests</a></li><li><a href="#specifying-the-required-data" title="Specifying the required data">Specifying the required data</a></li></ul></li><li><a href="#responses" title="Responses">Responses</a></li><li><a href="#requesting-multiple-unrelated-blobs" title="Requesting multiple unrelated blobs">Requesting multiple unrelated blobs</a></li></ul><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#constants" title="Constants">Constants</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate iroh_<wbr>blobs</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">iroh_blobs</a></span><h1>Module <span>protocol</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/iroh_blobs/protocol.rs.html#1-517">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Protocol for transferring content-addressed blobs and collections over quic
1+
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Protocol for transferring content-addressed blobs and collections over quic connections. This can be used either with normal quic connections when using the quinn crate or with magicsock connections when using the iroh-net crate."><title>iroh_blobs::protocol - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-dbdb5eec.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_blobs" data-themes="" data-resource-suffix="" data-rustdoc-version="1.85.0-nightly (d10a6823f 2024-11-29)" data-channel="nightly" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../static.files/storage-59e33391.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_blobs/index.html">iroh_<wbr>blobs</a><span class="version">0.31.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module protocol</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#participants" title="Participants">Participants</a></li><li><a href="#goals" title="Goals">Goals</a></li><li><a href="#non-goals" title="Non-goals">Non-goals</a></li><li><a href="#requests" title="Requests">Requests</a><ul><li><a href="#getter-defined-requests" title="Getter defined requests">Getter defined requests</a></li><li><a href="#provider-defined-requests" title="Provider defined requests">Provider defined requests</a></li><li><a href="#specifying-the-required-data" title="Specifying the required data">Specifying the required data</a></li></ul></li><li><a href="#responses" title="Responses">Responses</a></li><li><a href="#requesting-multiple-unrelated-blobs" title="Requesting multiple unrelated blobs">Requesting multiple unrelated blobs</a></li></ul><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#constants" title="Constants">Constants</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate iroh_<wbr>blobs</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">iroh_blobs</a></span><h1>Module <span>protocol</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/iroh_blobs/protocol.rs.html#1-516">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Protocol for transferring content-addressed blobs and collections over quic
22
connections. This can be used either with normal quic connections when using
33
the <a href="https://crates.io/crates/quinn">quinn</a> crate or with magicsock connections
44
when using the <a href="https://crates.io/crates/iroh-net">iroh-net</a> crate.</p>

pr/52/docs/src/iroh_blobs/hash.rs.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -584,8 +584,7 @@
584584
<a href="#583" id="583">583</a>
585585
<a href="#584" id="584">584</a>
586586
<a href="#585" id="585">585</a>
587-
<a href="#586" id="586">586</a>
588-
<a href="#587" id="587">587</a></pre></div><pre class="rust"><code><span class="doccomment">//! The blake3 hash used in Iroh.
587+
<a href="#586" id="586">586</a></pre></div><pre class="rust"><code><span class="doccomment">//! The blake3 hash used in Iroh.
589588

590589
</span><span class="kw">use </span>std::{borrow::Borrow, fmt, str::FromStr};
591590

@@ -1003,11 +1002,10 @@
10031002

10041003
<span class="attr">#[cfg(test)]
10051004
</span><span class="kw">mod </span>tests {
1006-
1007-
<span class="kw">use crate</span>::{assert_eq_hex, util::hexdump::parse_hexdump};
10081005
<span class="kw">use </span>serde_test::{assert_tokens, Configure, Token};
10091006

10101007
<span class="kw">use super</span>::<span class="kw-2">*</span>;
1008+
<span class="kw">use crate</span>::{assert_eq_hex, util::hexdump::parse_hexdump};
10111009

10121010
<span class="attr">#[test]
10131011
</span><span class="kw">fn </span>test_display_parse_roundtrip() {

pr/52/docs/src/iroh_blobs/protocol.rs.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,7 @@
514514
<a href="#513" id="513">513</a>
515515
<a href="#514" id="514">514</a>
516516
<a href="#515" id="515">515</a>
517-
<a href="#516" id="516">516</a>
518-
<a href="#517" id="517">517</a></pre></div><pre class="rust"><code><span class="doccomment">//! Protocol for transferring content-addressed blobs and collections over quic
517+
<a href="#516" id="516">516</a></pre></div><pre class="rust"><code><span class="doccomment">//! Protocol for transferring content-addressed blobs and collections over quic
519518
//! connections. This can be used either with normal quic connections when using
520519
//! the [quinn](https://crates.io/crates/quinn) crate or with magicsock connections
521520
//! when using the [iroh-net](https://crates.io/crates/iroh-net) crate.
@@ -1000,9 +999,8 @@
1000999

10011000
<span class="attr">#[cfg(test)]
10021001
</span><span class="kw">mod </span>tests {
1003-
<span class="kw">use crate</span>::{assert_eq_hex, util::hexdump::parse_hexdump};
1004-
10051002
<span class="kw">use super</span>::{GetRequest, Request};
1003+
<span class="kw">use crate</span>::{assert_eq_hex, util::hexdump::parse_hexdump};
10061004

10071005
<span class="attr">#[test]
10081006
</span><span class="kw">fn </span>request_wire_format() {

pr/52/docs/src/iroh_blobs/protocol/range_spec.rs.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,8 @@
558558
<a href="#557" id="557">557</a>
559559
<a href="#558" id="558">558</a>
560560
<a href="#559" id="559">559</a>
561-
<a href="#560" id="560">560</a></pre></div><pre class="rust"><code><span class="doccomment">//! Specifications for ranges selection in blobs and sequences of blobs.
561+
<a href="#560" id="560">560</a>
562+
<a href="#561" id="561">561</a></pre></div><pre class="rust"><code><span class="doccomment">//! Specifications for ranges selection in blobs and sequences of blobs.
562563
//!
563564
//! The [`RangeSpec`] allows specifying which BAO chunks inside a single blob should be
564565
//! selected.
@@ -914,11 +915,12 @@
914915
</span><span class="kw">mod </span>tests {
915916
<span class="kw">use </span>std::ops::Range;
916917

917-
<span class="kw">use crate</span>::{assert_eq_hex, util::hexdump::parse_hexdump};
918918
<span class="kw">use </span>proptest::prelude::<span class="kw-2">*</span>;
919919

920920
<span class="kw">use super</span>::<span class="kw-2">*</span>;
921921

922+
<span class="kw">use crate</span>::{assert_eq_hex, util::hexdump::parse_hexdump};
923+
922924
<span class="kw">fn </span>ranges(value_range: Range&lt;u64&gt;) -&gt; <span class="kw">impl </span>Strategy&lt;Value = ChunkRanges&gt; {
923925
prop::collection::vec((value_range.clone(), value_range), <span class="number">0</span>..<span class="number">16</span>).prop_map(|v| {
924926
<span class="kw">let </span><span class="kw-2">mut </span>res = ChunkRanges::empty();

pr/52/docs/src/iroh_blobs/ticket.rs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,10 @@
371371
</span><span class="kw">mod </span>tests {
372372
<span class="kw">use </span>std::net::SocketAddr;
373373

374-
<span class="kw">use crate</span>::{assert_eq_hex, util::hexdump::parse_hexdump};
375374
<span class="kw">use </span>iroh::{PublicKey, SecretKey};
376375

377376
<span class="kw">use super</span>::<span class="kw-2">*</span>;
377+
<span class="kw">use crate</span>::{assert_eq_hex, util::hexdump::parse_hexdump};
378378

379379
<span class="kw">fn </span>make_ticket() -&gt; BlobTicket {
380380
<span class="kw">let </span>hash = Hash::new(<span class="string">b"hi there"</span>);

0 commit comments

Comments
 (0)