I just published my first crate: `identified_vec` - I would love some input! PR's are most welcome.

This page summarizes the projects mentioned and recommended in the original post on /r/learnrust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • anyerror

    Error for transport in rust

  • You're using an error wrapping crate. I highly recommend that for a library crate you use hand-written error types, this gives users of your library maximum flexiblity in how they want to use your errors. thiserror is a fantastic crate to help with this: thiserror errors are not wrapped in anything, all it does is provides macros to help you build custom error types with a little less boilerplate (the macros emit code which just uses the error machinery from std and nothing else).

  • rust-smallvec

    "Small vector" optimization for Rust: store up to a small number of items on the stack

  • You might want to check out how popular ecosystem crates do some of these things. Particularly relevant to you are probably crates providing collections, such as smallvec, hashbrown, or indexmap.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • hashbrown

    Rust port of Google's SwissTable hash map

  • You might want to check out how popular ecosystem crates do some of these things. Particularly relevant to you are probably crates providing collections, such as smallvec, hashbrown, or indexmap.

  • indexmap

    A hash table with consistent order and fast iteration; access items by key or sequence index

  • You might want to check out how popular ecosystem crates do some of these things. Particularly relevant to you are probably crates providing collections, such as smallvec, hashbrown, or indexmap.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts