mirror of
https://github.com/fluencelabs/aquavm
synced 2025-06-27 13:41:32 +00:00
Refactor avm-server
interface mod to new crate (#294)
* Refactor `avm-server` interface mod to new crate (#294) The new crate name is `avm-interface`. It allows to build fully native air-trace, including pure WASM build. * Make fully native air-trace build Unless `wasm` feature is enabled (default), fully native build is produced. You may build WASM air-trace binary with `cargo build --target wasm32-wasi --no-default-features --release -p air-trace` * Fix tracing output on native air-trace build Wrong option was used.
This commit is contained in:
@ -14,6 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#[cfg(feature = "marine")]
|
||||
use marine_rs_sdk::marine;
|
||||
use serde::Deserialize;
|
||||
use serde::Serialize;
|
||||
@ -23,7 +24,7 @@ pub type CallRequests = HashMap<u32, CallRequestParams>;
|
||||
|
||||
/// Contains arguments of a call instruction and all other necessary information
|
||||
/// required for calling a service.
|
||||
#[marine]
|
||||
#[cfg_attr(feature = "marine", marine)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
||||
pub struct CallRequestParams {
|
||||
/// Id of a service that should be called.
|
||||
|
Reference in New Issue
Block a user