photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

277
active users

#rust

38 posts35 participants0 posts today

What are best practices (any practices) when pulling in and exposing behavior from other crates in your crate?

I.e. if I have an interface that depends on crates "serde" and "strum" in my crate then I need to add those as dependencies. But depending on how I do that affects the end user and dependency resolution.

Any blog posts or popular crates to reference? #rustlang #rust

Yay 🥳 !

#RDF N-Triples 1.1 and 1.2 and #Turtle 1.1 syntax test suites run from their official manifests, with my self-written #Rust test runner for RDF test case manfiests based on my RDF Graph ORM!

codeberg.org/Taganak/taganak-s

Thanks to @codecraft for work on the internal API and @epage for support with the #winnow parser library.

#Rust home page is rust-lang.org and people keep calling it Rust.

#Kotlin home page is kotlinlang.org, and people keep calling it Kotlin.

#Ruby home page is ruby-lang.org and, guess what? people keep calling it Ruby.

Why on Earth Go programmers feel compelled to call their preferred programming language adding a -lang suffix is a mystery to me.

**Released rek2_nntp 1.0** a #usenet #nntp #rust library
I still need to polish some things this next month on a 1.0.1
- crates.io/crates/rek2_nntp
- git.sr.ht/~rek2/rek2_nntp

Hope someone will find it useful, I did got on my older versions still in alpha a bunch of downloads from crates.io I started this because I am also writing a #TUI usenet client and after that I hope to write something for android (this is harder for
me)

#happyHacking #Hacking #hispagatos
Patches welcome using git email
ReK2

crates.iocrates.io: Rust Package Registry

#rust tip: switching to an alternative linker got me x6 improvements in build time after a code change. `apt install lld`, stick the following in your `~/.cargo/config.toml`, and enjoy much smoother experience of re-running your build and tests:

```
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-args=-fuse-ld=lld"]
```

I'm looking forward to rust-lld becoming the default on Rust stable channel.