forge: use base64 crate for avatar payload
Per @mara on #328: the hand-rolled encoder was over-cautious. Swap for base64 = 0.22 from crates.io — a standard, widely-trusted dep, no maintenance surface to carry. Drops the 15-line encoder and its two RFC 4648 unit tests.
This commit is contained in:
parent
dbb2ca4393
commit
ce539559d5
4 changed files with 5 additions and 58 deletions
|
|
@ -17,6 +17,7 @@ must_use_candidate = "allow"
|
|||
[workspace.dependencies]
|
||||
anyhow = "1"
|
||||
axum = { version = "0.8", features = ["ws"] }
|
||||
base64 = "0.22"
|
||||
clap = { version = "4", features = ["derive"] }
|
||||
hive-fr0nt = { path = "hive-fr0nt" }
|
||||
hive-sh4re = { path = "hive-sh4re" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue