From b33212ce02ab4186ef12aa2a2fe22c64775a8e26 Mon Sep 17 00:00:00 2001 From: juanbono Date: Tue, 26 Mar 2024 15:08:25 -0300 Subject: [PATCH 1/3] add usage section for lambdaworks-math --- math/README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/math/README.md b/math/README.md index cc3810bc4..bd69d729b 100644 --- a/math/README.md +++ b/math/README.md @@ -1,6 +1,18 @@ -# lambdaworks Math +# lambdaworks-math [![Latest Version]][crates.io] -This folder contains all the relevant mathematical building blocks needed for proof systems and cryptography. The main parts are: +[Latest Version]: https://img.shields.io/crates/v/lambdaworks-math.svg +[crates.io]: https://crates.io/crates/lambdaworks-math + + +## Usage +Add this to your `Cargo.toml` +```toml +[dependencies] +lambdaworks-math = "0.5.0" +``` + +## Structure +This crate contains all the relevant mathematical building blocks needed for proof systems and cryptography. The main parts are: - [Finite Fields](https://github.com/lambdaclass/lambdaworks/tree/main/math/src/field) - [Elliptic curves](https://github.com/lambdaclass/lambdaworks/tree/main/math/src/elliptic_curve) - [Polynomials - univariate and multivariate](https://github.com/lambdaclass/lambdaworks/tree/main/math/src/polynomial) From c22155dcd0cec03724614aef0006773c6719d1f0 Mon Sep 17 00:00:00 2001 From: juanbono Date: Tue, 26 Mar 2024 15:29:03 -0300 Subject: [PATCH 2/3] add docs for crypto crate --- crypto/README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/crypto/README.md b/crypto/README.md index 20f291d0b..5422833c1 100644 --- a/crypto/README.md +++ b/crypto/README.md @@ -1,6 +1,20 @@ -# lambdaworks Crypto +# lambdaworks-crypto [![Latest Version]][crates.io] -This folder contains different cryptographic primitives needed for proof systems. The main elements are: +[Latest Version]: https://img.shields.io/crates/v/lambdaworks-crypto.svg +[crates.io]: https://crates.io/crates/lambdaworks-crypto + + +## Usage + +Add this to your `Cargo.toml` +```toml +[dependencies] +lambdaworks-crypto = "0.5.0" +``` + +## Structure + +This crate contains different cryptographic primitives needed for proof systems. The main elements are: - [Merkle trees](https://github.com/lambdaclass/lambdaworks/tree/main/crypto/src/merkle_tree) - [Hash functions](https://github.com/lambdaclass/lambdaworks/tree/main/crypto/src/hash) - [Fiat Shamir transformation](https://github.com/lambdaclass/lambdaworks/tree/main/crypto/src/fiat_shamir) From 7b6f7ec7ddd7e9eb2790cac0a726753e4c51b8fc Mon Sep 17 00:00:00 2001 From: juanbono Date: Tue, 26 Mar 2024 15:33:21 -0300 Subject: [PATCH 3/3] add crates to introduction --- docs/src/introduction.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/src/introduction.md b/docs/src/introduction.md index 651a8dc63..522db22da 100644 --- a/docs/src/introduction.md +++ b/docs/src/introduction.md @@ -1,3 +1,9 @@ # Introduction This site hosts the main documentation for Lambdaworks as a whole. It is still a work in progress. + +## Crates + +- [lambdaworks-math](https://crates.io/crates/lambdaworks-math) +- [lambdaworks-crypto](https://crates.io/crates/lambdaworks-crypto) +- [lambdaworks-gpu](https://crates.io/crates/lambdaworks-gpu)