Skip to content

Commit 8bd77c8

Browse files
authored
update licenses list; fmt nightly (#20)
1 parent e90b063 commit 8bd77c8

2 files changed

Lines changed: 18 additions & 4 deletions

File tree

.githooks/pre-push

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ if ! cargo deny check; then
1414
fi
1515

1616
# Formatting check
17-
if ! cargo fmt --all -- --check; then
18-
echo "❌ Formatting issues (run 'cargo fmt --all')"
17+
if ! cargo +nightly fmt --all -- --check; then
18+
echo "❌ Formatting issues (run 'cargo +nightly fmt --all')"
1919
exit 3
2020
fi
2121

deny.toml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,33 @@ unmaintained = "workspace"
2929
[licenses]
3030
allow = [
3131
"0BSD",
32-
"MIT",
3332
"Apache-2.0",
34-
"BSD-3-Clause",
3533
"BSD-2-Clause",
34+
"BSD-3-Clause",
35+
"BSD-2-Clause-Patent",
3636
"CC-BY-1.0",
3737
"CC-BY-2.0",
3838
"CC-BY-3.0",
3939
"CC-BY-4.0",
4040
"CC0-1.0",
41+
"CDLA-Permissive-1.0",
42+
"CDLA-Permissive-2.0",
43+
"FTL",
4144
"ISC",
45+
"JSON",
46+
"MIT",
47+
"MS-PL",
4248
"OpenSSL",
49+
"PostgreSQL",
50+
"SHL-0.5",
51+
"SHL-0.51",
52+
"TCP-wrappers",
4353
"Unicode-3.0",
4454
"Unicode-DFS-2016",
55+
"UPL-1.0",
56+
"W3C-20150513",
57+
"WTFPL",
58+
"Xnet",
4559
"Zlib",
4660
]
4761
confidence-threshold = 0.8

0 commit comments

Comments
 (0)