Skip to content

Commit a1298e5

Browse files
committed
Update chrono to 0.4.40.
Pairs with https://bugzilla.mozilla.org/show_bug.cgi?id=1951517
1 parent 6375ad5 commit a1298e5

File tree

7 files changed

+27
-4
lines changed

7 files changed

+27
-4
lines changed

Cargo.lock

Lines changed: 9 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

DEPENDENCIES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,7 @@ The following text applies to code linked from these dependencies:
588588
[version_check](https://github.com/SergioBenitez/version_check),
589589
[winapi-x86_64-pc-windows-gnu](https://github.com/retep998/winapi-rs),
590590
[winapi](https://github.com/retep998/winapi-rs),
591+
[windows-link](https://github.com/microsoft/windows-rs),
591592
[windows-sys](https://github.com/microsoft/windows-rs),
592593
[windows-targets](https://github.com/microsoft/windows-rs),
593594
[windows_x86_64_gnu](https://github.com/microsoft/windows-rs),

components/nimbus/src/stateful/evaluator.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ pub struct CalculatedAttributes {
123123
pub region: Option<String>,
124124
}
125125

126+
#[allow(deprecated)] // Bug 1960256 - use of deprecated chrono functions.
126127
pub fn get_calculated_attributes(
127128
installation_date: Option<i64>,
128129
db_path: String,

components/nimbus/src/stateful/nimbus_client.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ impl NimbusClient {
429429
Ok(res)
430430
}
431431

432+
#[allow(deprecated)] // Bug 1960256 - use of deprecated chrono functions.
432433
fn get_installation_date(&self, db: &Database, writer: &mut Writer) -> Result<DateTime<Utc>> {
433434
// we first check our context
434435
if let Some(context_installation_date) = self.app_context.installation_date {

megazords/full/DEPENDENCIES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@ The following text applies to code linked from these dependencies:
539539
[uuid](https://github.com/uuid-rs/uuid),
540540
[vcpkg](https://github.com/mcgoo/vcpkg-rs),
541541
[version_check](https://github.com/SergioBenitez/version_check),
542+
[windows-link](https://github.com/microsoft/windows-rs),
542543
[windows-sys](https://github.com/microsoft/windows-rs),
543544
[windows-targets](https://github.com/microsoft/windows-rs),
544545
[windows_x86_64_gnu](https://github.com/microsoft/windows-rs),

megazords/full/android/dependency-licenses.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,10 @@ the details of which are reproduced below.
484484
<name>Apache License 2.0: version_check</name>
485485
<url>https://github.com/SergioBenitez/version_check/blob/master/LICENSE-APACHE</url>
486486
</license>
487+
<license>
488+
<name>Apache License 2.0: windows-link</name>
489+
<url>https://github.com/microsoft/windows-rs/blob/master/license-apache-2.0</url>
490+
</license>
487491
<license>
488492
<name>Apache License 2.0: windows-sys</name>
489493
<url>https://github.com/microsoft/windows-rs/blob/master/license-mit</url>

tools/dependency_summary.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,15 @@
924924
"fixup": "https://github.com/sfackler/rust-openssl",
925925
}
926926
},
927+
"windows-link": {
928+
"license_url": {
929+
"fixup": "https://github.com/microsoft/windows-rs/blob/master/license-apache-2.0",
930+
},
931+
"license_file": {
932+
"fixup": "https://raw.githubusercontent.com/microsoft/windows-rs/master/license-apache-2.0",
933+
},
934+
935+
}
927936
}
928937

929938
# Sets of common licence file names, by license type.
@@ -997,7 +1006,7 @@ def __init__(self, metadata):
9971006
if info["name"] in PACKAGE_METADATA_FIXUPS:
9981007
fixups = PACKAGE_METADATA_FIXUPS[info["name"]]
9991008
for key, change in fixups.items():
1000-
if info.get(key, None) != change["check"]:
1009+
if info.get(key) != change.get("check"):
10011010
assert False, "Fixup check failed for {}.{}: {} != {}".format(
10021011
info["name"], key, info.get(key, None), change["check"]
10031012
)

0 commit comments

Comments
 (0)