Table of Contents
Alexandria is a community maintained standard library for Cairo. It is a collection of useful algorithms and data structures implemented in Cairo. Current version can be found in the toml file
Current version is 0.10.0 compatible with Cairo 2.16.0
This repository is composed of multiple crates:
- ASCII
- Data Structures
- Encoding
- Linalg
- Math
- Numeric
- Searching
- Sorting
- Storage
- Bytes
- Evm
- Json
- Macros
- Merkle Tree
- Utils
- Bitcoin
- ASCII :
scarb add alexandria_ascii@0.10.0 - Data Structures :
scarb add alexandria_data_structures@0.10.0 - Encoding :
scarb add alexandria_encoding@0.10.0 - Linalg :
scarb add alexandria_linalg@0.10.0 - Math :
scarb add alexandria_math@0.10.0 - Merkle Tree :
scarb add alexandria_merkle_tree@0.10.0 - Numeric :
scarb add alexandria_numeric@0.10.0 - Searching :
scarb add alexandria_searching@0.10.0 - Sorting :
scarb add alexandria_sorting@0.10.0 - Storage :
scarb add alexandria_storage@0.10.0 - Bytes :
scarb add alexandria_bytes@0.10.0 - Evm :
scarb add alexandria_evm@0.10.0 - Bitcoin :
scarb add alexandria_btc@0.10.0 - Json :
scarb add alexandria_json@0.10.0
scarb buildsnforge testRunning a specific subset of tests
snforge test -f mathscarb fmtAlexandria follows good practices of security, but 100% security cannot be assured. The codebase is not audited and is actively developed, with no professional security checks performed on it. Alexandria is provided "as is" without any warranty. Use at your own risk.
We highly recommend writing your own tests for your specific use cases.
For more information and to report security issues, please refer to our security documentation.
See the open issues for a list of proposed features (and known issues).
- Top Feature Requests (Add your votes using the 👍 reaction)
- Top Bugs (Add your votes using the 👍 reaction)
- Newest Bugs
Reach out to the maintainer at one of the following places:
- GitHub Discussions
- Contact options listed on this GitHub profile
If you want to say thank you or/and support active development of Alexandria:
- Add a GitHub Star to the project.
- Tweet about the Alexandria.
- Write interesting articles about the project on Dev.to, Medium or your personal blog.
Together, we can make Alexandria better!
First off, thanks for taking the time to contribute! Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.
Please read our contribution guidelines, and thank you for being involved!
For a full list of all authors and contributors, see the contributors page.
This project is licensed under the MIT license.
See LICENSE for more information.
- TheAlgorithms/Rust for inspiration regarding the implementation of algorithms.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
