Skip to content

Commit

Permalink
refactor: Drop imports of components only used once (locka99#365)
Browse files Browse the repository at this point in the history
such as `use somecrate` is unnecessary in rust.
  • Loading branch information
AiyionPrime authored Jul 26, 2024
1 parent 1a5a074 commit 8cc43e5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions samples/demo-server/src/machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ use std::sync::{
Arc,
};

use chrono;
use chrono::TimeDelta;
use rand;

use opcua::server::{events::event::*, prelude::*};

pub fn add_machinery(server: &mut Server, ns: u16, raise_event: bool) {
Expand Down
2 changes: 0 additions & 2 deletions samples/demo-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ extern crate log;

use std::{path::PathBuf, sync::Arc};

use tokio;

use opcua::server::{http, prelude::*};
use opcua::sync::RwLock;

Expand Down

0 comments on commit 8cc43e5

Please sign in to comment.