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

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

No files matched your search

+1 -1
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]