Add a feature to enable the async interface on non-wasm32 platforms

Follow-up to: #28
This commit is contained in:
Alekos Filini
2020-08-10 11:41:19 +02:00
parent f0a1e670df
commit f7f99172fe
3 changed files with 14 additions and 12 deletions

View File

@@ -5,7 +5,7 @@ extern crate serde;
#[macro_use]
extern crate serde_json;
#[cfg(target_arch = "wasm32")]
#[cfg(any(target_arch = "wasm32", feature = "async-interface"))]
#[macro_use]
extern crate async_trait;
#[macro_use]