Files
letro-authentication-service/deny.toml
Letro Bot 28fa03747c Update skip list in deny.toml
We should eventually update more crates to get versions aligned, as well
as plan a rand 0.10 upgrade, but this isn't a priority right now.
2026-04-26 12:23:58 +03:30

98 lines
2.9 KiB
TOML

# Copyright 2025, 2026 Element Creations Ltd.
# Copyright 2025 New Vector Ltd.
#
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
# Please see LICENSE files in the repository root for full details.
[graph]
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "aarch64-unknown-linux-gnu" },
{ triple = "x86_64-apple-darwin" },
{ triple = "aarch64-apple-darwin" },
]
[advisories]
version = 2
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
ignore = [
# RSA key extraction "Marvin Attack". This is only relevant when using
# PKCS#1 v1.5 encryption, which we don't
"RUSTSEC-2023-0071",
# Rand 0.8.5 unsoundness with custom logger + thread_rng reseeding.
# Only triggers when the `log` feature is enabled, which we don't use.
"RUSTSEC-2026-0097",
]
[licenses]
version = 2
allow = [
"LicenseRef-Element-Commercial",
"0BSD",
"Apache-2.0 WITH LLVM-exception",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"MIT",
"MPL-2.0",
"Unicode-3.0",
"Zlib",
"CDLA-Permissive-2.0",
]
[bans]
# List of crates to deny
deny = [
# We should never depend on openssl
{ name = "openssl" },
{ name = "openssl-sys" },
{ name = "native-tls" },
]
# We try to avoid duplicating crates and track exceptions here
multiple-versions = "deny"
skip = [
{ name = "itertools", version = "0.13.0" }, # zxcvbn depends on this old version
# a few crates depend on old versions of hashbrown
{ name = "hashbrown", version = "0.14.5" },
{ name = "hashbrown", version = "0.15.5" },
{ name = "hashbrown", version = "0.16.1" },
# a few dependencies depend on the 1.x version of thiserror
{ name = "thiserror", version = "1.0.69" },
{ name = "thiserror-impl", version = "1.0.69" },
# axum-macros, sqlx-macros and sea-query-attr use an old version
{ name = "heck", version = "0.4.1" },
# pad depends on an old version
{ name = "unicode-width", version = "0.1.14" },
# cron depends on this old version
# https://github.com/zslayton/cron/pull/137
{ name = "winnow", version = "0.6.26" },
# hyper-util -> system-configuration depends on this old version
{ name = "core-foundation", version = "0.9.4" },
# wasmtime pulls in older versions of these
{ name = "foldhash", version = "0.1.5" },
{ name = "gimli", version = "0.32.3" },
{ name = "object", version = "0.37.3" },
# We are still mainly using rand 0.8
{ name = "rand", version = "0.8.5" },
{ name = "rand_chacha", version = "0.3.1" },
{ name = "rand_core", version = "0.6.4" },
{ name = "getrandom", version = "0.2.16" },
]
skip-tree = []
# We should never enable the (default) `oldtime` feature of `chrono`
[[bans.features]]
name = "chrono"
deny = ["oldtime"]
[sources]
unknown-registry = "warn"
unknown-git = "warn"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]