<commit_before>exclude = ["wayland-tests"]

[advisories]
vulnerability = "deny"
unmaintained = "deny"
notice = "deny"

[bans]
multiple-versions = "deny"
deny = [
]
skip = [
]

[licenses]
unlicensed = "deny"
allow-osi-fsf-free = "neither"
copyleft = "deny"
confidence-threshold = 0.93 # We want really high confidence when inferring licenses from text
allow = [
    "Apache-2.0",
    "MIT",
    "ISC",
    "BSD-3-Clause",
    # Used in unicode-ident, which is used by syn and proc-macro2.
    #
    # Do watch https://github.com/rust-lang/rust/issues/98116 for future progress on this
    #
    # Unicode describes it as a "permissive MIT type of license": https://www.unicode.org/faq/unicode_license.html
    # Fedora believes it is a free license: https://fedoraproject.org/wiki/Licensing/Unicode
    # Google categorizes the license under "notice" which means it can be used (with some exceptions like
    # notices or advertising clauses): https://opensource.google/documentation/reference/thirdparty/licenses#notice
    "Unicode-DFS-2016",
]<commit_msg>ci: don't deny multiple versions in deptree<commit_after>exclude = ["wayland-tests"]

[advisories]
vulnerability = "deny"
unmaintained = "deny"
notice = "deny"

[bans]
# nix lags nehind on memoffset
#multiple-versions = "deny"
deny = [
]
skip = [
]

[licenses]
unlicensed = "deny"
allow-osi-fsf-free = "neither"
copyleft = "deny"
confidence-threshold = 0.93 # We want really high confidence when inferring licenses from text
allow = [
    "Apache-2.0",
    "MIT",
    "ISC",
    "BSD-3-Clause",
    # Used in unicode-ident, which is used by syn and proc-macro2.
    #
    # Do watch https://github.com/rust-lang/rust/issues/98116 for future progress on this
    #
    # Unicode describes it as a "permissive MIT type of license": https://www.unicode.org/faq/unicode_license.html
    # Fedora believes it is a free license: https://fedoraproject.org/wiki/Licensing/Unicode
    # Google categorizes the license under "notice" which means it can be used (with some exceptions like
    # notices or advertising clauses): https://opensource.google/documentation/reference/thirdparty/licenses#notice
    "Unicode-DFS-2016",
]
{'fraction_non_alphanumeric': 0.11948529411764706, 'fraction_numerical': 0.014705882352941176, 'mean_word_length': 3.763676148796499, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '848538', 'n_tokens_mistral': 747, 'n_tokens_neox': 703, 'n_words': 205}