aboutsummaryrefslogtreecommitdiffstats
blob: 074054244a6fe02eda996a5c2989276f9f331a75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright (c) 2026 Nikolay Govorov
# SPDX-License-Identifier: AGPL-3.0-or-later

[licenses]
allow = [
  # Dilution licenses available without restrictions
  "MIT",
  "ISC",
  "Apache-2.0",
  "BSD-3-Clause",

  # Custom but acceptable free licenses
  "Zlib",
  "Unicode-3.0",

  # GPL versions
  "GPL-2.0-or-later",
  "GPL-3.0-or-later",
  "LGPL-2.0-or-later",
  "LGPL-2.1-or-later",
  "LGPL-3.0-or-later",
]
exceptions = [
  # The project itself is distributed under the AGPL, but avoid it in dependencies
  { crate = "xtask", allow = ["AGPL-3.0-or-later"] },
  { crate = "base", allow = ["AGPL-3.0-or-later"] },
  { crate = "repos", allow = ["AGPL-3.0-or-later"] },
  { crate = "smoke", allow = ["AGPL-3.0-or-later"] },
  { crate = "recluse", allow = ["AGPL-3.0-or-later"] },
]
unused-allowed-license = "allow"

[sources]
unknown-git = "deny"
unknown-registry = "deny"