Skip to content

Commit

Permalink
Change mod imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pefontana committed Nov 1, 2023
1 parent 529dd0d commit dd45348
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/starknet-types-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ arbitrary = { version = "1.3.0", optional = true, default-features = false }
num-traits = { version = "0.2.16", default-features = false }

[features]
default = ["std", "serde", "curve", "hash"]
default = ["std", "serde", "curve"]
curve = []
hash = ["dep:lambdaworks-crypto"]
std = []
Expand Down
1 change: 0 additions & 1 deletion crates/starknet-types-core/src/curve/affine_point.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use lambdaworks_math::cyclic_group::IsGroup;
use lambdaworks_math::elliptic_curve::short_weierstrass::curves::stark_curve::StarkCurve;
use lambdaworks_math::elliptic_curve::short_weierstrass::point::ShortWeierstrassProjectivePoint;
use lambdaworks_math::elliptic_curve::traits::FromAffine;

/// Represents a point on the Stark elliptic curve.
/// Doc: https://docs.starkware.co/starkex/crypto/stark-curve.html
#[repr(transparent)]
Expand Down
7 changes: 5 additions & 2 deletions crates/starknet-types-core/src/hash/mod.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
pub mod pedersen;
pub mod traits;
mod pedersen;
mod traits;

pub use self::pedersen::*;
pub use self::traits::*;

0 comments on commit dd45348

Please sign in to comment.