#numbers #practice #digits #power #radix #learning #operations

no-std ognlib

Some code that is written to practice Rust

47 releases

0.7.1 Oct 10, 2024
0.6.0 Jun 6, 2024
0.5.16 Feb 23, 2024
0.5.10 Dec 24, 2023
0.4.5 Jul 19, 2023

#384 in Algorithms

Download history 8/week @ 2024-07-01 12/week @ 2024-07-29 158/week @ 2024-09-23 22/week @ 2024-09-30 166/week @ 2024-10-07 13/week @ 2024-10-14

359 downloads per month

MIT/Apache

84KB
1K SLoC

workflow Status

ognlib

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.

Features

By default the feature std is enable. It's enabled for rayon crate, which doesn't provide no_std feature. You can disable it with default-features = false. This makes some code a bit slower and makes some sort algorithmes unavialable.

Contributing

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.

Dependencies

~3–5MB
~90K SLoC