Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Smehnov committed Oct 4, 2024
1 parent 2b9606b commit b8f6a58
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "robot-agent"
version = "0.1.0"
edition = "2021"
version = "0.1.3"
edition = "2024"

[[bin]]
edition = "2021"
edition = "2024"
name = "robot-agent"
path = "src/main.rs"

Expand Down
30 changes: 30 additions & 0 deletions src/store_.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
use libp2p::{Multiaddr, PeerId};
use libp2p_identity::ed25519;
use serde::{Deserialize, Serialize};
use std::any::Any;
use std::collections::HashMap;
use std::error::Error;
use std::fs::{self};
use std::hash::Hash;
use std::sync::{Arc, Mutex};
use std::time::SystemTime;
use tokio::sync::broadcast;
use tracing::info;

use base64::{engine::general_purpose, Engine as _};

use crate::commands::{RobotJob, RobotJobResult};


/// Manages messages for the system
#[derive(Debug, Clone)]
pub struct MessageManager {
pub from_message_tx: broadcast::Sender<String>,
pub to_message_tx: broadcast::Sender<String>,
}

impl MessageManager {}




0 comments on commit b8f6a58

Please sign in to comment.