Skip to content
/ crates Public

A collection of minimal Rust crates that I created for myself

License

Notifications You must be signed in to change notification settings

bplaat/crates

Repository files navigation

Bassie's Rust crates

A collection of minimal Rust crates that I created for myself

Crates

  • base64 A base64 encoder and decoder
  • getrandom A minimal crypto random bytes library
  • from_enum A FromEnum derive macro library
  • http A simple HTTP/1.1 server/client library
  • minify-html A simple HTML minifier library
  • objc A basic Objective-C ffi library
  • openapi-generator A simple OpenAPI code generator
  • pbkdf2 A unsecure PBKDF2-HMAC-SHA256 password hashing library
  • router A simple router for HTTP library
  • sqlite A SQLite Rust library
  • sqlite_derive SQLite derive macro's library
  • sqlite3-sys A SQLite3 sys bindings library
  • threadpool A very basic thread pool library
  • time A simple UTC DateTime library similar to chrono
  • url A minimal URL parser library
  • useragent An user agent parser library
  • uuid A minimal UUID library
  • validate A simple struct validation library
  • validate_derive Validation derive macro's library
  • webview A simple webview library

Getting Started

  • Install the latest Rust toolchain with rustup

  • Install nightly rustfmt, cargo-deny and cargo-nextest

    rustup toolchain add nightly --component rustfmt
    cargo install cargo-deny cargo-nextest
  • Run checks:

    make -C check
  • Or run an example:

    cargo run --bin example-persons-api

TODO items

  • window: Split window management of from webview
  • webview: Add Windows (win32 + Webview2) support
  • webview: Add Linux (Gtk + Webkit2Gtk) support

License

Copyright © 2024-2025 Bastiaan van der Plaat

Licensed under the MIT license.

About

A collection of minimal Rust crates that I created for myself

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages