Skip to content

Commit

Permalink
chore: bump utoipa and unleash types (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
sighphyre authored Oct 12, 2023
1 parent 5ac2701 commit f5541a1
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 16 deletions.
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ tracing-subscriber = {version = "0.3.17", features = ["json", "env-filter"]}
ulid = "1.1.0"
unleash-types = { version = "0.10", features = ["openapi", "hashes"]}
unleash-yggdrasil = { version = "0.6.0" }
utoipa = {version = "3", features = ["actix_extras", "chrono"]}
utoipa-swagger-ui = {version = "3", features = ["actix-web"]}
utoipa = {version = "4", features = ["actix_extras", "chrono"]}
utoipa-swagger-ui = {version = "4", features = ["actix-web"]}
[dev-dependencies]
actix-http = "3.4.0"
actix-http-test = "3.1.0"
Expand Down
5 changes: 5 additions & 0 deletions server/src/client_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ mod tests {
feature_type: Some("release".into()),
description: Some("test feature".into()),
created_at: Some(Utc::now()),
dependencies: None,
last_seen_at: None,
enabled: true,
stale: Some(false),
Expand Down Expand Up @@ -386,6 +387,7 @@ mod tests {
ClientFeature {
name: "feature_two_no_strats".into(),
feature_type: None,
dependencies: None,
description: None,
created_at: Some(Utc.with_ymd_and_hms(2022, 12, 5, 12, 31, 0).unwrap()),
last_seen_at: None,
Expand All @@ -400,6 +402,7 @@ mod tests {
name: "feature_three".into(),
feature_type: Some("release".into()),
description: None,
dependencies: None,
created_at: None,
last_seen_at: None,
enabled: true,
Expand Down Expand Up @@ -930,6 +933,7 @@ mod tests {
ClientFeature {
name: "edge-flag-1".into(),
feature_type: None,
dependencies: None,
description: None,
created_at: None,
last_seen_at: None,
Expand All @@ -943,6 +947,7 @@ mod tests {
ClientFeature {
name: "edge-flag-3".into(),
feature_type: None,
dependencies: None,
description: None,
created_at: None,
last_seen_at: None,
Expand Down
1 change: 1 addition & 0 deletions server/src/persistence/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ mod tests {
last_seen_at: None,
stale: Some(false),
impression_data: Some(false),
dependencies: None,
},
ClientFeature {
name: "test2".to_string(),
Expand Down

0 comments on commit f5541a1

Please sign in to comment.