fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.8K
active users

#crates_io

0 posts0 participants0 posts today
dorotaC<p>Killer <span class="h-card" translate="no"><a href="https://floss.social/@forgejo" class="u-url mention">@<span>forgejo</span></a></span> feature: project&#39;s <a href="https://fosstodon.org/tags/cargo" class="mention hashtag" rel="tag">#<span>cargo</span></a> registry.</p><p>(also applies to <span class="h-card" translate="no"><a href="https://social.gitea.io/@gitea" class="u-url mention">@<span>gitea</span></a></span> and <span class="h-card" translate="no"><a href="https://social.anoxinon.de/@Codeberg" class="u-url mention">@<span>Codeberg</span></a></span> )</p><p>If you don&#39;t want to support <a href="https://fosstodon.org/tags/Microsoft" class="mention hashtag" rel="tag">#<span>Microsoft</span></a> gatekeeping of <a href="https://fosstodon.org/tags/crates_io" class="mention hashtag" rel="tag">#<span>crates_io</span></a> through <a href="https://fosstodon.org/tags/github" class="mention hashtag" rel="tag">#<span>github</span></a></p><p><a href="https://github.com/rust-lang/crates.io/issues/326" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/rust-lang/crates.io</span><span class="invisible">/issues/326</span></a></p><p>then just set up your independent source!</p><p><a href="https://forgejo.org/docs/latest/user/packages/cargo/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">forgejo.org/docs/latest/user/p</span><span class="invisible">ackages/cargo/</span></a></p><p>Kudos for implementing this.</p><p><a href="https://fosstodon.org/tags/forgejo" class="mention hashtag" rel="tag">#<span>forgejo</span></a> <a href="https://fosstodon.org/tags/gitea" class="mention hashtag" rel="tag">#<span>gitea</span></a> <a href="https://fosstodon.org/tags/codeberg" class="mention hashtag" rel="tag">#<span>codeberg</span></a> <a href="https://fosstodon.org/tags/git" class="mention hashtag" rel="tag">#<span>git</span></a> <a href="https://fosstodon.org/tags/opensource" class="mention hashtag" rel="tag">#<span>opensource</span></a> <a href="https://fosstodon.org/tags/freesoftware" class="mention hashtag" rel="tag">#<span>freesoftware</span></a> <a href="https://fosstodon.org/tags/rustlang" class="mention hashtag" rel="tag">#<span>rustlang</span></a> <a href="https://fosstodon.org/tags/rust" class="mention hashtag" rel="tag">#<span>rust</span></a></p>
Rachael Ava 💁🏻‍♀️Question about Rust Lang's Cargo (Virtual Manifests)
silmeth 🇺🇦<p>Published my first crate to crates.io recently. Nothing fancy, a simple <a href="https://mstdn.social/tags/Axum" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Axum</span></a> layer for caching HTTP responses – with the option to reuse a stale response in case of failure to produce a new successful one – written for a project at work. Maybe someone else will find it useful. :)</p><p><a href="https://crates.io/crates/axum-response-cache" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">crates.io/crates/axum-response</span><span class="invisible">-cache</span></a></p><p>(I’ve been doing Rust for years, a bit ashamed I’d never published any open crate before; even if I’ve some small contributions to other projects)</p><p><a href="https://mstdn.social/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a> <a href="https://mstdn.social/tags/Rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rust</span></a> <a href="https://mstdn.social/tags/crates_io" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>crates_io</span></a></p>
michabbb<p>🔧 <a href="https://social.vivaldi.net/tags/code2prompt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code2prompt</span></a>: A command-line tool for converting codebases to <a href="https://social.vivaldi.net/tags/LLM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LLM</span></a> prompts</p><p>Key features:<br>• 📁 Generates well-formatted <a href="https://social.vivaldi.net/tags/Markdown" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Markdown</span></a> prompts with source tree structure<br>• 🛠️ Customizable <a href="https://social.vivaldi.net/tags/Handlebars" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Handlebars</span></a> templates for versatile prompt generation<br>• 🔍 Respects .gitignore and supports file filtering with glob patterns<br>• 🔢 Displays token count using various <a href="https://social.vivaldi.net/tags/tokenizers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tokenizers</span></a> (cl100k, p50k, r50k_base)<br>• 📊 <a href="https://social.vivaldi.net/tags/Git" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Git</span></a> diff integration for commit messages and <a href="https://social.vivaldi.net/tags/PullRequest" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PullRequest</span></a> descriptions<br>• 📋 Automatic clipboard copy and option to save output to file</p><p>Additional capabilities:<br>• 🔢 Line numbering for source code blocks<br>• 🔀 JSON output option for structured data<br>• 🚫 Exclusion of files/folders from source tree<br>• 📝 Support for user-defined variables in templates</p><p><a href="https://social.vivaldi.net/tags/opensource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opensource</span></a> project written in <a href="https://social.vivaldi.net/tags/Rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rust</span></a>, available on <a href="https://social.vivaldi.net/tags/crates_io" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>crates_io</span></a> and <a href="https://social.vivaldi.net/tags/AUR" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AUR</span></a></p><p>Useful for:<br>• Quick <a href="https://social.vivaldi.net/tags/LLM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LLM</span></a> prompt generation from codebases<br>• Code documentation and analysis<br>• Bug finding and security vulnerability assessment<br>• Performance optimization suggestions</p><p><a href="https://github.com/mufeedvh/code2prompt" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/mufeedvh/code2promp</span><span class="invisible">t</span></a></p>