Rust rust-library

Open-source Rust projects categorized as rust-library

Top 23 Rust rust-library 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

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

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

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

  • rust-library-i18n

    Rust 核心库和标准库中文翻译,可作为 IDE 工具的智能提示,并生成本地 API 文档

  • duckscript

    Simple, extendable and embeddable scripting language.

  • Project mention: RustPython | news.ycombinator.com | 2024-02-07
  • 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 rust-library related posts

Index

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

Project Stars
1 grex 6,521
2 juniper 5,533
3 tera 3,218
4 poem 3,200
5 askama 3,081
6 imgui-rs 2,541
7 photon 2,481
8 rage 2,317
9 log 2,055
10 tract 2,050
11 rust-csv 1,603
12 argh 1,563
13 ureq 1,559
14 lopdf 1,486
15 windows-drivers-rs 1,337
16 nutype 1,206
17 lingua-rs 817
18 quicksilver 784
19 printpdf 760
20 imageproc (PistonDevelopers) 689
21 Spartan 628
22 rust-library-i18n 531
23 duckscript 489

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