mirror of https://github.com/stjepang/smol
Clarification
This commit is contained in:
parent
7232e53fc8
commit
92364e6fb3
|
@ -47,9 +47,9 @@ Look inside the [examples] directory for more.
|
|||
|
||||
All async libraries work with smol out of the box.
|
||||
|
||||
However, [tokio] is a special case due to its generally hostile attitude towards non-tokio
|
||||
libraries, insistence on non-standard I/O traits, and lack of documentation on integration
|
||||
with the larger Rust ecosystem. Fortunately, there are ways around it.
|
||||
However, [tokio] is generally hostile towards non-tokio libraries, insists on non-standard I/O
|
||||
traits, and deliberately lacks documentation on integration with the larger Rust ecosystem.
|
||||
Fortunately, there are ways around it.
|
||||
|
||||
Enable the `tokio02` feature flag and `smol::run()` will create a minimal
|
||||
tokio runtime for its libraries:
|
||||
|
|
|
@ -34,9 +34,9 @@
|
|||
//!
|
||||
//! All async libraries work with smol out of the box.
|
||||
//!
|
||||
//! However, [tokio] is a special case due to its generally hostile attitude towards non-tokio
|
||||
//! libraries, insistence on non-standard I/O traits, and lack of documentation on integration
|
||||
//! with the larger Rust ecosystem. Fortunately, there are ways around it.
|
||||
//! However, [tokio] is generally hostile towards non-tokio libraries, insists on non-standard I/O
|
||||
//! traits, and deliberately lacks documentation on integration with the larger Rust ecosystem.
|
||||
//! Fortunately, there are ways around it.
|
||||
//!
|
||||
//! Enable the `tokio02` feature flag and [`smol::run()`][`crate::run()`] will create a minimal
|
||||
//! tokio runtime for its libraries:
|
||||
|
|
Loading…
Reference in New Issue