Skip to content

Commit

Permalink
deploy: ff01ee1
Browse files Browse the repository at this point in the history
  • Loading branch information
jbearer committed Oct 24, 2024
1 parent a084548 commit 4d6e8ef
Show file tree
Hide file tree
Showing 37 changed files with 180 additions and 128 deletions.
24 changes: 12 additions & 12 deletions hotshot_query_service/availability/struct.BlockQueryData.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions hotshot_query_service/availability/struct.LeafQueryData.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions hotshot_query_service/availability/struct.PayloadQueryData.html

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions hotshot_query_service/availability/struct.TransactionQueryData.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!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="Embed migrations from the given directory into the current binary."><title>include_migrations in hotshot_query_service::data_source::sql - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-492a78a4a87dcc01.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="hotshot_query_service" data-themes="" data-resource-suffix="" data-rustdoc-version="1.82.0 (f6e511eec 2024-10-15)" data-channel="1.82.0" data-search-js="search-a99f1315e7cc5121.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-921df33f47b8780c.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-3b12f09e550e0385.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc macro"><!--[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="../../../hotshot_query_service/index.html">hotshot_<wbr>query_<wbr>service</a><span class="version">0.1.62</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In hotshot_<wbr>query_<wbr>service::<wbr>data_<wbr>source::<wbr>sql</a></h2></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"><h1>Macro <a href="../../index.html">hotshot_query_service</a>::<wbr><a href="../index.html">data_source</a>::<wbr><a href="index.html">sql</a>::<wbr><a class="macro" href="#">include_migrations</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../src/hotshot_query_service/data_source/storage/sql.rs.html#92-114">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><span class="macro">macro_rules!</span> include_migrations {
<!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="Embed migrations from the given directory into the current binary."><title>include_migrations in hotshot_query_service::data_source::sql - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-492a78a4a87dcc01.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="hotshot_query_service" data-themes="" data-resource-suffix="" data-rustdoc-version="1.82.0 (f6e511eec 2024-10-15)" data-channel="1.82.0" data-search-js="search-a99f1315e7cc5121.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-921df33f47b8780c.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-3b12f09e550e0385.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc macro"><!--[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="../../../hotshot_query_service/index.html">hotshot_<wbr>query_<wbr>service</a><span class="version">0.1.62</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In hotshot_<wbr>query_<wbr>service::<wbr>data_<wbr>source::<wbr>sql</a></h2></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"><h1>Macro <a href="../../index.html">hotshot_query_service</a>::<wbr><a href="../index.html">data_source</a>::<wbr><a href="index.html">sql</a>::<wbr><a class="macro" href="#">include_migrations</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../src/hotshot_query_service/data_source/storage/sql.rs.html#93-115">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><span class="macro">macro_rules!</span> include_migrations {
(<span class="macro-nonterminal">$dir</span>:tt) =&gt; { ... };
}</pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Embed migrations from the given directory into the current binary.</p>
<p>The macro invocation <code>include_migrations!(path)</code> evaluates to an expression of type <code>impl Iterator&lt;Item = Migration&gt;</code>. Each migration must be a text file which is an immediate child of
Expand All @@ -13,8 +13,9 @@
<code>hotshot-query-service</code> crate. The migrations are located in a directory called <code>migrations</code> at
the root of the crate.</p>

<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>migrations: Vec&lt;Migration&gt; =
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span><span class="kw-2">mut </span>migrations: Vec&lt;Migration&gt; =
<span class="macro">include_migrations!</span>(<span class="string">"$CARGO_MANIFEST_DIR/migrations"</span>).collect();
migrations.sort();
<span class="macro">assert_eq!</span>(migrations[<span class="number">0</span>].version(), <span class="number">10</span>);
<span class="macro">assert_eq!</span>(migrations[<span class="number">0</span>].name(), <span class="string">"init_schema"</span>);</code></pre></div>
<p>Note that a similar macro is available from Refinery:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h3 id="custom-migrations"><a class="doc-anchor" href="#custom-migrations">§</a
changes.</p>
<p>Custom migrations can be inserted using <a href="../storage/sql/struct.Config.html#method.migrations" title="method hotshot_query_service::data_source::storage::sql::Config::migrations"><code>Config::migrations</code></a>. Each custom migration will be
inserted into the overall sequence of migrations in order of version number. The migrations
provided by this crate only use version numbers which are multiples of 10, so the non-multiples
provided by this crate only use version numbers which are multiples of 100, so the non-multiples
can be used to insert custom migrations between the default migrations. You can also replace a
default migration completely by providing a custom migration with the same version number. This
may be useful when an earlier custom migration has altered the schema in such a way that a later
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.82.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.82.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="https://docs.rs/anyhow/1.0.85/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.82.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.82.0/std/primitive.u64.html">u64</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,</div></h4></section></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-PruneStorage-for-NoStorage" class="impl"><a class="src rightside" href="../../../../src/hotshot_query_service/data_source/storage/no_storage.rs.html#94-96">source</a><a href="#impl-PruneStorage-for-NoStorage" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PruneStorage.html" title="trait hotshot_query_service::data_source::storage::pruning::PruneStorage">PruneStorage</a> for <a class="struct" href="../no_storage/struct.NoStorage.html" title="struct hotshot_query_service::data_source::storage::no_storage::NoStorage">NoStorage</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pruner-1" class="associatedtype trait-impl"><a class="src rightside" href="../../../../src/hotshot_query_service/data_source/storage/no_storage.rs.html#95">source</a><a href="#associatedtype.Pruner-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Pruner" class="associatedtype">Pruner</a> = <a class="primitive" href="https://doc.rust-lang.org/1.82.0/std/primitive.unit.html">()</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PruneStorage-for-SqlStorage" class="impl"><a class="src rightside" href="../../../../src/hotshot_query_service/data_source/storage/sql.rs.html#526-636">source</a><a href="#impl-PruneStorage-for-SqlStorage" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PruneStorage.html" title="trait hotshot_query_service::data_source::storage::pruning::PruneStorage">PruneStorage</a> for <a class="struct" href="../sql/struct.SqlStorage.html" title="struct hotshot_query_service::data_source::storage::sql::SqlStorage">SqlStorage</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pruner-2" class="associatedtype trait-impl"><a class="src rightside" href="../../../../src/hotshot_query_service/data_source/storage/sql.rs.html#527">source</a><a href="#associatedtype.Pruner-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Pruner" class="associatedtype">Pruner</a> = <a class="struct" href="../sql/struct.Pruner.html" title="struct hotshot_query_service::data_source::storage::sql::Pruner">Pruner</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PruneStorage-for-FileSystemStorage%3CTypes%3E" class="impl"><a class="src rightside" href="../../../../src/hotshot_query_service/data_source/storage/fs.rs.html#127-132">source</a><a href="#impl-PruneStorage-for-FileSystemStorage%3CTypes%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Types: NodeType&gt; <a class="trait" href="trait.PruneStorage.html" title="trait hotshot_query_service::data_source::storage::pruning::PruneStorage">PruneStorage</a> for <a class="struct" href="../fs/struct.FileSystemStorage.html" title="struct hotshot_query_service::data_source::storage::fs::FileSystemStorage">FileSystemStorage</a>&lt;Types&gt;<div class="where">where
'life1: 'async_trait,</div></h4></section></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-PruneStorage-for-NoStorage" class="impl"><a class="src rightside" href="../../../../src/hotshot_query_service/data_source/storage/no_storage.rs.html#94-96">source</a><a href="#impl-PruneStorage-for-NoStorage" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PruneStorage.html" title="trait hotshot_query_service::data_source::storage::pruning::PruneStorage">PruneStorage</a> for <a class="struct" href="../no_storage/struct.NoStorage.html" title="struct hotshot_query_service::data_source::storage::no_storage::NoStorage">NoStorage</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pruner-1" class="associatedtype trait-impl"><a class="src rightside" href="../../../../src/hotshot_query_service/data_source/storage/no_storage.rs.html#95">source</a><a href="#associatedtype.Pruner-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Pruner" class="associatedtype">Pruner</a> = <a class="primitive" href="https://doc.rust-lang.org/1.82.0/std/primitive.unit.html">()</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PruneStorage-for-SqlStorage" class="impl"><a class="src rightside" href="../../../../src/hotshot_query_service/data_source/storage/sql.rs.html#537-647">source</a><a href="#impl-PruneStorage-for-SqlStorage" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PruneStorage.html" title="trait hotshot_query_service::data_source::storage::pruning::PruneStorage">PruneStorage</a> for <a class="struct" href="../sql/struct.SqlStorage.html" title="struct hotshot_query_service::data_source::storage::sql::SqlStorage">SqlStorage</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pruner-2" class="associatedtype trait-impl"><a class="src rightside" href="../../../../src/hotshot_query_service/data_source/storage/sql.rs.html#538">source</a><a href="#associatedtype.Pruner-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Pruner" class="associatedtype">Pruner</a> = <a class="struct" href="../sql/struct.Pruner.html" title="struct hotshot_query_service::data_source::storage::sql::Pruner">Pruner</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PruneStorage-for-FileSystemStorage%3CTypes%3E" class="impl"><a class="src rightside" href="../../../../src/hotshot_query_service/data_source/storage/fs.rs.html#127-132">source</a><a href="#impl-PruneStorage-for-FileSystemStorage%3CTypes%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Types: NodeType&gt; <a class="trait" href="trait.PruneStorage.html" title="trait hotshot_query_service::data_source::storage::pruning::PruneStorage">PruneStorage</a> for <a class="struct" href="../fs/struct.FileSystemStorage.html" title="struct hotshot_query_service::data_source::storage::fs::FileSystemStorage">FileSystemStorage</a>&lt;Types&gt;<div class="where">where
<a class="type" href="../../../type.Payload.html" title="type hotshot_query_service::Payload">Payload</a>&lt;Types&gt;: <a class="trait" href="../../../availability/trait.QueryablePayload.html" title="trait hotshot_query_service::availability::QueryablePayload">QueryablePayload</a>&lt;Types&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Pruner-3" class="associatedtype trait-impl"><a class="src rightside" href="../../../../src/hotshot_query_service/data_source/storage/fs.rs.html#131">source</a><a href="#associatedtype.Pruner-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Pruner" class="associatedtype">Pruner</a> = <a class="primitive" href="https://doc.rust-lang.org/1.82.0/std/primitive.unit.html">()</a></h4></section></div></details></div><script src="../../../../trait.impl/hotshot_query_service/data_source/storage/pruning/trait.PruneStorage.js" async></script></section></div></main></body></html>
Loading

0 comments on commit 4d6e8ef

Please sign in to comment.