Skip to content

Commit 7482155

Browse files
committed
Merge branch 'main' of https://github.com/swimos/swim-rust into time_series
2 parents c6efb05 + 295d860 commit 7482155

File tree

160 files changed

+1714
-1655
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+1714
-1655
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ ratchet_fixture = "0.4"
9494
flate2 = "1.0.22"
9595
bitflags = "2.5"
9696
rocksdb = "0.22"
97-
integer-encoding = "3.0.4"
97+
integer-encoding = "4.0.0"
9898
rustls = "0.20"
9999
webpki = "0.22"
100100
webpki-roots = "0.22"
@@ -125,7 +125,7 @@ serde-xml-rs = "0.6"
125125
axum = "0.6.20"
126126
hyper-staticfile = "0.9"
127127
httparse = "1.8"
128-
sha1 = "0.10"
128+
sha-1 = "0.10.1"
129129
waker-fn = "1.1.0"
130130
num = "0.4"
131131
smol_str = "0.2.0"

docs/event_handler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ The `HandlerContext`.
9090
The aid in the construction of event handlers, a factor type is provided in the form of:
9191

9292
```rust
93-
swimos::agent::agent_lifecycle::utility::HandlerContext<AgentType>
93+
swimos::agent::agent_lifecycle::HandlerContext<AgentType>
9494
```
9595

9696
This allows for the easier construction of event handlers that will run in the context of the `AgentType`. Typically, in

example_apps/aggregations/src/aggregate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
use std::collections::HashMap;
1616
use swimos::{
17-
agent::agent_lifecycle::utility::HandlerContext,
17+
agent::agent_lifecycle::HandlerContext,
1818
agent::event_handler::EventHandler,
1919
agent::lanes::ValueLane,
2020
agent::lanes::{CommandLane, JoinValueLane},

example_apps/aggregations/src/area.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use rand::seq::SliceRandom;
2020

2121
use swimos::agent::event_handler::HandlerActionExt;
2222
use swimos::{
23-
agent::agent_lifecycle::utility::HandlerContext,
23+
agent::agent_lifecycle::HandlerContext,
2424
agent::event_handler::EventHandler,
2525
agent::lanes::{CommandLane, JoinValueLane, ValueLane},
2626
agent::lifecycle,

example_apps/aggregations/src/car.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use rand::Rng;
1919

2020
use swimos::agent::stores::ValueStore;
2121
use swimos::{
22-
agent::agent_lifecycle::utility::HandlerContext,
22+
agent::agent_lifecycle::HandlerContext,
2323
agent::event_handler::{EventHandler, HandlerActionExt},
2424
agent::lanes::ValueLane,
2525
agent::{lifecycle, projections, AgentLaneModel},

example_apps/command_lane/src/agent.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
use swimos::agent::{
16-
agent_lifecycle::utility::HandlerContext,
16+
agent_lifecycle::HandlerContext,
1717
event_handler::{EventHandler, HandlerActionExt},
1818
lanes::{CommandLane, ValueLane},
1919
lifecycle, projections, AgentLaneModel,

example_apps/demand_lane/src/agent.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use std::time::Duration;
1616

1717
use swimos::agent::{
18-
agent_lifecycle::utility::HandlerContext,
18+
agent_lifecycle::HandlerContext,
1919
event_handler::{EventHandler, HandlerAction, HandlerActionExt},
2020
lanes::{DemandLane, ValueLane},
2121
lifecycle, projections, AgentLaneModel,

example_apps/demand_map_lane/src/agent.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use std::collections::HashMap;
1616

1717
use swimos::agent::{
18-
agent_lifecycle::utility::HandlerContext,
18+
agent_lifecycle::HandlerContext,
1919
event_handler::{EventHandler, HandlerAction, HandlerActionExt},
2020
lanes::{CommandLane, DemandMapLane},
2121
lifecycle, projections, AgentLaneModel,

example_apps/event_downlink/src/consumer/agent.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
use swimos::agent::{
16-
agent_lifecycle::utility::HandlerContext,
16+
agent_lifecycle::HandlerContext,
1717
agent_model::downlink::hosted::EventDownlinkHandle,
1818
event_handler::{EventHandler, HandlerAction, HandlerActionExt},
1919
lanes::{CommandLane, ValueLane},

example_apps/event_downlink/src/producer/agent.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
use swimos::agent::{
16-
agent_lifecycle::utility::HandlerContext,
16+
agent_lifecycle::HandlerContext,
1717
event_handler::{EventHandler, HandlerActionExt},
1818
lanes::ValueLane,
1919
lifecycle, projections, AgentLaneModel,

0 commit comments

Comments
 (0)