Skip to content

Commit

Permalink
deploy: 6a54d7c
Browse files Browse the repository at this point in the history
  • Loading branch information
adetaylor committed Jun 25, 2024
1 parent 63645a9 commit 25f854d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,11 @@ <h2 id="how-to-read-this-book"><a class="header" href="#how-to-read-this-book">H
<p>The rest of this 'getting started' section assumes Cargo - if you're using something else, see the <a href="building.html">building</a> section.</p>
<p>First, add <code>autocxx</code> <em>and <code>cxx</code></em> to your <code>dependencies</code> and <code>autocxx-build</code> to your <code>build-dependencies</code> in your <code>Cargo.toml</code>. <strong>You must specify both.</strong></p>
<pre><code class="language-toml">[dependencies]
autocxx = "0.26.0"
autocxx = "0.27.0"
cxx = "1.0"

[build-dependencies]
autocxx-build = "0.26.0"
autocxx-build = "0.27.0"
miette = { version = "5", features = ["fancy"] } # optional but gives nicer error messages!
</code></pre>
<p>Now, add a <code>build.rs</code> next to your <code>Cargo.toml</code> (this is a standard <code>cargo</code> <a href="https://doc.rust-lang.org/cargo/reference/build-scripts.html">build script</a>). This is where you need your include path:</p>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ <h1 id="tutorial"><a class="header" href="#tutorial">Tutorial</a></h1>
<p>The rest of this 'getting started' section assumes Cargo - if you're using something else, see the <a href="building.html">building</a> section.</p>
<p>First, add <code>autocxx</code> <em>and <code>cxx</code></em> to your <code>dependencies</code> and <code>autocxx-build</code> to your <code>build-dependencies</code> in your <code>Cargo.toml</code>. <strong>You must specify both.</strong></p>
<pre><code class="language-toml">[dependencies]
autocxx = "0.26.0"
autocxx = "0.27.0"
cxx = "1.0"

[build-dependencies]
autocxx-build = "0.26.0"
autocxx-build = "0.27.0"
miette = { version = "5", features = ["fancy"] } # optional but gives nicer error messages!
</code></pre>
<p>Now, add a <code>build.rs</code> next to your <code>Cargo.toml</code> (this is a standard <code>cargo</code> <a href="https://doc.rust-lang.org/cargo/reference/build-scripts.html">build script</a>). This is where you need your include path:</p>
Expand Down

0 comments on commit 25f854d

Please sign in to comment.