A dead-simple, extreme fast permission flag system for Rust with no dependencies

Overview

fastperm

A dead-simple, extreme fast permission flag system for Rust with no dependencies.

Usage

use fastperm::{add, rm, check};

// Add a flag to a permission digit.
assert_eq!(add(0, 1), 2);
// Remove a flag from a permission digit.
assert_eq!(rm(2, 1), 0);
// Check if a flag is in a permission digit.
assert!(check(2, 1));

Credit

Authors

You might also like...
This is a simple Telegram bot with interface to Firefly III to process and store simple transactions.
This is a simple Telegram bot with interface to Firefly III to process and store simple transactions.

Firefly Telegram Bot Fireflies are free, so beautiful. (Les lucioles sont libres, donc belles.) ― Charles de Leusse, Les Contes de la nuit This is a s

A Rust Based GMod Module for finding system info.

gm_sysinfo Fetching System Information in Rust to Lua. Installation Download the Module. Compile it. Cry because it doesn't work. Spend 2 hours debugg

πŸ› οΈ | System tool for all my lovers
πŸ› οΈ | System tool for all my lovers

HEAD πŸ’– love-fetch Original code ferris-fetch πŸ’– πŸ› οΈ System tool for all my lovers πŸ’– How to install it πŸ”¨ cargo install love-fetch License πŸ“‘

mdzk is a plain text Zettelkasten system that is based on the mdBook API.

mdzk A lovingly designed system and static publishing tool for your plain text Zettelkasten mdzk is a plain text Zettelkasten system that is based on

secmem-proc is a crate designed to harden a process against low-privileged attackers running on the same system trying to obtain secret memory contents of the current process.

secmem-proc is a crate designed to harden a process against low-privileged attackers running on the same system trying to obtain secret memory contents of the current process. More specifically, the crate disables core dumps and tries to disable tracing on unix-like OSes.

A supposed operating system.

mold This supposedly does something. Building This project is using a simple build script written in fish, which automates the process of compiling th

A Garry's Mod module that lets you check which fonts are available on the system

gm_fontsx Since apparently we're never getting a proper way to check for installed fonts on Garry's Mod, this has to exist πŸ˜’ Usage require("fontsx")

A little bit fast and modern Ruby version manager written in Rust
A little bit fast and modern Ruby version manager written in Rust

A little bit fast and modern Ruby version manager written in Rust Features Pure Rust implementation not using ruby-build Cross-platform support (macOS

πŸš€ Fast and 100% API compatible postcss replacer, built in Rust

πŸš€ Fast and 100% API compatible postcss replacer, built in Rust

Releases(1.0.2)
Owner
pan93412
Developer | Localization Translator | Student πŸ‡ΉπŸ‡Ό
pan93412
A dead simple boilerplate for Rust projects.

boilerplate-rs β€’ A dead simple boilerplate for Rust projects. Project Structure β”œβ”€β”€ assets β”‚ └── logo.png β”œβ”€β”€ bin β”‚ β”œβ”€β”€ Cargo.toml β”‚ └── src β”‚

null 6 Mar 27, 2023
πŸ₯… Dead simple webhook worker for Sentry to output events in a Discord channel

?? Sentry Webhook Dead simple webhook worker for Sentry to output events in a Discord channel Why? This is just a simple Rust HTTP service to do so, t

Noel 5 Nov 7, 2022
A dead-simple tool for working with data in Kafka

ktool - a tool for Kafka ktool is a dead-simple tool for working with data in Kafka: Copy partitions / topics to disk Replay messages Inspect message

Dom 5 Nov 4, 2022
Help project managers and project owners with easy-to-understand views of github issue dependencies.

Help project managers and project owners with easy-to-understand views of github issue dependencies.

nasa 56 Dec 15, 2022
A simple entity-component-system crate for rust with serialization support

Gallium A simple entity-component-system crate for rust with serialization support Usage You can include the library using carge: [dependencies] galli

null 7 Aug 31, 2021
Fast and simple PHP version manager written in rust

[WIP] phpup (PHP-up): Fast and Simple PHP version manager ⚑ Fast and simple PHP version manager, written in rust Features No requirements for system P

null 27 Dec 25, 2022
A simple, fast and fully-typed JSPaste API wrapper for Rust

rspaste A simple, fast and fully-typed JSPaste API wrapper for Rust. aidak.tk Β» Installation Put the desired version of the crate into the dependencie

Aidak 2 May 17, 2022
Beanstalk is a simple, fast work queue.

beanstalkd Simple and fast general purpose work queue.

Beanstalkd 6.3k Dec 30, 2022
A simple and fast FRC autonomous path planner (designed for swerve drive)! (Desktop/Laptop only)

This is a website developed for planning autonomous paths for FRC robots. It is intended to be a simple and fast tool to create autos, which works offline at competitions.

Weaver Goldman 2 Jan 6, 2023
qn (quick note) is a simple, fast and user-friendly way to save notes πŸ¦€βš™οΈ

Quick Note qn Install This is currently for my personal use. I may push breaking changes at any time. If you want to use it, bring down the code and r

Code Smell 3 Jul 15, 2022