20 releases (11 breaking)
0.12.0 | Sep 18, 2024 |
---|---|
0.11.1 | Jun 20, 2024 |
0.10.0 | Mar 27, 2024 |
0.8.1 | Dec 26, 2023 |
0.1.0 | Jan 6, 2022 |
#44 in #starknet
20,315 downloads per month
Used in 42 crates
(17 directly)
510KB
11K
SLoC
Starknet data types
// TODO: add starknet-core
documentation
Benchmark
These results were generated on the author's machine with Apple M3 Max running macOS 14.5.
For instructions on running the benchmarks yourself, check out this page.
Native
cairo0_class_hash time: [9.1665 ms 9.1690 ms 9.1718 ms]
sierra_class_hash time: [6.6931 ms 6.6944 ms 6.6958 ms]
WebAssembly
(Results are only provided for wasmtime
here. Check out the benchmark page for running the benchmark on other runtimes).
Runtime version:
$ wasmtime --version
wasmtime-cli 21.0.1 (cedf9aa0f 2024-05-22)
wasmtime
results:
cairo0_class_hash time: [36.515 ms 36.526 ms 36.538 ms]
sierra_class_hash time: [22.550 ms 22.557 ms 22.567 ms]
lib.rs
:
Core data types and utilities for Starknet.
Dependencies
~9.5MB
~173K SLoC