From aecd4c777cc5724b12b8dd9c0a3bcad0f425660a Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Tue, 31 Oct 2023 16:16:33 +0100 Subject: [PATCH 1/2] Bump `fontdb` to `0.16` We were getting duplicate `ttf-parser` dependencies because of `rustybuzz` releasing its `ttf-parser 0.20` upgrade out of sync with `fontdb 0.16`, whose update just got published. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b04f5fa85e..ed57a575f3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ repository = "https://github.com/pop-os/cosmic-text" rust-version = "1.65" [dependencies] -fontdb = { version = "0.15.0", default-features = false } +fontdb = { version = "0.16.0", default-features = false } libm = "0.2.8" log = "0.4.20" rustybuzz = { version = "0.11.0", default-features = false, features = ["libm"] } From 2c987b6c96bdb44b2d240ce9852c074fec13a19e Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Tue, 31 Oct 2023 16:21:48 +0100 Subject: [PATCH 2/2] deny: Disallow duplicate dependency versions again Partially reverts 587bb5c98ff4ce0a5aa123b72c40d6fa3fffb335. --- deny.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deny.toml b/deny.toml index d62f5a4dc9..85520946bc 100644 --- a/deny.toml +++ b/deny.toml @@ -179,7 +179,7 @@ registries = [ # https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html [bans] # Lint level for when multiple versions of the same crate are detected -multiple-versions = "warn" +multiple-versions = "deny" # Lint level for when a crate version requirement is `*` wildcards = "allow" # The graph highlighting used when creating dotgraphs for crates