happyborg, to rust
@happyborg@fosstodon.org avatar

I've been using cargo ( package manager) for [cough] yrs and it is very nice. But always on my Ubuntu laptop.

That laptop died so right now I'm using an old Windows 10 (not 11 as stated earlier) laptop with and I have cargo building in and Ubuntu 22 (under WSL) and it just works.

Cross platform used to be one of the hardest most frustrating things, but tools like and have changed all that.

Development is less aggghhh!

Next !

velotaffeuse, to random French
@velotaffeuse@mastodon.top avatar

Avant / Après et il reste de la place !

Tout rentre dans le cargo

orhun, to rust
@orhun@fosstodon.org avatar

Today I discovered a Rust project optimization tool! 🚀

🦀 cargo-wizard: Applies profile and config templates to your Cargo project.

🔥 Tweak for maximum performance, fast compile times or minimal binary size.

⭐ GitHub: https://github.com/Kobzol/cargo-wizard

video/mp4

Dykecyclette, to random French
@Dykecyclette@eldritch.cafe avatar

[Thread] Projet mini cargo sans soudures !
Étape 1: retaper le vélo comme un vrai (patins de canti, C/G frein Ar, dévoilage et entretien moyeu ar) puis mise en place sur la fouche provisoire d'une roue de 20 pouces provisoire
Changement des manivelles pour pas que ça frotte dans les virages et hop !
Un velo fonctionnel (et super fun à conduire !), mais pas encore cargo

Si quelqu'un a dans son garage ou son atelier une route de 20 pouces avant avec moyeu disque 6 trous, je l'achète direct !
Suite des aventures le mois prochain

Même photo, d'un autre angle

Dykecyclette,
@Dykecyclette@eldritch.cafe avatar

Je dis pas que j'ai fini le MAIS il me reste plus qu'à mettre des freins à l'avant 😍🤩💖

tripplehelix, (edited ) to rust
@tripplehelix@fosstodon.org avatar

The issue I had with slow builds seems to have been because of a disk caching issue. I simply ran;
sudo /sbin/sysctl -w vm.drop_caches=3
and now everything's fine!

OK ClamAV On Access Scanning was also to blame, it was set to scan /tmp and /var/tmp which explains why dumping the cache helped. For some reason, a package was having problems getting past ClamAV.

tripplehelix, (edited ) to rust
@tripplehelix@fosstodon.org avatar

/ builds seem to run very slow on my AMD system. They didn't take anywhere near as long on my old Intel system. Looking at btop it only seems to use one thread during , am I missing something?

(Intel 11th Gen I7 & AMD Ryzen 7 7840U)

happyborg, (edited ) to rust
@happyborg@fosstodon.org avatar

Wanting to play with servo has turned out to be a bit harder than I expected. Even cloning the repo doesn't work over my 4G b/b and building... well 😱

Still I persist! Now rsync'ing vendored repos and dependencies from a cloud instance and hoping it will work offline. 🙏

silwol, to rust
@silwol@chaos.social avatar

Is there a crate that allows me to query package metadata from either .io or preferably the local package index easily? My usual search strings didn't reveal anything useful. Use case is that I want to filter crates in my dependency tree by specific categories that can be found in the metadata. Of course it would probably be easy to implement that functionality by myself, but if somebody else already did that, why not reuse it…

SydParkAbstract, to ilaughed
@SydParkAbstract@mastodon.social avatar
ai6yr, (edited ) to random

Nuclear powered cargo ships, how could that go wrong?!

david_senate, to conservative

What are your thoughts about these new floating nuclear power plants?

https://spectrum.ieee.org/nuclear-powered-cargo-ship

ai6yr, to cycling

First cargo trailer run. Hauling trash 🤔

ai6yr, (edited )

Back the other way. Not too bad but I was stuck in the lowest gear I have, and I was extra slow. Definitely feel it.

khalidabuhakmeh, to javascript
@khalidabuhakmeh@mastodon.social avatar

programming looking for

Confused Canadian GIF

heaths,
@heaths@fosstodon.org avatar

@khalidabuhakmeh To be fair, finding packages isn't hard. Finding good, maintained packages is a nightmare. Same for 's .

pafurijaz, to random
@pafurijaz@mstdn.social avatar

A dangerous rocking.

Cargo ship!

hywan, to rust
@hywan@fosstodon.org avatar

Cargo cache cleaning, https://blog.rust-lang.org/2023/12/11/cargo-cache-cleaning.html.

Cargo is introducing a garbage-collector for the artefact files. The goal is to help clean up the unused old files to save storage space automatically.

Quite nice!

watzon, to programming
@watzon@watzonmanor.com avatar

I did a small writeup on my Inkify project (open source API based carbon.now.sh alternative) if anyone's interested https://watzon.tech/projects/inkify/

hywan, (edited ) to rust
@hywan@fosstodon.org avatar

It’s possible to pass multiple --target arguments to cargo, https://github.com/rust-lang/cargo/issues/8176.

I’ve totally missed this new feature. And it’s awesome.

tykayn, to random French
@tykayn@mastodon.cipherbliss.com avatar

MesAidesVélo - Toutes les aides !
saviez vous que vous pouvez avoir jusqu'à 2600 euros d'aides pour l'achat d'un vélo cargo électrique ? et bien d'autres possibilités pour réduire sa combustion de fossiles.

https://mesaidesvelo.fr

ai6yr, to Aviation
kushal, to rust
@kushal@toots.dgplug.org avatar

Why the heck is using non-windows target dependencies as default on a windows box?

/me goes to cry in a corner

orhun, to rust
@orhun@fosstodon.org avatar

Here is how you can view the assembly of your Rust code! 😍

🦀 cargo-show-asm: displays the Assembly, LLVM-IR, MIR and WASM generated for Rust code.

⭐ GitHub: https://github.com/pacak/cargo-show-asm

🐧 Packaged for Arch Linux: https://archlinux.org/packages/extra/x86_64/cargo-show-asm/

video/mp4

thomy2000, to rust

Say what you will about , but I think most people would have to agree that , Rust's 'do it all' tool is amazing. I love how it brings all Rust's already great tools together under one easy to use, consistent interface that 'just works'. I can't praise it enough!

gcvsa, to cycling
@gcvsa@mstdn.plus avatar

I am so of . Imagine being able to buy a little for your like this that is perfectly sized to hold two crates of , and converts to a shopping trolley that you can bring right into the store to buy the beer. Imagine beer being that cheap! €16.49 for 20 x 500 mL bottles of beer.

rml, to rust
@rml@functional.cafe avatar

2013: crate digging (spending the afternoon at in kberg picking dubs)
2023: crate digging (debugging a dependency)

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