Crate spawns_compat
source ·Expand description
spawns-compat provides functions to find async runtimes for spawning task.
It uses [linkme] to inject these functions to spawns-core. In some platforms, this crate may
not be linked to binary finally. So, you may have to speak explicitly about this with extern crate spawns_compat. You could also use it with spawns-core through spawns which does so
for you. Besides this, in macOS, you may have to put below to your Cargo.toml.
[profile.dev]
lto = "thin"
See for details: