Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,20 @@ jobs:
persist-credentials: false
- uses: bnjbvr/cargo-machete@ac30a525c0a8d163a92d727b3ff079ee3f6ecb08 # v0.9.2

cargo_deny:
name: cargo deny
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: EmbarkStudios/cargo-deny-action@3c6349835b2b7b196a839186cb8b78e02f7b5f25 # v2.1.1
with:
arguments: --locked
command: check
command-arguments: "-Dwarnings"

lint-clippy:
name: Check Clippy
runs-on: ubuntu-latest
Expand Down
68 changes: 18 additions & 50 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/chatmail/filtermail"

[dependencies]
async-trait = "0.1.89"
base64 = "0.23.1"
base64 = "0.22.1"
serde = { version = "1.0.228", features = ["derive"] }
serini = "0.3.0"
tokio = { version = "1.52.3", features = ["full"] }
Expand All @@ -23,7 +23,7 @@ governor = { version = "0.10.4", default-features = false, features = [
"std",
"dashmap",
] }
viadkim = { version = "0.2.0" }
viadkim = { git = "https://github.com/chatmail/viadkim.git", rev = "202b95f38ed32594318a779dc4a793e5719e7751" }
hickory-resolver = { version = "0.26.1", features = ["dnssec-aws-lc-rs"] }
lru = "0.18.0"
parking_lot = "0.12.5"
Expand Down
52 changes: 52 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
[advisories]
ignore = [
# No fix yet. (2026-10-22)
"RUSTSEC-2023-0071",
]

[bans]
# TODO: this should be reviewed at some point.
skip = [
{ name = "cpufeatures", version = "0.2.17" },
{ name = "getrandom", version = "0.2.17" },
{ name = "getrandom", version = "0.3.4" },
{ name = "hashbrown", version = "0.14.5" },
{ name = "hashbrown", version = "0.16.1" },
{ name = "r-efi", version = "5.3.0" },
{ name = "rand", version = "0.8.5" },
{ name = "rand_core", version = "0.6.4" },
{ name = "socket2", version = "0.5.10" },
{ name = "syn", version = "2.0.114" },
{ name = "untrusted", version = "0.7.1" },

# these don't really matter as we never build for windows
{ name = "windows-sys", version = "0.48.0" },
{ name = "windows-sys", version = "0.52.0" },
{ name = "windows-targets", version = "0.48.5" },
{ name = "windows_aarch64_gnullvm", version = "0.48.5" },
{ name = "windows_aarch64_msvc", version = "0.48.5" },
{ name = "windows_i686_gnu", version = "0.48.5" },
{ name = "windows_i686_msvc", version = "0.48.5" },
{ name = "windows_x86_64_gnu", version = "0.48.5" },
{ name = "windows_x86_64_gnullvm", version = "0.48.5" },
{ name = "windows_x86_64_msvc", version = "0.48.5" },
]

[licenses]
allow = [
"0BSD",
"Apache-2.0",
"BSD-3-Clause",
"CDLA-Permissive-2.0",
"ISC",
"MIT",
"MIT-0",
"Unicode-3.0",
"Zlib",

# viadkim, noted in README.md
"GPL-3.0-or-later",
]

[sources.allow-org]
github = ["chatmail"]
Loading