Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update cloudevents-sdk to 0.7 #176

Merged
merged 1 commit into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cerk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ edition = "2021"

[dependencies]
log = "0.4.0"
cloudevents-sdk = "0.3.0"
cloudevents-sdk = "0.7"
strum_macros = "0.19.4"
anyhow = "1.0"
serde = { version = "=1.0.118" }
2 changes: 1 addition & 1 deletion cerk/src/kernel/broker_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use crate::kernel::outgoing_processing_result::ProcessingResult;
use crate::kernel::CloudEventRoutingArgs;
use crate::runtime::channel::BoxedSender;
use crate::runtime::{InternalServerFnRef, InternalServerId};
use cloudevents::Event;
use cloudevents::event::Event;
use serde::Serialize;
use std::fmt;

Expand Down
2 changes: 1 addition & 1 deletion cerk_port_amqp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ amq-protocol-types = "6.0.1"
amq-protocol = { version = "6.0.1", features = [], default-features = false }
anyhow = "1.0"
async-std = "1.7.0"
cloudevents-sdk = "0.3.0"
cloudevents-sdk = "0.7"
2 changes: 1 addition & 1 deletion cerk_port_dummies/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ edition = "2021"
log = "0.4.0"
env_logger = "0.8"
cerk = { version = "0.2", path = "../cerk" }
cloudevents-sdk = "0.3.0"
cloudevents-sdk = "0.7"
chrono = "0.4"
serde_json = "1.0"
anyhow = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion cerk_port_dummies/src/port_printer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ mod tests {
OutgoingCloudEventProcessed, ProcessingResult,
};
use cerk_runtime_threading::channel::new_channel_with_size;
use cloudevents::Event;
use cloudevents::event::Event;
use std::thread;
use std::time::Duration;

Expand Down
2 changes: 1 addition & 1 deletion cerk_port_mqtt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ edition = "2021"
log = "0.4"
env_logger = "0.7"
cerk = { version = "0.2", path = "../cerk" }
cloudevents-sdk = "0.3"
cloudevents-sdk = "0.7"
serde_json = "1.0"
paho-mqtt = { version="0.11", features=["bundled", "build_bindgen"], default-features = false}
anyhow = "1.0"
Expand Down
3 changes: 2 additions & 1 deletion cerk_port_mqtt/src/port_mqtt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ use cerk::kernel::{
};
use cerk::runtime::channel::{BoxedReceiver, BoxedSender};
use cerk::runtime::{InternalServerFn, InternalServerFnRefStatic, InternalServerId};
use cloudevents::{AttributesReader, Event};
use cloudevents::event::Event;
use cloudevents::AttributesReader;
use paho_mqtt::{
AsyncClient, ConnectOptionsBuilder, CreateOptionsBuilder, Message, PersistenceType,
};
Expand Down
2 changes: 1 addition & 1 deletion cerk_port_mqtt_mosquitto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ log = "0.4"
env_logger = "0.7"
url = "2"
cerk = { version = "0.2", path = "../cerk" }
cloudevents-sdk = "0.3"
cloudevents-sdk = "0.7"
serde_json = "1.0"
mosquitto-client-wrapper = "^0.3.1"
anyhow = "1.0"
3 changes: 2 additions & 1 deletion cerk_port_mqtt_mosquitto/src/port_mqtt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ use cerk::kernel::{
};
use cerk::runtime::channel::{BoxedReceiver, BoxedSender};
use cerk::runtime::{InternalServerFn, InternalServerFnRefStatic, InternalServerId};
use cloudevents::{AttributesReader, Event};
use cloudevents::event::Event;
use cloudevents::AttributesReader;
use mosquitto_client_wrapper::Mosquitto;
use serde_json;
use std::collections::HashMap;
Expand Down
2 changes: 1 addition & 1 deletion cerk_port_unix_socket/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ edition = "2021"
log = "0.4.0"
env_logger = "0.7.1"
cerk = { version = "0.2", path = "../cerk" }
cloudevents-sdk = "0.3.0"
cloudevents-sdk = "0.7"
serde_json = "1.0.42"
anyhow = "1.0"

Expand Down
2 changes: 1 addition & 1 deletion cerk_port_unix_socket/src/port_input_unix_socket_json.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use cerk::kernel::{BrokerEvent, CloudEventRoutingArgs, Config, IncomingCloudEvent};
use cerk::runtime::channel::{BoxedReceiver, BoxedSender};
use cerk::runtime::{InternalServerFn, InternalServerFnRefStatic, InternalServerId};
use cloudevents::Event;
use cloudevents::event::Event;
use serde_json;
use std::io::{BufRead, BufReader};
use std::os::unix::net::{UnixListener, UnixStream};
Expand Down
4 changes: 2 additions & 2 deletions cerk_port_unix_socket/src/port_output_unix_socket_json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use cerk::kernel::{
};
use cerk::runtime::channel::{BoxedReceiver, BoxedSender};
use cerk::runtime::{InternalServerFn, InternalServerFnRefStatic, InternalServerId};
use cloudevents::Event;
use cloudevents::event::Event;
use serde_json;
use std::io::Write;
use std::os::unix::net::{UnixListener, UnixStream};
Expand Down Expand Up @@ -129,7 +129,7 @@ mod tests {
OutgoingCloudEventProcessed, ProcessingResult,
};
use cerk_runtime_threading::channel::new_channel_with_size;
use cloudevents::Event;
use cloudevents::event::Event;
use std::thread;
use std::time::Duration;

Expand Down
2 changes: 1 addition & 1 deletion cerk_router_broadcast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ edition = "2021"
[dependencies]
log = "0.4.0"
cerk = { version = "0.2", path = "../cerk" }
cloudevents-sdk = "0.3.0"
cloudevents-sdk = "0.7"
anyhow = "1.0"
2 changes: 1 addition & 1 deletion cerk_router_rule_based/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ edition = "2021"
[dependencies]
log = "0.4.0"
cerk = { version = "0.2", path = "../cerk" }
cloudevents-sdk = "0.3.0"
cloudevents-sdk = "0.7"
serde_json = "1.0.42"
serde = "1.0.103"
serde_derive = "1.0.103"
Expand Down
Loading