Skip to content

Commit

Permalink
Update jiff crate from 0.1.16 to 0.1.19 version
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Jan 10, 2025
1 parent 33adfef commit fb74576
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions juniper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fnv = "1.0.5"
futures = { version = "0.3.22", features = ["alloc"], default-features = false }
graphql-parser = { version = "0.4", optional = true }
indexmap = { version = "2.0", features = ["serde"] }
jiff = { version = "0.1.16", features = ["std"], default-features = false, optional = true }
jiff = { version = "0.1.19", features = ["std"], default-features = false, optional = true }
juniper_codegen = { version = "0.16.0", path = "../juniper_codegen" }
rust_decimal = { version = "1.20", default-features = false, optional = true }
ryu = { version = "1.0", optional = true }
Expand All @@ -78,7 +78,7 @@ void = { version = "1.0.2", optional = true }
[dev-dependencies]
bencher = "0.1.2"
chrono = { version = "0.4.30", features = ["alloc"], default-features = false }
jiff = { version = "0.1.16", features = ["tzdb-bundle-always"], default-features = false }
jiff = { version = "0.1.19", features = ["tzdb-bundle-always"], default-features = false }
pretty_assertions = "1.0.0"
serde_json = "1.0.18"
serial_test = "3.0"
Expand Down
6 changes: 3 additions & 3 deletions juniper/src/integrations/jiff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1280,9 +1280,9 @@ mod duration_test {
.minutes(1)
.seconds(1)
.milliseconds(100),
graphql_input_value!("P1y1m1dT1h1m1.1s"),
graphql_input_value!("P1Y1M1DT1H1M1.1S"),
),
((-5).days(), graphql_input_value!("-P5d")),
((-5).days(), graphql_input_value!("-P5D")),
] {
let actual: InputValue = val.to_input_value();

Expand Down Expand Up @@ -1674,7 +1674,7 @@ mod integration_test {
"zonedDateTime": "2014-11-28T12:00:09.05-05:00[America/New_York]",
"timeZone": "Asia/Tokyo",
"utcOffset": "+10:00",
"duration": "P1y1m1dT1h1m1.1s",
"duration": "P1Y1M1DT1H1M1.1S",
}),
vec![],
)),
Expand Down

0 comments on commit fb74576

Please sign in to comment.