21
submitted 1 week ago by secana to c/rust

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

10
submitted 2 weeks ago by secana to c/rust

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

[-] secana 13 points 3 weeks ago

Or use https://kellnr.io to host your crates. It automatically builds the corresponding docs and hosts them for you. Disclaimer: I'm the author.

13
submitted 3 weeks ago by secana to c/nix

Hi! I ran into the issue that my kube config, which I manage with home-manager is world read- and writable. I hoped that there is an easy option to set file permissions with home-manager, e.g. home.file."foo".permissions = 0644 but something like this does not exist. All solutions a short web search turns up are overly complicated for something that seems to be a trivial task.

What is the easiest way to set permissions for a file with home-manager?

21
submitted 3 weeks ago by secana to c/rust

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

20
submitted 1 month ago by secana to c/rust

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

[-] secana 97 points 1 month ago

https://tauri.app/ is very popular and does not need electron. It uses the OS native we view.

[-] secana 9 points 1 month ago

The runtime is even called "common language runtime" (clr), as it is intended to support many different languages, which the jvm never was.

[-] secana 12 points 1 month ago

I released https://kellnr.io 5.2.1 with a few smaller fixes and additions.

33
submitted 1 month ago by secana to c/rust

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

26
submitted 1 month ago by secana to c/rust

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

[-] secana 10 points 1 month ago

If that really works without any drawbacks, I hope it gets merged into Rust main.

9
submitted 1 month ago by secana to c/rust

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

5
submitted 2 months ago by secana to c/nix

Hi! It's my first day with nixos. I tried to compile a rust project. To do so, I used a nix-shell with the content from here: https://nixos.wiki/wiki/Rust with the "Installation via rustup" option.

Unfortunately the compilation fails:

$ cargo check
   Compiling libc v0.2.151
   Compiling proc-macro2 v1.0.73
   Compiling serde v1.0.193
    Checking once_cell v1.19.0
   Compiling thiserror v1.0.53
error: linker `aarch64-linux-gnu-gcc` not found
  |
  = note: No such file or directory (os error 2)

error: could not compile `proc-macro2` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `serde` (build script) due to 1 previous error
error: could not compile `libc` (build script) due to 1 previous error
error: could not compile `thiserror` (build script) due to 1 previous error

I run NixOS 23.11 stable on a VM on a Macbook with M1 (arm64) CPU.

Any ideas how to fix that?

26
Zig, Rust and other languages (notes.eatonphil.com)
submitted 2 months ago by secana to c/rust

What do you think about the points the authors makes?

16
submitted 2 months ago by secana to c/rust

Kellnr 5.2.0 is released. Besides many small changes, the main feature of this release is UI support for cached crates. Until now, only private crates were shown in the UI. Now, cached crates from crates.io are shown and searchable from the UI, too.

[-] secana 12 points 2 months ago

The Windows linker needs a lib file to link a DLL. See here how it's done https://kellnr.io/blog/cross-plat-native-lib

[-] secana 6 points 2 months ago

I started to implement a new feature for https://kellnr.io. Currently, only private crates are displayed in the UI, but the users wished for the possibility to display cached crates from crates.io, as well. Hopefully a new version will be out in the next days, with the new feature.

27
submitted 2 months ago by secana to c/rust

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

[-] secana 13 points 2 months ago

Good idea. We could try to reach TWIR on Mastodon.

[-] secana 10 points 2 months ago

If a few big names here could possibly help. If someone from the Rust project itself or someone well known from YouTube posts here and engages in discussions, more people would be interested to join.

[-] secana 7 points 2 months ago

I'll try to post more. Maybe cross posting from here to Mastodon helps. I've the impression that the Rust community is more active there.

[-] secana 34 points 3 months ago

I advocate for that since years. We need to normalize to pay for OSS. The biggest issue I see is not that people are unwilling to pay (donate) for the software they use daily, but the the payment itself is to complicated. There is not "the one" app store for OSS that every OS uses that makes donations easy. Additionally taking care of taxes for donations is too much of a burden, so the app store needs to handle that as well. And voila: You have the Apple App store or Android Play store.

[-] secana 7 points 3 months ago

Any advantages over distrobox? Sounds very similar.

view more: next ›

secana

joined 5 months ago