Skip to content

Commit

Permalink
Document the rust_1_39 feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
shepmaster committed Jul 6, 2023
1 parent d993c94 commit 93f55e2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions 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 Down

0 comments on commit 93f55e2

Please # to comment.