From 25a7a2a0c68efef223499840b379ad30984d3081 Mon Sep 17 00:00:00 2001 From: jadamcrain Date: Tue, 27 Oct 2026 10:20:20 -0700 Subject: [PATCH] Remove allow-list entries for crates no longer in the lockfile Removes the 38 entries in `allowed.json` that name crates no longer in `Cargo.lock`, so they can't ship in any build of the bindings on any target. Most predate the move to `bom-tools` (#201); the rest left with older dependency versions. - `third_party` (22): `ansi_term`, `block-modes`, `CoreFoundation-sys`, `crypto-mac`, `futures`, `futures-channel`, `futures-executor`, `futures-io`, `futures-macro`, `IOKit-sys`, `mach`, `matchers`, `memoffset`, `num-integer`, `opaque-debug`, `overload`, `pin-utils`, `ryu`, `sct`, `spin`, `static_assertions`, `winapi` - `build_only` (16): `adler`, `atty`, `errno`, `io-lifetimes`, `is-terminal`, `linux-raw-sys`, `os_str_bytes`, `pathdiff`, `pest`, `proc-macro-error`, `proc-macro-error-attr`, `rustix`, `semver-parser`, `termcolor`, `ucd-trie`, `unicode-segmentation` Checked locally with `bom-tools` 0.3.0 on x86_64 Linux build evidence: the license reports for `rodbus-ffi-c` and `rodbus-ffi-java` are byte-for-byte identical to those from the full list, and both SBOMs generate. --- allowed.json | 343 --------------------------------------------------- 1 file changed, 343 deletions(-) diff --git a/allowed.json b/allowed.json index 8344b9e6..719d69fc 100644 --- a/allowed.json +++ b/allowed.json @@ -1,14 +1,12 @@ { "build_only": [ "addr2line", - "adler", "adler2", "anstream", "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", - "atty", "autocfg", "backtrace", "cc", @@ -19,36 +17,22 @@ "clap_lex", "colorchoice", "dunce", - "errno", "find-msvc-tools", "gimli", "heck", - "io-lifetimes", - "is-terminal", "is_terminal_polyfill", "miniz_oxide", - "linux-raw-sys", "object", "once_cell_polyfill", - "os_str_bytes", - "pathdiff", - "pest", "platforms", - "proc-macro-error", - "proc-macro-error-attr", "rodbus-schema", "rustc-demangle", - "rustix", "same-file", "semver", - "semver-parser", "serde_derive", "shlex", "strsim", - "termcolor", - "ucd-trie", "utf8parse", - "unicode-segmentation", "walkdir", "winapi-util", "cmake", @@ -132,21 +116,6 @@ } ] }, - "ansi_term": { - "id": "ansi_term", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2014 Benjamin Sago" - ] - } - } - } - ] - }, "base64": { "id": "base64", "source": "crates.io", @@ -208,21 +177,6 @@ } ] }, - "block-modes": { - "id": "block-modes", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2018-2019 The RustCrypto Project Developers" - ] - } - } - } - ] - }, "block-padding": { "id": "block-padding", "source": "crates.io", @@ -389,21 +343,6 @@ } ] }, - "CoreFoundation-sys": { - "id": "CoreFoundation-sys", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2015 David Cuddeback" - ] - } - } - } - ] - }, "core-foundation-sys": { "id": "core-foundation-sys", "source": "crates.io", @@ -494,21 +433,6 @@ } ] }, - "crypto-mac": { - "id": "crypto-mac", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2021 RustCrypto Developers" - ] - } - } - } - ] - }, "ctr": { "id": "ctr", "source": "crates.io", @@ -571,38 +495,6 @@ } ] }, - "futures": { - "id": "futures", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2016 Alex Crichton", - "Copyright (c) 2017 The Tokio Authors" - ] - } - } - } - ] - }, - "futures-channel": { - "id": "futures-channel", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2016 Alex Crichton", - "Copyright (c) 2017 The Tokio Authors" - ] - } - } - } - ] - }, "futures-core": { "id": "futures-core", "source": "crates.io", @@ -619,54 +511,6 @@ } ] }, - "futures-executor": { - "id": "futures-executor", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2016 Alex Crichton", - "Copyright (c) 2017 The Tokio Authors" - ] - } - } - } - ] - }, - "futures-io": { - "id": "futures-io", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2016 Alex Crichton", - "Copyright (c) 2017 The Tokio Authors" - ] - } - } - } - ] - }, - "futures-macro": { - "id": "futures-macro", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2016 Alex Crichton", - "Copyright (c) 2017 The Tokio Authors" - ] - } - } - } - ] - }, "futures-sink": { "id": "futures-sink", "source": "crates.io", @@ -792,21 +636,6 @@ } ] }, - "IOKit-sys": { - "id": "IOKit-sys", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2015 David Cuddeback" - ] - } - } - } - ] - }, "iana-time-zone": { "id": "iana-time-zone", "source": "crates.io", @@ -940,21 +769,6 @@ } ] }, - "mach": { - "id": "mach", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2019 Nick Fitzgerald" - ] - } - } - } - ] - }, "mach2": { "id": "mach2", "source": "crates.io", @@ -970,21 +784,6 @@ } ] }, - "matchers": { - "id": "matchers", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2019 Eliza Weisman" - ] - } - } - } - ] - }, "memchr": { "id": "memchr", "source": "crates.io", @@ -1000,21 +799,6 @@ } ] }, - "memoffset": { - "id": "memoffset", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2017 Gilad Naaman" - ] - } - } - } - ] - }, "mio": { "id": "mio", "source": "crates.io", @@ -1076,21 +860,6 @@ } ] }, - "num-integer": { - "id": "num-integer", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2014 The Rust Project Developers" - ] - } - } - } - ] - }, "num-traits": { "id": "num-traits", "source": "crates.io", @@ -1132,36 +901,6 @@ } ] }, - "opaque-debug": { - "id": "opaque-debug", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2018-2019 The RustCrypto Project Developers" - ] - } - } - } - ] - }, - "overload": { - "id": "opaque-debug", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2018-2019 The RustCrypto Project Developers" - ] - } - } - } - ] - }, "pbkdf2": { "id": "pbkdf2", "source": "crates.io", @@ -1219,21 +958,6 @@ } ] }, - "pin-utils": { - "id": "pin-utils", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2018 The pin-utils authors" - ] - } - } - } - ] - }, "pkcs5": { "id": "pkcs5", "source": "crates.io", @@ -1430,13 +1154,6 @@ } ] }, - "ryu": { - "id": "ryu", - "source": "crates.io", - "licenses": [ - "BSLv1" - ] - }, "salsa20": { "id": "salsa20", "source": "crates.io", @@ -1483,21 +1200,6 @@ } ] }, - "sct": { - "id": "sct", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2016 Joseph Birr-Pixton " - ] - } - } - } - ] - }, "serde": { "id": "serde", "source": "crates.io", @@ -1616,21 +1318,6 @@ } ] }, - "spin": { - "id": "spin", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2014 Mathijs van de Nes" - ] - } - } - } - ] - }, "spki": { "id": "spki", "source": "crates.io", @@ -1646,21 +1333,6 @@ } ] }, - "static_assertions": { - "id": "static_assertions", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2017 Nikolai Vazquez" - ] - } - } - } - ] - }, "subtle": { "id": "subtle", "source": "crates.io", @@ -1961,21 +1633,6 @@ } ] }, - "winapi": { - "id": "winapi", - "source": "crates.io", - "licenses": [ - { - "MIT": { - "copyright": { - "Lines": [ - "Copyright (c) 2015-2018 The winapi-rs Developers" - ] - } - } - } - ] - }, "windows-link": { "id": "windows-link", "source": "crates.io",