From f3b83f669fe467a925151b62dddddb4907379ae3 Mon Sep 17 00:00:00 2001 From: Colin Nielsen Date: Wed, 12 Jul 2023 07:48:41 -0700 Subject: [PATCH] chore: rename lib --- Nargo.toml | 2 +- README.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Nargo.toml b/Nargo.toml index bd2e13a..846a0f6 100644 --- a/Nargo.toml +++ b/Nargo.toml @@ -1,5 +1,5 @@ [package] -name = "noir-i2b" +name = "noir-u2b" authors = ["@colinnielsen"] compiler_version = "0.7.1" notes = "AMDG" diff --git a/README.md b/README.md index c5d3964..91649d8 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# Noir I2B +# Noir u2b -[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Nargo Test 🌌](https://github.com/colinnielsen/noir-i2b/actions/workflows/test.yml/badge.svg)](https://github.com/colinnielsen/noir-i2b/actions/workflows/test.yml) +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Nargo Test 🌌](https://github.com/colinnielsen/noir-u2b/actions/workflows/test.yml/badge.svg)](https://github.com/colinnielsen/noir-u2b/actions/workflows/test.yml) -**Noir I2B** contains helpers functions for converting unsigned integers to `[u8]` arrays of appropriate size +**Noir u2b** contains helpers functions for converting unsigned integers to `[u8]` arrays of appropriate size ## Usage @@ -10,13 +10,13 @@ In your `Nargo.toml` file, add the following dependency: ```toml [dependencies] -i2b = { tag = "v0.1.0", git = "https://github.com/colinnielsen/noir-i2b" } +u2b = { tag = "v0.2.0", git = "https://github.com/colinnielsen/noir-u2b" } ``` Conversion functions are available for all unsigned integer types `u(8-64)`. They can be used as follows: ```rust -use dep::i2b; +use dep::u2b; fn main(){ let num: u16 = 256;