From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6043733C1B7 for ; Tue, 28 Apr 2026 17:01:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777395681; cv=none; b=Yq6Fmbv/4N+OAJv8zG/2FG+Tzds8YQxjL+Ct3LQoLjJVt2RkldyC5YuJXTu+i/ruU2X6Xa/Hbr04St9iqu4MZ/oo7OEZpb00/kaeRPaSawdM3RDDj6MZjKlDKCQbtoZW/UBNN2TPaM6m9mDkBuJfWyUuBegx8+M5Q6lZdwoE32c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777395681; c=relaxed/simple; bh=24rly7mTR46SDbTB9/GpQSpB0zd1Sg4TfmU1mBbtSvw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=TgnsroqugKhjbxT6dQ6Yaz26NTjlGLV1u4anKamF2OI/iUoBLKZ9qFuvxryACf5SSzrfVhrzPZsa+0e96E6r08fb08IhtuVTNRtxtWVj4C5RaXX+CujP1r2Wq58rbwx9/nImHwWcRdthdryD7VgGZzyd3JNTj+Cxrjf74UWe3s0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=CLrbqULd; arc=none smtp.client-ip=209.85.221.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CLrbqULd" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-43d64313c39so9014560f8f.3 for ; Tue, 28 Apr 2026 10:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777395679; x=1778000479; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=24rly7mTR46SDbTB9/GpQSpB0zd1Sg4TfmU1mBbtSvw=; b=CLrbqULdQIzR8A8Zn7tf756a+u48fg7UF0UZ0JVC8xYnNxP71vYXEcGT+H6RvEGtTD 8jqfLKsIvz/GDJh8ZtwBvYOyDsa7wlD7g/HsGYI6HVdcgpl5STYh7+rcxb8cnhuvUFBE ceVFsqfOSCyyjvbu1WPwKo3vpe93XhIva7slM8uonlUTbSzMPfvNP901ysdI9qE22yyx FFZjhIhvxN97/EcZJwcZEv6Tom4Y6sx/L1Jxevipi1Nwwovdde9g2LM0jPOD1kb+5Ue9 W26KfXJw/SNvTmFRjE5ayrcdwY/MnejsKZ4aF1yO/UoZrM1k2yHnTgkEjQUOuvJ/RFAs 628g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777395679; x=1778000479; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=24rly7mTR46SDbTB9/GpQSpB0zd1Sg4TfmU1mBbtSvw=; b=WhG+38rW/aSngEtCbQXHLI5W5L9gNfc3byfjhj7Cxz9cjPVZzIOAeV7WJA4ZALsMnT pzjYkwnyKwKpjKmtllzGLLgG+KoFpKxV+HJGtsEfUbYzzTntLFiwtVbZFj8q4jDT0mWf u0tZKJEBSKy03nxjZpgHlZCzXtyx7vcKDPpLYbPnY4vSyxfMt4IN8LPgZh2sxW1ZSpiD 8vuXB+7FMCeT3lN8uuZ80rYfFf0qknz3BZeQ7ktW11z+rBRa6EuF1KbbEceyHeugf5OQ BoeVqfVzZH2ZHUcBuvMbPq8M9gZZHhVT0431zOyBDI0WF97ZRwQD/uyEpcfvZrDmi+T2 VzYQ== X-Forwarded-Encrypted: i=1; AFNElJ+VOMTQ0lOye+ofGpqcQ9eLt9Z1OyreVZxXILj9hBwx7IH2Xl0IASM0pLUKqsYZyKsmRXAq4Yeeky9/hJU=@vger.kernel.org X-Gm-Message-State: AOJu0Yya+ssyNKsUScjgayaNjO54DqauIwhDNQjQdMhlFBhURRGpoEpk ZRIlnKK7Pyb+Oc6LkTj14cqE9WVebP6L3dTYm/S5LfQk7CStRqi9R+zu X-Gm-Gg: AeBDietODYHiTBk8u/4NG1VxI1000I9IC+XqpMy5t1Qvhqy78tAleu3y86W32trvbSe xk6wM+CFmRKpiN5cfsj5l7oxN1M1+/QEc8pk3IntSqwBa0RQWWHDOJ9DDiRUC+vF5tfC8lAUDTK dmhtjhmaccG8wBiYGXHu5UCrpdmFNA9j1dApdugSRXaOWiKWmJATdQLpMK5cuExN76cBSpwqN/Y RcoMlrXz+P09yb80qt5VO4q2/y2ECQJi28UqzW6PG6YcFyh/3bYuj0w1aUSlCNNNR6ZOYDDUM38 7mvyEawfnehYiSqC/N30hyKuZaDZAjm0mSLg2pa0Nzd5o68l4bx0q+UWfU2ZMDQHbQzH1qFEDk0 5x8uyfCNDn7qMuDIaAFY3HQIpb9NFHma+BtfpXB4V3L90xvhpb0pZbxXpi8NzbysLx46/QK4n+E HSTcaqUXFq3IWR+qhACHdlVnMolz1raaH1DWB5jmlBi1Ibeh8A6p+uy6OAPmP4iXbTsJxyKQ== X-Received: by 2002:a05:6000:2586:b0:441:1e8e:d8fd with SMTP id ffacd0b85a97d-44790753399mr154751f8f.29.1777395678473; Tue, 28 Apr 2026 10:01:18 -0700 (PDT) Received: from [10.128.10.158] (195-23-151-163.net.novis.pt. [195.23.151.163]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4463f5b50ccsm6953389f8f.24.2026.04.28.10.01.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Apr 2026 10:01:17 -0700 (PDT) Sender: Julian Braha Message-ID: Date: Tue, 28 Apr 2026 18:01:15 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 2/2] Documentation: dev-tools: add kconfirm To: Arnd Bergmann , Miguel Ojeda Cc: Andrew Morton , ljs@kernel.org, Greg Kroah-Hartman , Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Miguel Ojeda , Jonathan Corbet , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-doc@vger.kernel.org, linux-kbuild@vger.kernel.org References: <20260427174429.779474-1-julianbraha@gmail.com> <20260427174429.779474-3-julianbraha@gmail.com> <607be3b2-11bc-4074-a396-39da73089b74@app.fastmail.com> Content-Language: en-US From: Julian Braha In-Reply-To: <607be3b2-11bc-4074-a396-39da73089b74@app.fastmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Mon, Apr 27, 2026 at 9:34 PM Arnd Bergmann wrote: > It would also be helpful to reduce the number of hard dependencies > and ideally only rely on packages that are already shipping in common > distros. > > From the dependency list, it appears that the majority of dependencies > here are only indirectly pulled in by 'reqwest'. I guess is only > required for dead-link checking, so maybe that part could be > made optional? Thanks Arnd, I've done a deep dive on this, and found a number of ways to reduce the size of the vendored dependencies: 1. replace the reqwest dependency with the smaller ureq, 2. remove rustls as a dependency, and instead expect the user's system to have openssl, 3. filter out unneeded artifacts (e.g. none of their tests or docs), 4. filter out non-linux platform support With all of this, the size of the entire tool source with dependencies is under 50mb (about the same as the perf tool). And then an internet connection can be avoided when using Make. - Julian Braha