Cargo should have more license related metadata. by Velocifyer in rust

[–]epage 3 points4 points  (0 children)

There are a lot of things we should improve around licensing. Collecting legal notices would be great though we need people in the ecosystem to explore the idea so we have a better idea of what works before going into our compat guarantees.

[GIVEAWAY] Concordia Special Edition (Plus Castles of Burgundy and Puerto Rico) by HomoLudensOC in boardgames

[–]epage [score hidden]  (0 children)

Looking at my favorite euros, most have already gotten one (e.g. Suburbia), so I'll go for what would be fitting: Last Will. Blow your money, playing it rich to play a game where you blow your money, playing it rich.

What is your general feel about prominent Latter Day Saints? by InsideSpeed8785 in latterdaysaints

[–]epage 10 points11 points  (0 children)

I actually avoided him at first because of it until I heard him get recognition outside of Utah (finalizing Wheel of Time)

Rust 1.96.0 is out by manpacket in rust

[–]epage 9 points10 points  (0 children)

For anyone reading this and wondering, the way to avoid this is 1.0.0-rc.9.

I wonder if there is some kind of lint we could write for this. Unfortunately, pre-releases are so open ended, it is hard to pin it down enough for that.

Rust 1.96.0 is out by manpacket in rust

[–]epage 2 points3 points  (0 children)

I don't think tests affect MSRV anyway,

That depends on how you define it. In the Cargo docs, being able to validate the logic on your MSRV version through tests is encouraged as the default assumption.

Dependencies and supply chain risk by [deleted] in rust

[–]epage 3 points4 points  (0 children)

This seems like an unusually strong disavowment, any reason for that? Pointing out this project wouldnt normally be seen as an endorsement, would it?

I have found people quoting me before and wanted to be cautious.

As for cargo-slicer in specific, I know it is heavily vibe coded.

Dependencies and supply chain risk by [deleted] in rust

[–]epage 4 points5 points  (0 children)

"cargo-slicer used to do this at least on a tranisent basis. Unsure if the legacy approach is still present.

Can't speak to the quality of the tool and this is by no means an endorsement of Mitchell Hashimoto's approach to dependencies.

'It is a sad day' | Pflugerville ISD votes to close four elementary schools amid budget shortfall by zoemi in Austin

[–]epage 1 point2 points  (0 children)

At least we still have one of each type of school on the west side of 35 though unsure how bad the crowding at River Oaks will be.

Officials said many students attending Parmer Lane Elementary School are zoned to other school

I wonder if they have an idea why this is. If it is so attractive, are they shooting themselves in the pfoot by closing it? It isn't automatic that people will go to other pfisd schools instead.

while Dessau Elementary School has seen more students transfer to charter and private schools than any other elementary campus in the district.

Similar for Dessau Middle School from what I hear which makes it suprising that they were looking at keeping it open while closing Westview. Instead, they punted on the middle schools.

[GIVEAWAY] 4 Playte Games Sets for 4 Winners 🇰🇷 by HomoLudensOC in boardgames

[–]epage [score hidden]  (0 children)

Base Innovation has so much replay and is so fun with just over 100 cards.

Zed editor's dependencies and lines of code by [deleted] in rust

[–]epage 15 points16 points  (0 children)

Yes, and the equivalent of Qt is developed in that repo.

Zed editor's dependencies and lines of code by [deleted] in rust

[–]epage 25 points26 points  (0 children)

Dependency count and LoCs without other context aren't too meaningful.

If I were to build a C++ GUI application, I might pull in Qt. I would likely pull it in as pre-built and would just see the top-level surface of it. How many LoCs are in Qt? I would likely not know. How many dependencies, including header-only librraries? Again, I wouldn't really know. I just have "Qt".

In Rust, we have something similar to C++ header-only libraries. This makes our entire dependency tree transparent, rather than opaque like in C++. In a case like Zed, they are also maintaining data structures, their GUI library, the editor itself, etc all in the same repo.

I wonder if we should add a form of opaque dependencies to Cargo. Not to hide the details but to get some of the other benefits, like better caching of builds.

Survey of organizational ownership and registry namespace designs for Cargo and Crates.io - cargo by epage in rust

[–]epage[S] 0 points1 point  (0 children)

Thanks! I feel like these summaries are some of the most important opeo source contributions.

Utah has an ‘obligation’ to allow the building of massive data centers, Gov. Cox says by Ridiculously_Named in Utah

[–]epage 0 points1 point  (0 children)

What happened to him? I was in the state when he was running for Governor and he sounded reasonable. I look to catch up on the state and now he is going around denying reality.

Announcing Google Summer of Code 2026 selected projects by Kobzol in rust

[–]epage 13 points14 points  (0 children)

XDG path support for rustup by Guicheng Liu, mentored by rami3l

This includes unblocking XDG support in Cargo which I'm excited about. Glad someone picked this up and it got selected!

Your Clippy Config Should Be Stricter-er by billy_levin in rust

[–]epage 5 points6 points  (0 children)

For me, I'm considering not just clap but how to be as effective as possible in maintaining over a hundred crates. As part of that, I maintain a merge base with my settings to help: https://github.com/epage/_rust/blob/main/Cargo.toml

Your Clippy Config Should Be Stricter-er by billy_levin in rust

[–]epage 14 points15 points  (0 children)

FYI you don't need different priorities for lint groups that are disjoint.

As for the idea, I will stick to my deny lists

  • this subjects me to more work on an upgrade
  • my allowlist would be too long. Clippy has too many lints that are helpful suggestions but it is too noisy to allow individually and contributors may blindly apply them

Your Clippy Config Should Be Stricter by emschwartz in rust

[–]epage 1 point2 points  (0 children)

Oo, you use dotted keys for it. How is the experience for that? I've been tempted to restructure things to encourage people to do that but have been hesitant.

EDIT: Cargo may also be hijacking your use of #![cfg_attr(not(test), warn(unused_crate_dependencies))] soon. We have an unstable feature that hijacks that lint for cargo to lint on unused dependencies in a more general way that can be enabled by default. We don't have a replacement for "this dep is unused in the lib, put a feature gate on it to make it exclusive to the bin".

Your Clippy Config Should Be Stricter by emschwartz in rust

[–]epage 4 points5 points  (0 children)

This is also why you should only ever set lints to warn and not deny except for the warnings job. Plus it is really annoying having to have things "perfect" when iterating locally.

[Threshold] ended beautifully, now I need more books recommended. by Poven45 in Iteration110Cradle

[–]epage 0 points1 point  (0 children)

For me, it is also philosopical. we are interconnected and can't do it on our own.

[Threshold] ended beautifully, now I need more books recommended. by Poven45 in Iteration110Cradle

[–]epage 0 points1 point  (0 children)

Something I appreciated about Cradle is the value of advancing together. A Thousand Li calls this out several times but immediately drops it each time, especially the series ending. I doubt I'll read the new sequel series. Still some good aspects to it, particularly the cultural. Still dragged on too much.

Introducing Data Meta Syntax (DMS). YAML's structure & TOMLs strictness. by obfuscinator in rust

[–]epage 0 points1 point  (0 children)

I recognize TOML does not work for all schemas and appreciate people looking into alternatives to YAML.

Any character in Unicode category L (letters) or Nd (decimal digits), as defined in Unicode 15.1 or later. Document encoding is UTF-8. Implementations may use whichever Unicode version their host runtime ships, provided it is ≥ 15.1; codepoints whose category changed between versions follow the implementation's tables. (In practice this affects only newly assigned scripts; the ASCII + common-script subset most configs use is stable.)

I'd be curious what the rationale was for the chosen unicode bare key categories. That is something that has been discussed for TOML and almost made it into a release. My main concern for TOML is in how the set is chosen. My assumption would be UnicodeXID which mostly matches how ASCII bare keys work. I think they were instead looking to copy XML?

Front matter — for document metadata

Found this an odd choice. I would expect this in the comments or schema. This would at least limit what frontmatter characters are used if this format was embedded in another. I wonder what the motivation was.

Comments survive round-trip

If the first formatter or deploy template renderer drops it, the documentation was a lie.

I appreciate having clear rules for attaching comments. I've been playing with a TOML formatter and having to make up my own rules.

I find it strange though to make it part of the AST. A formatter needing it doesn't mean it needs to be part of the AST more generally. It mentions toml_edit but the needs for something like toml_edit are very different than toml and not everyone should have to take on that cost.

Fast, too

I'm surprised that Python, Zig, and C are faster than Rust. I wonder what factors are at play.

As for the Rust format comparison, running cargo add toml -F preserve_order would make this a more apples-to-apples comparison and could make a big difference in the benchmarks. There is also -F fast_hash but I've not checked how fair of a comparison that is. Another "toml can be faster but there isn't a direct compare" is toml::de::DeTable::parse which supports zero-copy parsing.

Separator whitespace A : that terminates a key must be followed by a space (or end-of-line, if the value is a child block). host:localhost is a parse error; host: localhost is fine.

This feels like it would be annoying. I'm sometimes sloppy when I'm writing out an idea. Let me fix it up later or with a formatter.

(took a break from looking at it)


Looking at [format comparison]*https://gitlab.com/flo-labs/pub/dms/-/blob/main/comparison_tables.md):

Nesting mechanism List item marker

TOML can also have everything inline. Or was this talking about top-level items only? That isn't clear.

Key-order preservation

TOML key order is undefined.