🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
7 messages
7 total messages Started by Lucas Castro Mon, 23 Nov 2026 18:40
Bug#1155036: ITP base64-light: A simple Base64 encoder and decoder library for Rust
#5807
Author: Lucas Castro
Date: Mon, 23 Nov 2026 18:40
16 lines
2276 bytes
Package: wnpp
Severity: wishlist
Owner: Lucas de Castro Borges <lucas@gnuabordo.com.br>
X-Debbugs-Cc: debian-devel@lists.debian.org, debian-rust@lists.debian.org
* Package name    : rust-base64_light
Version         : 0.1.6
Upstream Author : kujirahand <web@kujirahand.com>
* URL             : https://github.com/kujirahand/rust-base64-light
* License         : CC0-1.0
Programming Lang: Rust
Description     :  - rust source code

I intend to package rust-base64_light. This package will be maintained within the debian rust team.

Thanks,
Lucas de Castro Borges
Bug#1155036: ITP base64-light: A simple Base64 encoder and decoder library for Rust
#5864
Author: kpcyrd
Date: Mon, 23 Nov 2026 21:00
35 lines
3027 bytes
On 11/23/26 7:31 PM, Lucas Castro wrote:
> Package: wnpp
> Severity: wishlist
> Owner: Lucas de Castro Borges <lucas@gnuabordo.com.br>
> X-Debbugs-Cc: debian-devel@lists.debian.org, debian-rust@lists.debian.org
> * Package name    : rust-base64_light
> Version         : 0.1.6
> Upstream Author : kujirahand <web@kujirahand.com>
> * URL             : https://github.com/kujirahand/rust-base64-light
> * License         : CC0-1.0
> Programming Lang: Rust
> Description     :  - rust source code
> 
> I intend to package rust-base64_light. This package will be maintained within 
> the debian rust team.
> 
> Thanks,
> Lucas de Castro Borges

Hi!

Do you intend to package this as a library or as a binary project? :) For the 
library there's only 5 reverse dependencies, and as far as I can tell it has 
about the same lightweight footprint as the data-encoding crate (both in the 
binary and in API complexity):

https://crates.io/crates/data-encoding

let encoded = data_encoding::BASE64.encode(bytes);

For a Rust base64 implementation, the uutils project (packaged in Debian as 
rust-coreutils) has one.

Sincerely,
kpcyrd
Bug#1155036: ITP base64-light: A simple Base64 encoder and decoder library for Rust
#5950
Author: Lucas Castro
Date: Tue, 24 Nov 2026 16:10
45 lines
3708 bytes
Hi,

Em 23/11/2026 17:49, kpcyrd escreveu:
> On 11/23/26 7:31 PM, Lucas Castro wrote:
>> Package: wnpp
>> Severity: wishlist
>> Owner: Lucas de Castro Borges <lucas@gnuabordo.com.br>
>> X-Debbugs-Cc: debian-devel@lists.debian.org, debian-rust@lists.debian.org
>> * Package name    : rust-base64_light
>> Version         : 0.1.6
>> Upstream Author : kujirahand <web@kujirahand.com>
>> * URL             : https://github.com/kujirahand/rust-base64-light
>> * License         : CC0-1.0
>> Programming Lang: Rust
>> Description     :  - rust source code
>>
>> I intend to package rust-base64_light. This package will be maintained within the debian rust team.
>>
>> Thanks,
>> Lucas de Castro Borges
> 
> Hi!
> 
> Do you intend to package this as a library or as a binary project? :) For the library there's only 5 reverse dependencies, and as far as I can tell it has about the same lightweight footprint as the data-encoding crate (both in the binary and in API complexity):

I'm working on another package that depends on it, so it's not something that I can change/patch easily, not recommend and so on.

Intend to package all the package offer, someone might like the binary application too.

> 
> https://crates.io/crates/data-encoding
> 
> let encoded = data_encoding::BASE64.encode(bytes);

Thanks for recommendation, I'm not in upstream development process.
> 
> For a Rust base64 implementation, the uutils project (packaged in Debian as rust-coreutils) has one.

There's others not in rust too.

Thanks,

> 
> Sincerely,
> kpcyrd
Bug#1155036: ITP base64-light: A simple Base64 encoder and decoder library for Rust
#5954
Author: Blair Nyktas
Date: Tue, 24 Nov 2026 16:50
77 lines
4718 bytes
--0ea71808c12d84c4033fbff2b45f72c59574563658730ce12d4fbdf5f83b
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8

On Tue Nov 24, 2026 at 3:58 PM UTC, Lucas Castro wrote:
> Hi,
>
> Em 23/11/2026 17:49, kpcyrd escreveu:
>> On 11/23/26 7:31 PM, Lucas Castro wrote:
(...)
>>> * Package name=C2=A0=C2=A0=C2=A0 : rust-base64_light
(...)
>> Do you intend to package this as a library or as a binary project? :) Fo=
r the library there's only 5 reverse dependencies, and as far as I can tell=
 it has about the same lightweight footprint as the data-encoding crate (bo=
th in the binary and in API complexity):
>
> I'm working on another package that depends on it, so it's not something =
that I can change/patch easily, not recommend and so on.

Yes you can! We patch things in Debian fairly often, that's part of the
work/fun.

> Intend to package all the package offer, someone might like the binary ap=
plication too.

Have you read its code? Compared it to mainstream implementations
(base64, base64ct)? What is it that this specific crate offers that the
existing, more mainstream ones can't? Who would like the binary
application, considering coreutils already provides better ones called
base64(1) and basenc(1)?

>
>>=20
>> https://crates.io/crates/data-encoding
>>=20
>> let encoded =3D data_encoding::BASE64.encode(bytes);
>
> Thanks for recommendation, I'm not in upstream development process.

That's not about the upstream development process. That's about the
process in which you judge the quality of code and work and decide if
they are worth the effort, yours and others'.

>> For a Rust base64 implementation, the uutils project (packaged in Debian=
 as rust-coreutils) has one.
>
> There's others not in rust too.

There's a reason one thing is in Debian or is not. "I want it in" is not
enough. It needs to be useful, which in part means to have irreplaceable
value. Frankly I don't see this crate exhibit one.

> Thanks,
>
>>=20
>> Sincerely,
>> kpcyrd

--=20
    ,Sdrager
Blair Nyktas

=F0=9F=87=B5=F0=9F=87=B8

--0ea71808c12d84c4033fbff2b45f72c59574563658730ce12d4fbdf5f83b
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iIYEABYKAC4WIQSkiHwhuQf2oVaWacxWG2M00EUuRAUCawW/kRAcbmN0c0BkZWJp
YW4ub3JnAAoJEFYbYzTQRS5EBxUBAOzNSwr9WUx372POAxFLJ9AncN37YmqJvPtg
ikOEeuHHAQDnYoGpeVLWHkHr+LbQtqyT032M5TOGgLF0huaeEkcPBA==
=gRxC
-----END PGP SIGNATURE-----

--0ea71808c12d84c4033fbff2b45f72c59574563658730ce12d4fbdf5f83b--
Bug#1155036: ITP base64-light: A simple Base64 encoder and decoder library for Rust
#5958
Author: Lucas Castro
Date: Tue, 24 Nov 2026 17:00
63 lines
4727 bytes

Em 24/11/2026 13:47, Blair Nyktas escreveu:
> On Tue Nov 24, 2026 at 3:58 PM UTC, Lucas Castro wrote:
>> Hi,
>>
>> Em 23/11/2026 17:49, kpcyrd escreveu:
>>> On 11/23/26 7:31 PM, Lucas Castro wrote:
> (...)
>>>> * Package name    : rust-base64_light
> (...)
>>> Do you intend to package this as a library or as a binary project? :) For the library there's only 5 reverse dependencies, and as far as I can tell it has about the same lightweight footprint as the data-encoding crate (both in the binary and in API complexity):
>>
>> I'm working on another package that depends on it, so it's not something that I can change/patch easily, not recommend and so on.
> 
> Yes you can! We patch things in Debian fairly often, that's part of the
> work/fun.

in no moment I said it can't be done, it's not recommended. Patching isn't for fun, it's for required situation.

If really required, would be required to coordinate with the upstream, writing testing to ensure final binary/library works as intended.
Really necessary if the library not comply with DFSG, but not the case.

> 
>> Intend to package all the package offer, someone might like the binary application too.
> 
> Have you read its code? Compared it to mainstream implementations
> (base64, base64ct)? What is it that this specific crate offers that the
> existing, more mainstream ones can't? Who would like the binary
> application, considering coreutils already provides better ones called
> base64(1) and basenc(1)?
> 
>>
>>>
>>> https://crates.io/crates/data-encoding
>>>
>>> let encoded = data_encoding::BASE64.encode(bytes);
>>
>> Thanks for recommendation, I'm not in upstream development process.
> 
> That's not about the upstream development process. That's about the
> process in which you judge the quality of code and work and decide if
> they are worth the effort, yours and others'.
> 
>>> For a Rust base64 implementation, the uutils project (packaged in Debian as rust-coreutils) has one.
>>
>> There's others not in rust too.
> 
> There's a reason one thing is in Debian or is not. "I want it in" is not
> enough. It needs to be useful, which in part means to have irreplaceable
> value. Frankly I don't see this crate exhibit one.

I want it's not enough, that's true! But it's recommend to keep a 'fork' upstream version just to replace things that you think that need to be patched.

If you don't think it's. Just not be the one uploading, as mentioned in Policy.

> 
>> Thanks,
>>
>>>
>>> Sincerely,
>>> kpcyrd
> 
Bug#1155036: ITP base64-light: A simple Base64 encoder and decoder library for Rust
#5964
Author: Peter Pentchev
Date: Tue, 24 Nov 2026 17:50
158 lines
8945 bytes
--HhQsvZBb/EBzpJut
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 24, 2026 at 01:56:29PM -0300, Lucas Castro wrote:
>=20
>=20
> Em 24/11/2026 13:47, Blair Nyktas escreveu:
> > On Tue Nov 24, 2026 at 3:58 PM UTC, Lucas Castro wrote:
> > > Hi,
> > >=20
> > > Em 23/11/2026 17:49, kpcyrd escreveu:
> > > > On 11/23/26 7:31 PM, Lucas Castro wrote:
> > (...)
> > > > > * Package name=C2=A0=C2=A0=C2=A0 : rust-base64_light
> > (...)
> > > > Do you intend to package this as a library or as a binary project? =
:) For the library there's only 5 reverse dependencies, and as far as I can=
 tell it has about the same lightweight footprint as the data-encoding crat=
e (both in the binary and in API complexity):
> > >=20
> > > I'm working on another package that depends on it, so it's not someth=
ing that I can change/patch easily, not recommend and so on.
> >=20
> > Yes you can! We patch things in Debian fairly often, that's part of the
> > work/fun.
>=20
> in no moment I said it can't be done, it's not recommended. Patching isn'=
t for fun, it's for required situation.

Sometimes patches are not *required* to make things work in Debian, but
are a good idea to make things simpler for Debian. I am not talking about
this case specifically, but in general, a new package that duplicates some
of the functionality of several existing ones will mean that Somebody(tm)
has to maintain it, Somebody(tm) has to keep up with upstream releases,
Somebody(tm) has to coordinate the upgrade of a dependency that will
affect this package, too... So sometimes it is indeed a good idea to check
whether changing a dependency might not be a better course.

> If really required, would be required to coordinate with the upstream, wr=
iting testing to ensure final binary/library works as intended.
> Really necessary if the library not comply with DFSG, but not the case.

Sometimes it may be a good idea to wait a little bit before packaging somet=
hing,
contact upstream and ask them if they would be willing to make some change =
that,
besides being easier for Debian packagers, might also possibly be better for
upstream, too. Sometimes the upstream developers may simply not be aware of
other implementations, or they may not be aware of the issues that packagers
have to deal with.

Of course, sometimes the upstream developer will reply saying "yeah, sure,
I get your point, but here are a couple of reasons why I am not willing to
change things", and some of those reasons might actually make sense for
that particular project :)

There may also be a middle ground that, admittedly, will mean a bit more
work for the upstream developer, but would be easier for Debian ;)
Especially for Rust, alternative dependencies via the "features" mechanism =
are
quite common. Of course, doing this "right" would mean that upstream agrees=
 to:
- add support for another base64 implementation
- make the newly-supported other base64 implementation the default
- turn support for the current one into a feature
- maintain both versions for the foreseeable future or until they decide th=
at
  it is too much work and it is better to drop one of them :)

Not saying this would be the best course, just mentioning it as a possibili=
ty.

> > > Intend to package all the package offer, someone might like the binar=
y application too.
> >=20
> > Have you read its code? Compared it to mainstream implementations
> > (base64, base64ct)? What is it that this specific crate offers that the
> > existing, more mainstream ones can't? Who would like the binary
> > application, considering coreutils already provides better ones called
> > base64(1) and basenc(1)?
> >=20
> > >=20
> > > >=20
> > > > https://crates.io/crates/data-encoding
> > > >=20
> > > > let encoded =3D data_encoding::BASE64.encode(bytes);
> > >=20
> > > Thanks for recommendation, I'm not in upstream development process.
> >=20
> > That's not about the upstream development process. That's about the
> > process in which you judge the quality of code and work and decide if
> > they are worth the effort, yours and others'.
> >=20
> > > > For a Rust base64 implementation, the uutils project (packaged in D=
ebian as rust-coreutils) has one.
> > >=20
> > > There's others not in rust too.
> >=20
> > There's a reason one thing is in Debian or is not. "I want it in" is not
> > enough. It needs to be useful, which in part means to have irreplaceable
> > value. Frankly I don't see this crate exhibit one.
>=20
> I want it's not enough, that's true! But it's recommend to keep a 'fork'
> upstream version just to replace things that you think that need to be pa=
tched.

See above. Sometimes it may be worth it asking the upstream authors in orde=
r to
avoid a fork.

In general, talking to the upstream authors of packages you maintain from
time to time is a good idea: it helps them gain respect for Debian,
sometimes it opens the path for them to do you favors in the future, etc.
Of course, the more packages a person (or a team) maintains, the harder it =
is
to have a good relationship with all the upstream authors :)

> If you don't think it's. Just not be the one uploading, as mentioned in P=
olicy.
>=20
> >=20
> > > Thanks,
> > >=20
> > > >=20
> > > > Sincerely,
> > > > kpcyrd
> >=20
>=20

--=20
--=20
Peter Pentchev  roam@ringlet.net roam@debian.org peter@morpheusly.com
PGP key:        https://www.ringlet.net/roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

--HhQsvZBb/EBzpJut
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmsFzRwACgkQZR7vsCUn
3xNA0A/9GM754MfIsZDmZld2cs3lnyw03z6E1NcPpgM1qNmc/vvKco48bRZycB++
lHPiRXLis2xQfs6ojb+9/QXTAd1Tx3dBEN77PwEotaGy5dTWvCU8rz0ofVD7Y2g0
fM3QkmqgKPnqM3v1eNnpiIaURHTuSGNZJDaI56vkU7v0JEJodYwdTpcyFBssOqWI
xsW4jdpkXQYej4zj5vszMncz813VmfGIb2u4c+NU+s0s60YlkwW7olNTpKLYxv9W
NGWzE1zn+PHUOQsriwEwU0HI4RvmVYBAoMuVm0gl4b3YsjDO9Bca7XOyzzyD2qZq
lIfxicdS1Ne3kGidkFVjgggUb0yaoFGnrLCKqtIar08OD+4E8y/WiMnsN37I7C8+
P22DtCdi8SFxxh85XJXNhvtP1oV+wk4iTD0TG42ga2nvOWYijEkfUocKQVnSjLJX
N0lX3envCR6rosdl5M2mHL/1S5ETucA/e3Q+dpTkZY/vcLXjs7fHnYSauhRw08Ts
Kefs2o7SNLuO0Ow+Vh1vqRAcX/pnL138lDRinEuUgnf77fYqleoZ4rLMKWvmOXSn
kYGB8u+WCQtTFLVYWsgsX0RHg+xIdXNy5R013Mx1IR7pwBFuQPPiUvZAzadrtjf7
MoINVEdjAmHYiWT75AkXhDLeFQqlTaMnTxx7LfrqUTM/Rf43UMc=
=PXwK
-----END PGP SIGNATURE-----

--HhQsvZBb/EBzpJut--
Bug#1155036: ITP base64-light: A simple Base64 encoder and decoder library for Rust
#5966
Author: Lucas Castro
Date: Tue, 24 Nov 2026 18:10
119 lines
7791 bytes

Em 24/11/2026 14:45, Peter Pentchev escreveu:
> On Tue, Nov 24, 2026 at 01:56:29PM -0300, Lucas Castro wrote:
>>
>>
>> Em 24/11/2026 13:47, Blair Nyktas escreveu:
>>> On Tue Nov 24, 2026 at 3:58 PM UTC, Lucas Castro wrote:
>>>> Hi,
>>>>
>>>> Em 23/11/2026 17:49, kpcyrd escreveu:
>>>>> On 11/23/26 7:31 PM, Lucas Castro wrote:
>>> (...)
>>>>>> * Package name    : rust-base64_light
>>> (...)
>>>>> Do you intend to package this as a library or as a binary project? :) For the library there's only 5 reverse dependencies, and as far as I can tell it has about the same lightweight footprint as the data-encoding crate (both in the binary and in API complexity):
>>>>
>>>> I'm working on another package that depends on it, so it's not something that I can change/patch easily, not recommend and so on.
>>>
>>> Yes you can! We patch things in Debian fairly often, that's part of the
>>> work/fun.
>>
>> in no moment I said it can't be done, it's not recommended. Patching isn't for fun, it's for required situation.
> 
> Sometimes patches are not *required* to make things work in Debian, but
> are a good idea to make things simpler for Debian. I am not talking about
> this case specifically, but in general, a new package that duplicates some
> of the functionality of several existing ones will mean that Somebody(tm)
> has to maintain it, Somebody(tm) has to keep up with upstream releases,
> Somebody(tm) has to coordinate the upgrade of a dependency that will
> affect this package, too... So sometimes it is indeed a good idea to check
> whether changing a dependency might not be a better course.
> 
>> If really required, would be required to coordinate with the upstream, writing testing to ensure final binary/library works as intended.
>> Really necessary if the library not comply with DFSG, but not the case.
> 
> Sometimes it may be a good idea to wait a little bit before packaging something,
> contact upstream and ask them if they would be willing to make some change that,
> besides being easier for Debian packagers, might also possibly be better for
> upstream, too. Sometimes the upstream developers may simply not be aware of
> other implementations, or they may not be aware of the issues that packagers
> have to deal with.
> 
> Of course, sometimes the upstream developer will reply saying "yeah, sure,
> I get your point, but here are a couple of reasons why I am not willing to
> change things", and some of those reasons might actually make sense for
> that particular project :)
> 
> There may also be a middle ground that, admittedly, will mean a bit more
> work for the upstream developer, but would be easier for Debian ;)
> Especially for Rust, alternative dependencies via the "features" mechanism are
> quite common. Of course, doing this "right" would mean that upstream agrees to:
> - add support for another base64 implementation
> - make the newly-supported other base64 implementation the default
> - turn support for the current one into a feature
> - maintain both versions for the foreseeable future or until they decide that
>    it is too much work and it is better to drop one of them :)
> 
> Not saying this would be the best course, just mentioning it as a possibility.

Really appreciated the points, I'm aware of that and agree.

But not the first step for this time.

> 
>>>> Intend to package all the package offer, someone might like the binary application too.
>>>
>>> Have you read its code? Compared it to mainstream implementations
>>> (base64, base64ct)? What is it that this specific crate offers that the
>>> existing, more mainstream ones can't? Who would like the binary
>>> application, considering coreutils already provides better ones called
>>> base64(1) and basenc(1)?
>>>
>>>>
>>>>>
>>>>> https://crates.io/crates/data-encoding
>>>>>
>>>>> let encoded = data_encoding::BASE64.encode(bytes);
>>>>
>>>> Thanks for recommendation, I'm not in upstream development process.
>>>
>>> That's not about the upstream development process. That's about the
>>> process in which you judge the quality of code and work and decide if
>>> they are worth the effort, yours and others'.
>>>
>>>>> For a Rust base64 implementation, the uutils project (packaged in Debian as rust-coreutils) has one.
>>>>
>>>> There's others not in rust too.
>>>
>>> There's a reason one thing is in Debian or is not. "I want it in" is not
>>> enough. It needs to be useful, which in part means to have irreplaceable
>>> value. Frankly I don't see this crate exhibit one.
>>
>> I want it's not enough, that's true! But it's recommend to keep a 'fork'
>> upstream version just to replace things that you think that need to be patched.
> 
> See above. Sometimes it may be worth it asking the upstream authors in order to
> avoid a fork.
> 
> In general, talking to the upstream authors of packages you maintain from
> time to time is a good idea: it helps them gain respect for Debian,
> sometimes it opens the path for them to do you favors in the future, etc.
> Of course, the more packages a person (or a team) maintains, the harder it is
> to have a good relationship with all the upstream authors :)

I second this.

> 
>> If you don't think it's. Just not be the one uploading, as mentioned in Policy.
>>
>>>
>>>> Thanks,
>>>>
>>>>>
>>>>> Sincerely,
>>>>> kpcyrd
>>>
>>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads