@tb@hachyderm.io
@tb@hachyderm.io avatar

tb

@tb@hachyderm.io

✈️ glider pilot
🦀 https://crates.io team co-lead
🐹 Ember CLI team emeritus

This profile is from a federated server and may be incomplete. Browse more on the original instance.

tb, to rust German
@tb@hachyderm.io avatar

:ferris_gesture: crates.io has an experimental dark UI mode now! 😱

we finally implemented our most upvoted feature request over the past weeks. while we are still searching for potential issues, the default mode is "Light". once we feel confident about the dark mode we will switch it over to "System".

let us know via https://github.com/rust-lang/crates.io/issues if you find any issues!

image/png

khalidabuhakmeh, to rust
@khalidabuhakmeh@mastodon.social avatar

What’s extra confusing about the module system is the mod keyword doubles for creating and importing modules. So in one context it wraps stuff, and in another it's linking stuff.

Oh, and don't forget there are special file names and folders that do things without any use of stuff.

tb,
@tb@hachyderm.io avatar

@khalidabuhakmeh > and in another it's linking stuff

isn't that the use keyword instead of mod?

tb,
@tb@hachyderm.io avatar

@khalidabuhakmeh I guess you're talking about mod foo; where there is a foo.rs file?

you can think of mod as declaring that there is a module. if it has { ... } then the content is directly written next to the declaration, if it is just mod foo; then it declares that there is a module at <name>.rs (or <name>/mod.rs).

the use keyword is then used to actually import/link stuff.

tb, to rust German
@tb@hachyderm.io avatar

:rust: I wrote a short blog post about how crates.io handles crate downloads and how that is about to change:

https://blog.rust-lang.org/2024/03/11/crates-io-download-changes.html

tl;dr downloads should be faster and more reliable soon! 🎉

tb, to rust German
@tb@hachyderm.io avatar

🦀 crates.io just passed 50 billion crate downloads 🎉

thank you to everyone who contributed and to all of our sponsors!

and while we're at it, thank you also to the Rust Foundation for providing the crates.io team with a full-time employee dedicated to maintaining and improving crates.io :)

tb, to rust German
@tb@hachyderm.io avatar

🦀 "A tale of broken badges and 23,000 features"

I wrote a small blog post about an interesting situation the crates.io team was made aware of a couple of weeks ago, right before the @eurorust conference.

As someone on Zulip put it:

> Reads like a fun story one would tell at a conference afterparty 🍻

… and I sure did 😄

https://blog.rust-lang.org/2023/10/26/broken-badges-and-23k-keywords.html

tb,
@tb@hachyderm.io avatar

@whynothugo @eurorust > How is adding a limit that forbids uploading these crates not a breaking change too?

yep, that is certainly also a breaking change

> Does that mean the crate that initially triggered the issue cannot push any further updates?

yes

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines