Add builds for all features to build workflow

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/4/head
trivernis 3 years ago
parent d4069b14ae
commit 9dcbf0efda

@ -30,4 +30,10 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-cargo- ${{ runner.os }}-cargo-
- name: Build - name: Build
run: cargo build --verbose run: cargo build
- name: Build API
run: cargo build --features=client-api
- name: Build Plugin
run: cargo build --features=tauri-plugin

@ -1,6 +1,5 @@
use async_trait::async_trait; use async_trait::async_trait;
use rmp_ipc::error::Result; use rmp_ipc::error::Result;
use rmp_ipc::prelude::IPCError;
use rmp_ipc::prelude::IPCResult; use rmp_ipc::prelude::IPCResult;
use rmp_ipc::protocol::*; use rmp_ipc::protocol::*;
use std::io::Error; use std::io::Error;
@ -47,6 +46,7 @@ impl AsyncStreamProtocolListener for ApiProtocolListener {
} }
#[cfg(not(unix))] #[cfg(not(unix))]
{ {
use rmp_ipc::prelude::IPCError;
Err(IPCError::BuildError( Err(IPCError::BuildError(
"The address can not be made into a socket address".to_string(), "The address can not be made into a socket address".to_string(),
)) ))

Loading…
Cancel
Save