From fa0bb55cf89d99aec0c4f126c10693c55bb51b09 Mon Sep 17 00:00:00 2001 From: mkarolin Date: Tue, 28 May 2024 11:47:06 -0400 Subject: [PATCH] Adds special case license treatment for rust futures-retry crate. --- script/brave_license_helper.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/script/brave_license_helper.py b/script/brave_license_helper.py index 2acc539fdc3..c72ad70680f 100644 --- a/script/brave_license_helper.py +++ b/script/brave_license_helper.py @@ -143,10 +143,6 @@ def AddBraveCredits(root, prune_paths, special_cases, prune_dirs, os.path.join('brave', 'third_party', 'rust', 'winapi_x86_64_pc_windows_gnu'), - # Skip this Rust crate because it doesn't conform to normal layout (the - # crate is not in chromium_crates_io/vendor). - os.path.join('brave', 'third_party', 'rust', 'futures_retry'), - # Rust crates that are downloaded but not used (due to Cargo.toml # misconfigurations in other crates). os.path.join('brave', 'third_party', 'rust', 'valuable'), @@ -215,6 +211,11 @@ def AddBraveCredits(root, prune_paths, special_cases, prune_dirs, "URL": "https://github.com/brave-intl/bat-native-bip39wally-core", "License": "MIT", }, + os.path.join('brave', 'third_party', 'rust', 'futures_retry', 'v0_5'): { + "Name": "futures-retry", + "URL": "https://crates.io/crates/futures-retry", + "License": "Apache-2.0", + }, os.path.join('brave', 'vendor', 'brave-extension'): { "Name": "Brave Only Extension", "URL": "https://github.com/brave/brave-extension",