#numbers #practice #power #radix #learning #digits #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

#274 in Algorithms

Download history 27/week @ 2024-09-18 143/week @ 2024-09-25 12/week @ 2024-10-02 172/week @ 2024-10-09 5/week @ 2024-10-16

2,535 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
~89K SLoC