Skip to content

Commit d7f907d

Browse files
committed
Update to new API
1 parent e6c2cab commit d7f907d

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.tarpaulin.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ exclude = [
3232
"swimos_form_derive",
3333
"swimos_agent_derive",
3434
"macro_utilities",
35+
"example_client_2_2",
36+
"example_server_2_2"
3537
]
3638
workspace = true
3739
avoid-cfg-tarpaulin = true

build_rs_cov.profraw

5.48 KB
Binary file not shown.

client/swimos_client/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ use swimos_remote::websocket::RatchetClient;
2222
use futures_util::future::BoxFuture;
2323
#[cfg(feature = "deflate")]
2424
use ratchet::deflate::{DeflateConfig, DeflateExtProvider};
25-
pub use runtime::RemotePath;
2625
use runtime::{
2726
start_runtime, ClientConfig, DownlinkRuntimeError, RawHandle, Transport, WebSocketConfig,
2827
};

example_apps/devguide/2_2/example_server/src/main.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
use swimos::{
22
agent::{
3-
agent_lifecycle::utility::HandlerContext, agent_model::AgentModel,
4-
event_handler::EventHandler, lanes::ValueLane, lifecycle, projections, AgentLaneModel,
3+
agent_lifecycle::HandlerContext, agent_model::AgentModel, event_handler::EventHandler,
4+
lanes::ValueLane, lifecycle, projections, AgentLaneModel,
55
},
66
route::RoutePattern,
77
server::{Server, ServerBuilder, ServerHandle},
88
};
99

1010
use std::{error::Error, time::Duration};
11+
1112
#[derive(AgentLaneModel)]
1213
#[projections]
1314
pub struct ExampleAgent {

0 commit comments

Comments
 (0)