-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add docs for
starknet-core
(#636)
- Loading branch information
1 parent
c2a1d43
commit 4d5b408
Showing
17 changed files
with
584 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,22 @@ | ||
//! Core data types and utilities for Starknet. | ||
#![deny(missing_docs)] | ||
#![cfg_attr(not(feature = "std"), no_std)] | ||
#![allow(clippy::comparison_chain)] | ||
#![doc = include_str!("../README.md")] | ||
|
||
/// Module containing custom serialization/deserialization implementations. | ||
pub mod serde; | ||
|
||
/// Module containing core types for representing objects in Starknet. | ||
pub mod types; | ||
|
||
/// High-level utilities for cryptographic operations used in Starknet. | ||
pub mod crypto; | ||
|
||
/// Utilities for performing commonly used algorithms in Starknet. | ||
pub mod utils; | ||
|
||
/// Chain IDs for commonly used public Starknet networks. | ||
pub mod chain_id; | ||
|
||
extern crate alloc; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
/// Custom serialization/deserialization implementations for [`Vec<u8>`]. | ||
pub mod byte_array; | ||
|
||
/// Custom serialization/deserialization implementations for [`Felt`]. | ||
pub mod unsigned_field_element; | ||
|
||
pub(crate) mod num_hex; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.