rust-library

Open-source projects categorized as rust-library
Language: + Rust + JavaScript

Top 23 rust-library Open-Source Projects

  • grex

    A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases

    Project mention: grex 1.0.0 - Generate regular expressions from user-provided test cases | /r/Python | 2023-08-31
  • juniper

    GraphQL server library for Rust

    Project mention: New Rustacean Looking For Guidance | /r/rust | 2023-05-11

    juniper

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • tera

    A template engine for Rust based on Jinja2/Django

    Project mention: Getting Started with Axum - Rust's Most Popular Framework | dev.to | 2023-12-06

    You can also use HTML templating with crates like askama, tera and maud! This can be combined with the power of lightweight JavaScript libraries like htmx to speed up time to production. You can read more about this on our other article about using HTMX with Rust which you can find here.. We also collaborated with Stefan Baumgartner on an article for serving HTML with Askama!

  • poem

    A full-featured and easy-to-use web framework with the Rust programming language.

    Project mention: Write OpenAPI with TypeSpec | news.ycombinator.com | 2024-03-27

    TypeSpec is great, but if you're working with Rust and you're about to write a new project that will require an OpenApi spec sooner or later, I'd like to recommend a web framework that has spec generation baked in:

    https://github.com/poem-web/poem (see poem_openapi)

    All you need to do is derive a trait on your response structs and in return you get an almost perfectly generated spec. Unions, objects, enums are first class citizens.

    Also, if you're from coming from PHP, the controllers feel very much like symfony controllers.

    P.s. Please do recommend an ORM that would feel closer to doctrine. I miss doctrine.

  • askama

    Type-safe, compiled Jinja-like templates for Rust

    Project mention: Deploying your Rust WASM Game to Web with Shuttle & Axum | dev.to | 2024-02-14

    I have inlined the CSS here, and you can use Rust-based tooling like Lightning CSS to minify and bundle CSS here. You might also want to create a Rust build script to generate the HTML from a template, using the askama crate (works a little like Jinja).

  • imgui-rs

    Rust bindings for Dear ImGui

    Project mention: GUI library for fast prototyping | /r/rust | 2023-12-06

    there is a good bindings for imgui

  • photon

    ⚡ Rust/WebAssembly image processing library (by silvia-odwyer)

    Project mention: Show HN: OS Image processing API running on edge functions using Rust and WASM | news.ycombinator.com | 2024-04-04

    Image processing/transformations with built-in CDNs is one of the more common solutions you would find out there but can get pretty expensive and locked in over time.

    Vercel is a good example that provides a built-in “next/image” solution for the NextJS framework that optimises images for better performance, however, it gets very expensive as you scale.

    Alternatively, running your own service with one of the most common image processing libraries like SharpJS is great but can get pretty difficult to run in a serverless environment with CDNs and all the other bells and whistles alongside all your other code while the cold startup time of Sharp in a serverless environment can be pretty brutal.

    With all the growth around rebuilding engines in Rust for performance gains, I thought there must be an image processing library written in Rust which could be compiled to WebAssembly (WASM) and run way faster. That’s when I discovered Photon https://github.com/silvia-odwyer/photon by Silvia, who has done amazing work with the library.

    This eventually led me to discover https://github.com/fineshopdesign/cf-wasm/tree/main/packages... that has already transcribed the Photon package into a WASM binary for easy use in edge v8 environments like Cloudflare workers or NextJS Edge functions.

    Using these packages I built an API layer on the NextJS framework allowing you to easily process local and remote images at blazing fast speeds with a bunch of helper functions making it similar to use as most paid Image processing APIs. If hosted on Vercel, you can make use of the built-in CDN cache for files less than 10 MB at no extra charge with Edge caching.

    Some of the features:

    - Blazing fast image processing

    - Fully serverless, runs on Vercel Edge functions

    - Resize, crop, compress, tint, rotate, format and more

    - Global distribution with Edge functions

    - Automated CDN cache with Edge functions

    - Replacement for `next/image` processing on Vercel

    - Local and remote image processing

    Some problems:

    - The Photon lib has last been updated in 2020

    - There are still a few obvious bugs when using it for more advanced requirements like 8k image processing on edge function due to poor memory management in Rust

    - No sexy features right now like AI image optimisation and selective background blurring

    - If you are looking for an all-in-one solution with Image Storage + image processing/CDN, this is not it (something we will be releasing soon on JigsawStack.com)

    I think the Photon library and the API have a lot more potential for growth and will be hoping for more contributions from the community as Rust gets more popular!

  • 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.

  • rage

    A simple, secure and modern file encryption tool (and Rust library) with small explicit keys, no config options, and UNIX-style composability.

    Project mention: Do any libraries exist for zero-trust file storage (storing client-encrypted data on the server without the key)? | /r/rust | 2023-04-29
  • log

    Logging implementation for Rust (by rust-lang)

    Project mention: What Are The Rust Crates You Use In Almost Every Project That They Are Practically An Extension of The Standard Library? | /r/rust | 2023-11-22

    log: Logging interface with various levels.

  • tract

    Tiny, no-nonsense, self-contained, Tensorflow and ONNX inference

    Project mention: Are there any ML crates that would compile to WASM? | /r/rust | 2023-07-03

    Tract is the most well known ML crate in Rust, which I believe can compile to WASM - https://github.com/sonos/tract/. Burn may also be useful - https://github.com/burn-rs/burn.

  • Awesome-Rust-MachineLearning

    This repository is a list of machine learning libraries written in Rust. It's a compilation of GitHub repositories, blogs, books, movies, discussions, papers, etc. 🦀

    Project mention: Performance critical ML: How viable is Rust as an alternative to C++ | /r/rust | 2023-05-02

    There’s an awesome-git list for a bunch of ML rust stuff not sure how up to date it is as well https://github.com/vaaaaanquish/Awesome-Rust-MachineLearning … not mine

  • rust-csv

    A CSV parser for Rust, with Serde support.

  • ureq

    A simple, safe HTTP client

    Project mention: Thermostat Control for Ecobee | /r/rust | 2023-05-29

    I also enjoyed using ureq as an http client.

  • argh

    Rust derive-based argument parsing optimized for code size

  • lopdf

    A Rust library for PDF document manipulation.

  • windows-drivers-rs

    Platform that enables Windows driver development in Rust. Developed by Surface.

    Project mention: Platform that enables Windows driver development in Rust | /r/patient_hackernews | 2023-09-25
  • not-yet-awesome-rust

    A curated list of Rust code and resources that do NOT exist yet, but would be beneficial to the Rust community.

  • nutype

    Rust newtype with guarantees 🇺🇦 🦀

    Project mention: Nutype 0.4.0 released | /r/rust | 2023-11-23
  • lingua-rs

    The most accurate natural language detection library for Rust, suitable for short text and mixed-language text

    Project mention: I created a program that finds out which anki cards out of 50_000 are in english and deletes them in 2 minutes | /r/rust | 2023-10-23

    Discovery of Lingua: While working on a different project, I discovered the Lingua library.

  • quicksilver

    A simple framework for 2D games on desktop and web (by ryanisaacg)

  • printpdf

    An easy-to-use library for writing PDF in Rust

  • imageproc (PistonDevelopers)

    Image processing operations

  • Spartan

    Spartan: High-speed zkSNARKs without trusted setup (by microsoft)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-04-04.

rust-library related posts

Index

What are some of the best open-source rust-library projects? This list will help you:

Project Stars
1 grex 6,509
2 juniper 5,523
3 tera 3,204
4 poem 3,190
5 askama 3,064
6 imgui-rs 2,531
7 photon 2,472
8 rage 2,310
9 log 2,049
10 tract 2,046
11 Awesome-Rust-MachineLearning 1,679
12 rust-csv 1,600
13 ureq 1,558
14 argh 1,554
15 lopdf 1,477
16 windows-drivers-rs 1,333
17 not-yet-awesome-rust 1,274
18 nutype 1,189
19 lingua-rs 814
20 quicksilver 782
21 printpdf 760
22 imageproc (PistonDevelopers) 686
23 Spartan 626
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com