Skip to content

Commit

Permalink
chore(deps): upgrade utoipa version to 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wangeguo committed Oct 16, 2024
1 parent 5340d2c commit a00c0a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "amp-common"
description = "Rust libraries shared across Amphitheatre components and libraries"
version = "0.9.1"
version = "0.9.2"
edition = "2021"
license = "Apache-2.0"
homepage = "https://amphitheatre.app"
Expand Down Expand Up @@ -29,7 +29,7 @@ toml = "0.8.12"
tracing = "0.1.40"
ureq = { version = "2.9.6", features = ["json"] }
url = "2.5.0"
utoipa = { version = "4.2.0", features = ["axum_extras", "uuid", "chrono"] }
utoipa = { version = "5.0.0", features = ["axum_extras", "uuid", "chrono", "macros"] }
validator = { version = "0.18.0", features = ["derive"] }

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion src/sync/event_kinds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
use notify::event::{CreateKind, DataChange, MetadataKind, ModifyKind, RemoveKind};
use notify::EventKind::{self, Create, Modify, Remove};
use serde::{Deserialize, Serialize};
use utoipa::ToSchema;

/// EventKinds
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize, ToSchema)]
pub enum EventKinds {
/// for initial file synchronization, full override.
Overwrite,
Expand Down

0 comments on commit a00c0a3

Please sign in to comment.