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

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

    InfluxDB logo
  • 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!

  • SaaSHub

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

    SaaSHub logo
  • rage

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

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

  • rust-csv

    A CSV parser for Rust, with Serde support.

  • argh

    Rust derive-based argument parsing optimized for code size

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

  • 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

    SaaSHub logo
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).

rust-library related posts

  • Zed Decoded: Linux When? – Zed Blog

    7 projects | news.ycombinator.com | 7 May 2024
  • Show HN: OS Image processing API running on edge functions using Rust and WASM

    3 projects | news.ycombinator.com | 4 Apr 2024
  • Show HN: SPF Deconstructor in Rust

    1 project | news.ycombinator.com | 17 Dec 2023
  • programs have multiple tabs open and 300mb of ram usage

    1 project | /r/pcmasterrace | 11 Dec 2023
  • Mystic light made my rgb unusable

    1 project | /r/MSI_Gaming | 8 Dec 2023
  • MSI Center Mystic Light LEDKeeper2.exe High CPU Usage

    1 project | /r/MSI_Gaming | 7 Dec 2023
  • Getting Started with Axum - Rust's Most Popular Framework

    5 projects | dev.to | 6 Dec 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 20 May 2024
    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. Learn more →

Index

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

Project Stars
1 grex 6,858
2 juniper 5,569
3 tera 3,241
4 poem 3,242
5 askama 3,128
6 imgui-rs 2,565
7 photon 2,508
8 rage 2,368
9 log 2,069
10 tract 2,072
11 Awesome-Rust-MachineLearning 1,735
12 rust-csv 1,614
13 argh 1,583
14 ureq 1,576
15 lopdf 1,503
16 windows-drivers-rs 1,360
17 not-yet-awesome-rust 1,297
18 nutype 1,211
19 lingua-rs 831
20 quicksilver 784
21 printpdf 766
22 imageproc (PistonDevelopers) 697
23 Spartan 636

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com