Skip to content

Stylus v0.10 recommended libraries#3105

Merged
anegg0 merged 8 commits intostylus-v0.10from
stylus-v0.10-recommended-libraries
Mar 4, 2026
Merged

Stylus v0.10 recommended libraries#3105
anegg0 merged 8 commits intostylus-v0.10from
stylus-v0.10-recommended-libraries

Conversation

@anegg0
Copy link
Contributor

@anegg0 anegg0 commented Feb 10, 2026

Add recommended libraries guide for Stylus v0.10 documentation.

This PR adds the recommended libraries advanced guide from the alternate structure.

@vercel
Copy link

vercel bot commented Feb 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
arbitrum-docs Error Error Mar 4, 2026 6:29pm

Request Review

Copy link
Contributor

@pete-vielhaber pete-vielhaber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nits

@MishkaRogachev MishkaRogachev requested review from rory-ocl and removed request for MishkaRogachev February 19, 2026 10:06
anegg0 and others added 3 commits February 26, 2026 14:49
Co-authored-by: Pete <petevielhaber@gmail.com>
Co-authored-by: Pete <petevielhaber@gmail.com>
Co-authored-by: Pete <petevielhaber@gmail.com>

To save developers time on smart contract development, we’ve curated a list of crates and utilities we found helpful. Keep in mind that we have not audited this code, and you should always be mindful about pulling dependencies into your codebase, whether they’ve been audited or not. We provide this list for your use at your own risk.

- [`rust_decimal`](https://crates.io/crates/rust_decimal): Decimal number implementation written in pure Rust. Suitable for financial and fixed-precision calculations

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uses stdlib by default. Will need to specify default-features = [] when declaring this dependency.

- [`rust_decimal`](https://crates.io/crates/rust_decimal): Decimal number implementation written in pure Rust. Suitable for financial and fixed-precision calculations
- [`special`](https://crates.io/crates/special): The package provides special functions, which are mathematical functions with special names due to their common usage, such as `sin`, `ln`, `tan`, etc.
- [`hashbrown`](https://crates.io/crates/hashbrown): Rust port of Google's SwissTable hash map
- [`time`](https://crates.io/crates/time): Date and time library

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uses stdlib by default. Will need to specify default-features = [] when declaring this dependency.

- [`special`](https://crates.io/crates/special): The package provides special functions, which are mathematical functions with special names due to their common usage, such as `sin`, `ln`, `tan`, etc.
- [`hashbrown`](https://crates.io/crates/hashbrown): Rust port of Google's SwissTable hash map
- [`time`](https://crates.io/crates/time): Date and time library
- [`hex`](https://crates.io/crates/hex): Encoding and decoding data into/from hexadecimal representation

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uses stdlib by default. Will need to specify default-features = [] when declaring this dependency.

These crates use stdlib by default and require default-features = false
to work in Stylus no_std contracts, per reviewer feedback.
@anegg0 anegg0 requested a review from rory-ocl March 1, 2026 21:46
@anegg0 anegg0 merged commit 19c5566 into stylus-v0.10 Mar 4, 2026
1 of 2 checks passed
@anegg0 anegg0 deleted the stylus-v0.10-recommended-libraries branch March 4, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants