Skip to content

Commit dc2b7e8

Browse files
committed
Remove disclaimer as GATs will soon be stabilized.
1 parent 64f5889 commit dc2b7e8

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

README.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,11 @@
33
[![Crates.io](https://img.shields.io/crates/v/real-async-trait.svg)](https://crates.io/crates/real-async-trait)
44
[![Documentation](https://docs.rs/real-async-trait/badge.svg)](https://docs.rs/real-async-trait/)
55

6-
This crate provides a proof-of-concept proc macro attribute that allows async
7-
traits to be possible, without wrapping everything in a `Box` and erase the
8-
types. This is made possible due to experimental `generic_associated_types`
9-
feature, as well as the unstable `type_alias_impl_trait` feature.
10-
11-
## Disclaimer
12-
The `generic_associated_types` feature is not unstable, but an "incomplete"
13-
experimental feature; rustc even gives you a warning when using it. __Don't use
14-
this in production code__. At the moment it's probably a better idea to use a
15-
type-erased async trait attribute proc macro, such as Dtolnay's `async-trait`
16-
crate, or a similar one. That said, it'd be awesome both for me and for the
17-
rust compiler if you could test this, find something that's missing in the
18-
compiler or here, and file an issue.
6+
This nightly-only crate provides a proof-of-concept proc macro attribute that
7+
allows async functions within traits, without the possible runtime overhead of
8+
wrapping everything in a `Box` and erasing the types. This is made possible
9+
thanks to the unstable `generic_associated_types` and `type_alias_impl_trait`
10+
nightly features.
1911

2012
## License
2113

0 commit comments

Comments
 (0)