build(deps): bump the log-time group with 2 updates (#7579)

* build(deps): bump the log-time group with 2 updates

Bumps the log-time group with 2 updates: [chrono](https://github.com/chronotope/chrono) and [sentry](https://github.com/getsentry/sentry-rust).


Updates `chrono` from 0.4.30 to 0.4.31
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.30...v0.4.31)

Updates `sentry` from 0.31.6 to 0.31.7
- [Release notes](https://github.com/getsentry/sentry-rust/releases)
- [Changelog](https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-rust/compare/0.31.6...0.31.7)

---
updated-dependencies:
- dependency-name: chrono
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: log-time
- dependency-name: sentry
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: log-time
...

Signed-off-by: dependabot[bot] <support@github.com>

* reduce nanoseconds range in arbitrary tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
This commit is contained in:
dependabot[bot] 2023-09-20 23:41:05 +00:00 committed by GitHub
parent 81710c1b55
commit b6a18e9bab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 30 additions and 24 deletions

View File

@ -688,9 +688,9 @@ dependencies = [
[[package]]
name = "chrono"
version = "0.4.30"
version = "0.4.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "defd4e7873dbddba6c7c91e199c7fcb946abc4a6a4ac3195400bcfb01b5de877"
checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38"
dependencies = [
"android-tzdata",
"iana-time-zone",
@ -3814,9 +3814,9 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
[[package]]
name = "sentry"
version = "0.31.6"
version = "0.31.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e95efd0cefa32028cdb9766c96de71d96671072f9fb494dc9fb84c0ef93e52b"
checksum = "0097a48cd1999d983909f07cb03b15241c5af29e5e679379efac1c06296abecc"
dependencies = [
"httpdate",
"reqwest",
@ -3832,9 +3832,9 @@ dependencies = [
[[package]]
name = "sentry-backtrace"
version = "0.31.6"
version = "0.31.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ac2bac6f310c4c4c4bb094d1541d32ae497f8c5c23405e85492cefdfe0971a9"
checksum = "18a7b80fa1dd6830a348d38a8d3a9761179047757b7dca29aef82db0118b9670"
dependencies = [
"backtrace",
"once_cell",
@ -3844,9 +3844,9 @@ dependencies = [
[[package]]
name = "sentry-contexts"
version = "0.31.6"
version = "0.31.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c3e17295cecdbacf66c5bd38d6e1147e09e1e9d824d2d5341f76638eda02a3a"
checksum = "7615dc588930f1fd2e721774f25844ae93add2dbe2d3c2f995ce5049af898147"
dependencies = [
"hostname",
"libc",
@ -3858,9 +3858,9 @@ dependencies = [
[[package]]
name = "sentry-core"
version = "0.31.6"
version = "0.31.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8339474f587f36cb110fa1ed1b64229eea6d47b0b886375579297b7e47aeb055"
checksum = "8f51264e4013ed9b16558cce43917b983fa38170de2ca480349ceb57d71d6053"
dependencies = [
"once_cell",
"rand 0.8.5",
@ -3871,9 +3871,9 @@ dependencies = [
[[package]]
name = "sentry-tracing"
version = "0.31.6"
version = "0.31.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "89feead9bdd116f8035e89567651340fc382db29240b6c55ef412078b08d1aa3"
checksum = "38033822128e73f7b6ca74c1631cef8868890c6cb4008a291cf73530f87b4eac"
dependencies = [
"sentry-backtrace",
"sentry-core",
@ -3883,13 +3883,13 @@ dependencies = [
[[package]]
name = "sentry-types"
version = "0.31.6"
version = "0.31.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "99dc599bd6646884fc403d593cdcb9816dd67c50cff3271c01ff123617908dcd"
checksum = "0e663b3eb62ddfc023c9cf5432daf5f1a4f6acb1df4d78dd80b740b32dd1a740"
dependencies = [
"debugid",
"getrandom 0.2.10",
"hex",
"rand 0.8.5",
"serde",
"serde_json",
"thiserror",
@ -4948,7 +4948,6 @@ version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d"
dependencies = [
"getrandom 0.2.10",
"serde",
]

View File

@ -85,7 +85,7 @@ zcash_note_encryption = "0.4.0"
zcash_primitives = { version = "0.12.0", features = ["transparent-inputs"] }
# Time
chrono = { version = "0.4.30", default-features = false, features = ["clock", "std", "serde"] }
chrono = { version = "0.4.31", default-features = false, features = ["clock", "std", "serde"] }
humantime = "2.1.0"
# Error Handling & Formatting

View File

@ -42,7 +42,14 @@ pub fn datetime_full() -> impl Strategy<Value = chrono::DateTime<Utc>> {
(
// TODO: should we be subtracting 1 from the maximum timestamp?
DateTime::<Utc>::MIN_UTC.timestamp()..=DateTime::<Utc>::MAX_UTC.timestamp(),
0..2_000_000_000_u32,
// > The nanosecond part can exceed 1,000,000,000 in order to represent a leap second,
// > but only when secs % 60 == 59. (The true "UNIX timestamp" cannot represent a leap second
// > unambiguously.)
//
// https://docs.rs/chrono/latest/chrono/offset/trait.TimeZone.html#method.timestamp_opt
//
// We use `1_000_000_000` as the right side of the range to avoid that issue.
0..1_000_000_000_u32,
)
.prop_map(|(secs, nsecs)| {
Utc.timestamp_opt(secs, nsecs)

View File

@ -43,7 +43,7 @@ jubjub = "0.10.0"
rand = "0.8.5"
rayon = "1.7.0"
chrono = { version = "0.4.30", default-features = false, features = ["clock", "std"] }
chrono = { version = "0.4.31", default-features = false, features = ["clock", "std"] }
displaydoc = "0.2.4"
lazy_static = "1.4.0"
once_cell = "1.18.0"

View File

@ -43,7 +43,7 @@ proptest-impl = ["proptest", "proptest-derive", "zebra-chain/proptest-impl"]
bitflags = "2.4.0"
byteorder = "1.4.3"
bytes = "1.5.0"
chrono = { version = "0.4.30", default-features = false, features = ["clock", "std"] }
chrono = { version = "0.4.31", default-features = false, features = ["clock", "std"] }
dirs = "5.0.1"
hex = "0.4.3"
humantime-serde = "1.1.1"

View File

@ -39,7 +39,7 @@ proptest-impl = [
]
[dependencies]
chrono = { version = "0.4.30", default-features = false, features = ["clock", "std"] }
chrono = { version = "0.4.31", default-features = false, features = ["clock", "std"] }
futures = "0.3.28"
# lightwalletd sends JSON-RPC requests over HTTP 1.1

View File

@ -44,7 +44,7 @@ elasticsearch = [
[dependencies]
bincode = "1.3.3"
chrono = { version = "0.4.30", default-features = false, features = ["clock", "std"] }
chrono = { version = "0.4.31", default-features = false, features = ["clock", "std"] }
dirs = "5.0.1"
futures = "0.3.28"
hex = "0.4.3"

View File

@ -154,7 +154,7 @@ zebra-utils = { path = "../zebra-utils", version = "1.0.0-beta.29", optional = t
abscissa_core = "0.7.0"
clap = { version = "4.4.4", features = ["cargo"] }
chrono = { version = "0.4.30", default-features = false, features = ["clock", "std"] }
chrono = { version = "0.4.31", default-features = false, features = ["clock", "std"] }
humantime-serde = "1.1.1"
indexmap = "2.0.0"
lazy_static = "1.4.0"
@ -190,7 +190,7 @@ num-integer = "0.1.45"
rand = "0.8.5"
# prod feature sentry
sentry = { version = "0.31.6", default-features = false, features = ["backtrace", "contexts", "reqwest", "rustls", "tracing"], optional = true }
sentry = { version = "0.31.7", default-features = false, features = ["backtrace", "contexts", "reqwest", "rustls", "tracing"], optional = true }
# prod feature flamegraph
tracing-flame = { version = "0.2.0", optional = true }