marshallpierce / rust-base64

base64, in rust
Apache License 2.0
615 stars 115 forks source link

add plantuml character set #174

Closed danieleades closed 1 year ago

danieleades commented 2 years ago

Plantuml uses a non-standard character set. It would be handy if this was supported.

see https://plantuml.com/text-encoding

danieleades commented 2 years ago

scratch that, i see you define a custom alphabet in 0.2.X-alpha. Do you know when that's likely to be stabilised?

marshallpierce commented 2 years ago

The 0.2 alpha is only an alpha because I wanted to get the engine, etc, stuff out there for interested parties to use and provide feedback on the API in a way that didn't require extra work in your Cargo.toml. I do not expect any stability or correctness problems, and I would feel comfortable using it in production code if you're OK with the fact that the API might change a little by 0.20 if people find issues. So, go ahead and adopt it and enjoy your custom character set if that tradeoff is okay for you. The non-alpha release of 0.20 will happen when I have time to incorporate https://github.com/marshallpierce/rust-base64/pull/170. Once that's had some time for people to provide further feedback, it will likely become 1.0.

marshallpierce commented 1 year ago

This is available in 0.20.0+ now.