Skip to content

Commit a55c755

Browse files
Merge pull request #6 from bytesonus/develop
0.1.2-1-beta
2 parents 881292f + e8ef00f commit a55c755

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

.travis.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/juno_module.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ type ArcHookListenerList = Arc<Mutex<HashMap<String, Vec<fn(Value)>>>>;
3636

3737
pub struct JunoModule {
3838
protocol: BaseProtocol,
39-
connection: Box<dyn BaseConnection>,
39+
connection: Box<dyn BaseConnection + Send + Sync>,
4040
requests: ArcRequestList,
4141
functions: ArcFunctionList,
4242
hook_listeners: ArcHookListenerList,
@@ -85,7 +85,7 @@ impl JunoModule {
8585
}
8686
}
8787

88-
pub fn new(protocol: BaseProtocol, connection: Box<dyn BaseConnection>) -> Self {
88+
pub fn new(protocol: BaseProtocol, connection: Box<dyn BaseConnection + Send + Sync>) -> Self {
8989
JunoModule {
9090
protocol,
9191
connection,

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ pub mod protocol;
99
pub mod macros;
1010

1111
pub use juno_module::{json, JunoModule};
12+
pub use utils::{Error, Result};

0 commit comments

Comments
 (0)