Lemdro.id
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Vorpal@programming.dev to Rust Lang@lemmyrs.orgEnglish · 2 years ago

New features on lib.rs

users.rust-lang.org

external-link
message-square
6
fedilink
  • cross-posted to:
  • rust@programming.dev
17
external-link

New features on lib.rs

users.rust-lang.org

Vorpal@programming.dev to Rust Lang@lemmyrs.orgEnglish · 2 years ago
message-square
6
fedilink
  • cross-posted to:
  • rust@programming.dev
I've implemented a few new things on lib.rs recently! New features page It lists all cargo features that a crate supports. It includes comments from Cargo.toml, neatly formatted as markdown, so you can learn what the features do. Since comments on features are rare, I also search crate's source code for uses of cfg(feature = "…") to give a hint what functions or types are affected by the feature. Cargo has this quirk that all optional dependencies implicitly create features, unless you use a ...

cross-posted from: https://programming.dev/post/1825728

Lots of new features!

Thought I should share this with those who don’t use users.rust-lang.org. Note: I’m not affiliated with lib.rs, I’m only reposting to lemmy.

  • hallettj@beehaw.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 years ago

    Neat! And for anyone not familiar Lib.rs is a package repository, described as an alternative [frontend] to Crates.io.

    • Vorpal@programming.devOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      Not really: lib.rs is a different website frontend to the same old crates.io, presenting the data in a better way.

Rust Lang@lemmyrs.org

rustlang@lemmyrs.org

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !rustlang@lemmyrs.org

Rules [Developing]

Observe our code of conduct

  • Strive to treat others with respect, patience, kindness, and empathy.
  • We observe the Rust Project Code of Conduct.
  • Submissions must be on-topic
  • Posts must reference Rust or relate to things using Rust. For content that does not, use a text post to explain its relevance.
  • Post titles should include useful context.
  • For Rust questions, use the stickied Q&A thread. [TBD]
  • Arts-and-crafts posts are permitted on weekends.
  • No meta posts; message the mods instead.

Constructive criticism only

  • Criticism is encouraged, though it must be constructive, useful and actionable.
  • If criticizing a project on GitHub, you may not link directly to the project’s issue tracker. Please create a read-only mirror and link that instead.
  • Keep things in perspective
  • A programming language is rarely worth getting worked up over.
  • No zealotry or fanaticism.
  • Be charitable in intent. Err on the side of giving others the benefit of the doubt.

No endless relitigation

  • Avoid re-treading topics that have been long-settled or utterly exhausted.
  • Avoid bikeshedding.
  • This is not an official Rust forum, and cannot fulfill feature requests. Use the official venues for that.

No low-effort content

  • Showing off your new projects is fine

No memes or image macros

  • Please find other communities to post memes

No NSFW Content

  • There are many other NSFW communities, let’s keep this related to the language
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 2 local subscribers
  • 2 subscribers
  • 79 Posts
  • 135 Comments
  • Modlog
  • mods:
  • lemmyrs@lemmyrs.org
  • erlend_sh@lemmyrs.org
  • UI: 0.19.8
  • BE: 0.19.9
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org