{"generator":"GNU social 2.0.2-dev","title":"Conversation","totalItems":1,"items":[{"actor":{"id":"https:\/\/toot.cat\/users\/slomo","displayName":"Sebastian Dr\u00f6ge ?","status_net":{"avatarLinks":[{"url":"https:\/\/gnusocial.jp\/avatar\/87827-original-tmp20230113095529.webp","rel":"avatar","type":"image\/webp","width":120,"height":120},{"url":"https:\/\/gnusocial.jp\/avatar\/87827-96-20230113095529.webp","rel":"avatar","type":"image\/webp","width":96,"height":96},{"url":"https:\/\/gnusocial.jp\/avatar\/87827-48-20230113095529.webp","rel":"avatar","type":"image\/webp","width":48,"height":48},{"url":"https:\/\/gnusocial.jp\/avatar\/87827-24-20230113095529.webp","rel":"avatar","type":"image\/webp","width":24,"height":24}],"profile_info":{"local_id":"87827"}},"image":{"url":"https:\/\/gnusocial.jp\/avatar\/87827-96-20230113095529.webp","rel":"avatar","type":"image\/webp","width":96,"height":96},"objectType":"person","summary":"Free software developer at Centricular, working on #GStreamer, #Rust, #GNOME and various other projects.Likes tea, cycling &amp; hiking.he\/him \u2014 en\/de\/el(\u03b5\u03bb), ja(\u65e5\u672c\u8a9e) in progress","url":"https:\/\/toot.cat\/@slomo","portablecontacts_net":{"preferredUsername":"slomo","displayName":"Sebastian Dr\u00f6ge ?","note":"Free software developer at Centricular, working on #GStreamer, #Rust, #GNOME and various other projects.Likes tea, cycling &amp; hiking.he\/him \u2014 en\/de\/el(\u03b5\u03bb), ja(\u65e5\u672c\u8a9e) in progress"}},"content":"<p>The Rust base64 crate got a new release the other day, which removed (or rather deprecated for now) the simple encoding\/decoding API and requires quite a bit boilerplate for such a simple task.<\/p><p>The maintainer does not see the point in providing a simpler API for the common cases because if the API is too difficult to use then Rust is just the wrong language for you ?<\/p><p>Too bad the crate has such a prominent name on crates.io and is used so widely. I hope that doesn't turn away too many beginners because something as simple as base64 handling is so complicated.<\/p><p>The data-encoding crate looks like a good alternative for the same tasks. It provides the same amount of flexibility while still providing a simple API for the common tasks.<\/p><p><a href=\"https:\/\/lib.rs\/crates\/data-encoding\" rel=\"nofollow noreferrer\">https:\/\/lib.rs\/crates\/data-encoding<\/a><\/p><p><a href=\"https:\/\/toot.cat\/tags\/rust\" class=\"mention hashtag\" rel=\"tag\">#rust<\/a> <a href=\"https:\/\/toot.cat\/tags\/RustLang\" class=\"mention hashtag\" rel=\"tag\">#RustLang<\/a><\/p>","generator":{"id":"tag:gnusocial.jp,2026-08-20:notice-source:ActivityPub","objectType":"application","status_net":{"source_code":"ActivityPub"}},"id":"https:\/\/toot.cat\/users\/slomo\/statuses\/109677035237699481","object":{"id":"https:\/\/toot.cat\/users\/slomo\/statuses\/109677035237699481","objectType":"note","content":"<p>The Rust base64 crate got a new release the other day, which removed (or rather deprecated for now) the simple encoding\/decoding API and requires quite a bit boilerplate for such a simple task.<\/p><p>The maintainer does not see the point in providing a simpler API for the common cases because if the API is too difficult to use then Rust is just the wrong language for you ?<\/p><p>Too bad the crate has such a prominent name on crates.io and is used so widely. I hope that doesn't turn away too many beginners because something as simple as base64 handling is so complicated.<\/p><p>The data-encoding crate looks like a good alternative for the same tasks. It provides the same amount of flexibility while still providing a simple API for the common tasks.<\/p><p><a href=\"https:\/\/lib.rs\/crates\/data-encoding\" rel=\"nofollow noreferrer\">https:\/\/lib.rs\/crates\/data-encoding<\/a><\/p><p><a href=\"https:\/\/toot.cat\/tags\/rust\" class=\"mention hashtag\" rel=\"tag\">#rust<\/a> <a href=\"https:\/\/toot.cat\/tags\/RustLang\" class=\"mention hashtag\" rel=\"tag\">#RustLang<\/a><\/p>","url":"https:\/\/toot.cat\/@slomo\/109677035237699481","status_net":{"notice_id":null},"tags":[{"objectType":"http:\/\/activityschema.org\/object\/hashtag","displayName":"rustlang"}]},"to":[{"objectType":"http:\/\/activitystrea.ms\/schema\/1.0\/collection","id":"http:\/\/activityschema.org\/collection\/public"}],"status_net":{"conversation":"tag:gnusocial.jp,2023-01-13:objectType=thread:nonce=7f7b17e3387ed6f5","notice_info":{"local_id":"2295697","source":"ActivityPub"}},"published":"2023-01-13T09:55:29+00:00","provider":{"objectType":"service","displayName":"GNU social JP","url":"https:\/\/gnusocial.jp\/"},"verb":"post","url":"https:\/\/toot.cat\/@slomo\/109677035237699481"}],"links":[{"url":"https:\/\/gnusocial.jp\/conversation\/1036590","rel":"alternate","type":"text\/html"}]}