Skip to content

Commit

Permalink
serde
Browse files Browse the repository at this point in the history
  • Loading branch information
TimonPost committed Apr 7, 2023
1 parent 683c311 commit 778382b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@

use std::fmt;

#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};

use crate::{csi, Command};

#[cfg(feature = "events")]
Expand Down
3 changes: 3 additions & 0 deletions src/event/events_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ use parking_lot::{MappedMutexGuard, Mutex, MutexGuard};
#[cfg(feature = "event-stream")]
pub use stream::EventStream;

#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};

use super::{
filter::{EventFilter, Filter},
read::InternalEventReader,
Expand Down

0 comments on commit 778382b

Please sign in to comment.