From 300441a05f8d6b481cef7efc26e7b4fb6c22c0d7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 29 Aug 2024 13:07:07 +0000 Subject: [PATCH] I256 CoreArith v0.2.6 --- Cargo.toml | 4 ++-- README.md | 9 ++++++--- example/Cargo.toml | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b8dcc2f..be57a6e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ workspace = { members = ["example"] } [package] name = "soroban-math" -version = "0.2.5" +version = "0.2.6" edition = "2021" description = "Fixed-Point Math Library for soroban smart contracts with advanced math and high precision" license = "Apache-2.0" @@ -13,4 +13,4 @@ authors = ["Rahul Soshte "] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -soroban-sdk = "21.5.0" +soroban-sdk = "21.6.0" diff --git a/README.md b/README.md index 833a3f4..5ab44db 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Add this to your Cargo.toml: ```toml [dependencies] -soroban-math = "0.2.5" +soroban-math = "0.2.6" ``` And this to your code: @@ -26,11 +26,14 @@ use soroban_math::*; ``` ## Features -1. High-Precision Arithmetic: Perform calculations with numbers using the i128 type, ensuring precision and accuracy. +1. High-Precision Arithmetic: Perform calculations with numbers using the i128/I256 type, ensuring precision and accuracy. 2. Advanced Math Functions: Access advanced mathematical functions like logarithms, exponentiation, and more. 3. Ergonomic API: An intuitive API for easy integration into Soroban smart contracts. 4. Minimized Rounding Losses: Specialized techniques to reduce rounding errors during calculations. -5. Security: Audit-ready code to ensure the safety and correctness of calculations. + +## Some Notes + +I am monitoring and maintaining this repo closely. Writing test cases. I cannot ask you to assume that the library is 100% safe to use in all scenarios. If you need my consultation while integrating this library and implementing it as safely as possible in your project / hands-on custom implementation, I sure can do it, of course that will be come with some price tag, please DM me on [Twitter](https://twitter.com/RahulSoshte) or mail me here, rahul.soshte47@gmail.com. ## Use Cases diff --git a/example/Cargo.toml b/example/Cargo.toml index dbabaf5..d709449 100644 --- a/example/Cargo.toml +++ b/example/Cargo.toml @@ -10,7 +10,7 @@ crate-type = ["cdylib"] doctest = false [dependencies] -soroban-sdk = { version = "21.5.0", features = ["testutils"] } +soroban-sdk = { version = "21.6.0", features = ["testutils"] } soroban-math = { path = "../" } # [dev-dependencies]