From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 88E0A22CBD9 for ; Wed, 13 May 2026 13:59:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778680782; cv=none; b=sf4gEMzypYa1rGMeBAfSNnWbBP3CP4KzWUg05zKHC5wJA6yPd6FYtjgROL4HvtdUYTDoIixAE97X+epS8QawPu9Y/i7LUIK2ebbYTLUkzqSh15oAta3jPfil9Usrt2e8GG4pzURd84Hnocn4QicNWjdFbkVQ35bCPfHsS6TttLY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778680782; c=relaxed/simple; bh=WkNnHaheJ5ggjAEfjUtSR2NL0BoAilq/XapW6CyXmwI=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=QHKCgYqkPyIP/861vsK72tlwrmS6cvLuda0BXT8Gq1yWNCjte/CkRU9h+xh5ZYniREgOYg80xGLznF803+Wf4y0fuiMn7yqzncUUtAUnOupViSrb3k+Vvow6jBJcLNSMI3+IcuwAVH0pksEstzaCDhidUUJsz907NrlhnCRzdBc= 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=Tut49SjM; arc=none smtp.client-ip=209.85.221.47 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="Tut49SjM" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-43d77f6092eso4309246f8f.2 for ; Wed, 13 May 2026 06:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778680779; x=1779285579; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:sender :from:to:cc:subject:date:message-id:reply-to; bh=NsFc3nYv1Tw4//qtRhqmTwmES9zr3g4CbXHYTHnJEHI=; b=Tut49SjMwT8eSX72cK7FRC6PvzB/JTy0PwtU3cxWrkHwFa4Hikw66yWiM2Q9nKxzVh YOMDn7xNTRv7mPMKwdpvG6/f+7vnPeaxxixQ6NYUxECp7BinQ5v4Ah+Ec2jV+MhIUtGk 6j8+7DrNyq/ysz3EiOXj3ts9S9voEWd4IIB7nWFJw9Liat9UDFKlr2hbvRM6Gdw5isXI 1jy3fR9hi9vYD8C7muNNfKiJxcRtyHNaasR6MrCHxTOrydoKA42GoyzEAJxm8MM4WzVb Q5QKBwnPN7qg3IV1iSZAswOct3wAMnKIpajbqDc0pcT7NwcQ/1qPR2pb9cwGIcbU0A3d 5A6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778680779; x=1779285579; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from: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=NsFc3nYv1Tw4//qtRhqmTwmES9zr3g4CbXHYTHnJEHI=; b=SVwb8WlHNoAx/oLG+BAB+3HJj0x0Gi8z4e2o4PDFf2ItrY12roAIiWkBI+nNs0eriF 7njXvlaqA2RVwSVDiVT85v9+nDrpUF9pXDWunKkoi7ch5+aCp4CDFpFn7VvhaBwgb58V FZyeHqRMqnle+y0DCuzC6B39Blr/YImCTChAN69ZcKvmCsXtGKBqGOsuZkIzJMokSiWQ UcMoapKFiTKMoBCpdmhIYLQbKzvQI/nMzFLDR5QB5+JxFBc1SwldIQ8lC2wS3QEwW6Kq IoMhEcRkm+RTZmSEq/fvOb7spr5mioofC2sc+ZsQW4mo0Lnl7dOrgSJSYq+PqejqYLQ9 3v2Q== X-Forwarded-Encrypted: i=1; AFNElJ/NlZbWBvtnBD5ciAx7GlcmA2fZy76rxLx6Zb0+LLcN0AoWvs9gpow+Nrajm728SDxwZPqDV34idsWFtdY=@vger.kernel.org X-Gm-Message-State: AOJu0YxVocKVTEhGtitNv3PwnFoqE+M+cdd22VkjXQA/XUtcEAr2DxEm iI+lFhdUDf2s0K55KPpy0Ts0EOZU8RInjmrhu0/LItiJpMrmuiMRYbF/ X-Gm-Gg: Acq92OGcSRq2Sxb/y5NHpw3hHmE1AVbt+Y91ZYfnhqwvf3UVKDPBVhET2CeBxcd3Ff/ x63vlUOSPLAOvRUK9M9rOKbXIjcH3dxoxNZCJhI+V30iCy83loVDcq7m2BaV+oJyiM6uJNWnqXD pTBiLfC4ta3EETAgP8qwzI23lOBktDr2MQ+ax8qUmVKz3k6+y5aAT9d4H/qekhpdlneqlCyJLYW QdjvtZ/NSRDEhAE/zVd+NCAlLJ1A26bEh1zommhKjOVwe5Q5mtRlI59YLrZubOsBS0e1uzEf1i1 eeV9Nlb4nBnYU0TqoQ4tzmM7zssmPjBLt/d0IeDZRt7KcCTlGKaXvMGhpUmhMVCwevtNxEjwCK3 nxVwF0uAmqrzQqcgv7kFibGE83wtaaWwCL/XOy3hlPmqqu4gJy6JpTwIAZ1IwMggKHiPQCadPfj qvffANwkN/KLEDveOC2WLWEWmuAouEHjG9Zatyow/ojhlhOMp4WoTJfI7TrWk= X-Received: by 2002:a05:600c:a011:b0:48a:563c:c8c0 with SMTP id 5b1f17b1804b1-48fc9a0e65emr53080375e9.7.1778680778790; Wed, 13 May 2026 06:59:38 -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 5b1f17b1804b1-48e8f442129sm42770485e9.28.2026.05.13.06.59.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 May 2026 06:59:36 -0700 (PDT) Sender: Julian Braha Message-ID: Date: Wed, 13 May 2026 14:59:35 +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 From: Julian Braha Subject: Re: [RFC v2 0/2] add kconfirm To: Demi Marie Obenour , nathan@kernel.org, nsc@kernel.org Cc: jani.nikula@linux.intel.com, akpm@linux-foundation.org, gary@garyguo.net, ljs@kernel.org, arnd@arndb.de, gregkh@linuxfoundation.org, masahiroy@kernel.org, ojeda@kernel.org, corbet@lwn.net, qingfang.deng@linux.dev, linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-doc@vger.kernel.org, linux-kbuild@vger.kernel.org References: <20260509203808.1142311-1-julianbraha@gmail.com> <8fe7c7c8-00f7-4a72-a984-e929f71bec22@gmail.com> Content-Language: en-US In-Reply-To: <8fe7c7c8-00f7-4a72-a984-e929f71bec22@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/11/26 05:24, Demi Marie Obenour wrote: > This adds too many dependencies. > > Some suggestions: > > - Use system libcurl instead of ureq. > - Use libc getopt_long instead of clap. > - Use manual FFI bindings instead of third-party crates. > - Use the C Kconfig parser instead of a third-party library. Hi Demi, thanks for going in-depth on the alternatives. Unfortunately, given the amount of analysis performed on the parse tree, even just replacing the parser amounts to a wholesale rewrite of the tool. I will look into the others though, just to reduce the amount of trust that kconfirm users need to invest in the Rust ecosystem. - Julian Braha