Skip to content

Commit

Permalink
Add missing time crate dev-dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
juhaku committed Aug 27, 2022
1 parent 3ffacec commit 74a43e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
cargo test -p utoipa --features openapi_extensions,yaml
elif [[ "${{ matrix.testset }}" == "utoipa-gen" ]] && [[ ${{ steps.changes.outputs.gen_changed }} == true ]]; then
cargo test -p utoipa-gen --features utoipa/actix_extras,chrono,decimal,json,utoipa/uuid,utoipa/json
cargo test -p utoipa-gen --test schema_derive_test --features json,utoipa/json,utoipa/time,time
cargo test -p utoipa-gen --test path_response_derive_test_no_serde_json --no-default-features
cargo test -p utoipa-gen --test schema_derive_no_serde_json --no-default-features
Expand Down
1 change: 1 addition & 0 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ if [[ "$crate" == "utoipa" ]]; then
cargo test -p utoipa --features openapi_extensions
elif [[ "$crate" == "utoipa-gen" ]]; then
cargo test -p utoipa-gen --features utoipa/actix_extras,chrono,decimal,json,utoipa/uuid,utoipa/json
cargo test -p utoipa-gen --test schema_derive_test --features json,utoipa/json,utoipa/time,time

cargo test -p utoipa-gen --test path_response_derive_test_no_serde_json --no-default-features
cargo test -p utoipa-gen --test schema_derive_no_serde_json --no-default-features
Expand Down
1 change: 1 addition & 0 deletions utoipa-gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ smallvec = { version = "1.9.0", features = [ "serde" ] }
rust_decimal = "1"
chrono = { version = "0.4", features = ["serde"] }
assert-json-diff = "2"
time = { version = "0.3.11", features = [ "serde-human-readable" ] }

[features]
debug = []
Expand Down

0 comments on commit 74a43e6

Please sign in to comment.