#numbers #power #radix #practice #digits #operations #default

no-std ognlib

Some code that is written to practice Rust

45 releases

0.6.0 Jun 6, 2024
0.5.16 Feb 23, 2024
0.5.12 Jan 31, 2024
0.5.10 Dec 24, 2023
0.4.5 Jul 19, 2023

#490 in Algorithms

Download history 9/week @ 2024-03-11 233/week @ 2024-04-01 152/week @ 2024-06-03 4/week @ 2024-06-10

156 downloads per month


932 lines

workflow Status


ognlib is created to practice Rust (for me), so you won't find any new code, that can be used for your projects. It contains code for operations under number digits, some power algorithms, radix numbers and some algorithms.


By default the feature std is enable. If you want to use the crate with #![no_std], remove default features. std feature ships with a bunch of dependencies, which can be partially enabled (still requires the std available).


I'm open for your feedback! If you want to improve my code and explain everything that is new for me, feel free to open PR in GitHub repo.

Why was it created?

Currently I'm learning Rust and I want to have practice on something, so I created this lib based on functions from ognfunc.cpp file I made for the another repo.


~24K SLoC