Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to Rust [email protected]English • 2 years ago

New features on lib.rs

users.rust-lang.org

message-square
6
fedilink
  • cross-posted to:
  • [email protected]
16
external-link

New features on lib.rs

users.rust-lang.org

@[email protected] to Rust [email protected]English • 2 years ago
message-square
6
fedilink
  • cross-posted to:
  • [email protected]
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
    link
    fedilink
    English
    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.

    • @[email protected]OP
      link
      fedilink
      English
      3•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 [email protected]

[email protected]
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: [email protected]

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
  • 1 user / day
  • 1 user / week
  • 9 users / month
  • 1 user / 6 months
  • 1 subscriber
  • 86 Posts
  • 163 Comments
  • Modlog
  • mods:
  • lemmyrs
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org