Skip to content

Commit

Permalink
Merge pull request #386 from shepmaster/compat-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shepmaster authored Jul 6, 2023
2 parents ecd6c82 + f00b5c0 commit e04a77c
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion src/guide/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,30 @@ SNAFU is tested and compatible back to Rust 1.34, released on
}
</style>

## `rust_1_39`

<dl class="snafu-ff-meta">
<dt>Default</dt>
<dd>enabled</dd>
</dl>

When enabled, SNAFU will assume that it's safe to target features
available in Rust 1.39. Notably, the `async` and `.await` keywords are
needed to allow [`report`][macro@crate::report] to be used on `async`
functions.

## `rust_1_46`

<dl class="snafu-ff-meta">
<dt>Default</dt>
<dd>enabled</dd>
<dt>Implies</dt>
<dd>

[`rust_1_39`](#rust_1_39)

</dd>
</dl>
</dl>

When enabled, SNAFU will assume that it's safe to target features
Expand All @@ -28,7 +47,7 @@ the source code location.

<dl class="snafu-ff-meta">
<dt>Default</dt>
<dd>enabled</dd>
<dd>disabled</dd>
<dt>Implies</dt>
<dd>

Expand Down

0 comments on commit e04a77c

Please sign in to comment.