@@ -2,7 +2,6 @@ pub use starknet::storage::{
22 StorageMapReadAccess , StorageMapWriteAccess , StoragePointerReadAccess ,
33 StoragePointerWriteAccess ,
44};
5- pub use crate :: ops :: Deref ;
65use crate :: array :: {Array , ArrayTrait , Span , SpanTrait , ToSpanTrait };
76use crate :: box :: {Box , BoxTrait };
87use crate :: byte_array :: {ByteArray , ByteArrayIndexView , ByteArrayStringLiteral , ByteArrayTrait };
@@ -23,7 +22,12 @@ use crate::integer::{
2322 U64IntoFelt252 , U8IntoFelt252 , i128 , i16 , i32 , i64 , i8 , u128 , u128_is_zero, u16 , u256 , u32 , u64 ,
2423 u8 ,
2524};
25+ #[feature(" corelib-internal-use" )]
26+ #[deprecated(feature: " corelib-internal-use" , note: " Use `core::num::traits::Sqrt` instead" )]
27+ use crate :: integer :: {u128_sqrt, u256_sqrt};
28+ use crate :: iter :: {FromIterator , IntoIterator , Iterator };
2629use crate :: nullable :: {Nullable , NullableTrait , match_nullable, null, nullable_from_box};
30+ pub use crate :: ops :: Deref ;
2731use crate :: option :: Option :: {None , Some };
2832use crate :: option :: {Option , OptionTrait };
2933use crate :: panics :: {Panic , PanicResult , panic};
@@ -32,32 +36,11 @@ use crate::poseidon::Poseidon;
3236use crate :: result :: Result :: {Err , Ok };
3337use crate :: result :: {Result , ResultTrait };
3438use crate :: serde :: Serde ;
35- use crate :: string :: StringLiteral ;
36- use crate :: traits :: {
37- Add , BitAnd , BitNot , BitOr , BitXor , Copy , Default , Destruct , Div , DivRem , Drop ,
38- Felt252DictValue , Into , Mul , Neg , Not , PanicDestruct , PartialEq , PartialOrd , Rem , Sub , TryInto ,
39- TupleSize0Copy , TupleSize0Drop ,
40- };
41- use crate :: iter :: {FromIterator , IntoIterator , Iterator };
42- use crate :: zeroable :: {NonZero , Zeroable };
43- use crate :: {
44- BoolBitAnd , BoolBitOr , BoolBitXor , BoolFelt252DictValue , BoolIntoFelt252 , BoolNot ,
45- BoolPartialEq , BoolSerde , Felt252Add , Felt252AddEq , Felt252Default , Felt252Felt252DictValue ,
46- Felt252Mul , Felt252MulEq , Felt252Neg , Felt252PartialEq , Felt252Serde , Felt252Sub , Felt252SubEq ,
47- Felt252TryIntoNonZero , RangeCheck , SegmentArena , array, assert, bool , bool_and_impl,
48- bool_not_impl, bool_or_impl, bool_to_felt252 , bool_xor_impl, box, byte_array, bytes_31, clone,
49- cmp, debug, dict, drop, dup, ec, ecdsa, felt252 , felt252_add, felt252_const, felt252_div,
50- felt252_is_zero, felt252_mul, felt252_sub, gas, hash, integer, internal, keccak, math, never ,
51- nullable, option, panic_with_felt252 , panics, pedersen, poseidon, result, serde, string,
52- testing, to_byte_array, traits, usize, zeroable,
53- };
54- #[feature(" corelib-internal-use" )]
55- use crate :: starknet :: System ;
5639#[feature(" corelib-internal-use" )]
5740use crate :: starknet;
5841#[feature(" corelib-internal-use" )]
59- #[deprecated(feature : " corelib-internal- use" , note : " Use `core::num::traits::Sqrt` instead " )]
60- use crate :: integer :: {u128_sqrt, u256_sqrt} ;
42+ use crate :: starknet :: System ;
43+ use crate :: string :: StringLiteral ;
6144#[cfg(test)]
6245use crate :: test;
6346#[deprecated(
@@ -85,5 +68,22 @@ pub use crate::traits::RemEq;
8568)]
8669#[feature(" deprecated-op-assign-traits" )]
8770pub use crate :: traits :: SubEq ;
71+ use crate :: traits :: {
72+ Add , BitAnd , BitNot , BitOr , BitXor , Copy , Default , Destruct , Div , DivRem , Drop ,
73+ Felt252DictValue , Into , Mul , Neg , Not , PanicDestruct , PartialEq , PartialOrd , Rem , Sub , TryInto ,
74+ TupleSize0Copy , TupleSize0Drop ,
75+ };
8876#[feature(" deprecated-index-traits" )]
8977use crate :: traits :: {Index , IndexView };
78+ use crate :: zeroable :: {NonZero , Zeroable };
79+ use crate :: {
80+ BoolBitAnd , BoolBitOr , BoolBitXor , BoolFelt252DictValue , BoolIntoFelt252 , BoolNot ,
81+ BoolPartialEq , BoolSerde , Felt252Add , Felt252AddEq , Felt252Default , Felt252Felt252DictValue ,
82+ Felt252Mul , Felt252MulEq , Felt252Neg , Felt252PartialEq , Felt252Serde , Felt252Sub , Felt252SubEq ,
83+ Felt252TryIntoNonZero , RangeCheck , SegmentArena , array, assert, bool , bool_and_impl,
84+ bool_not_impl, bool_or_impl, bool_to_felt252 , bool_xor_impl, box, byte_array, bytes_31, clone,
85+ cmp, debug, dict, drop, dup, ec, ecdsa, felt252 , felt252_add, felt252_const, felt252_div,
86+ felt252_is_zero, felt252_mul, felt252_sub, gas, hash, integer, internal, keccak, math, never ,
87+ nullable, option, panic_with_felt252 , panics, pedersen, poseidon, result, serde, string,
88+ testing, to_byte_array, traits, usize, zeroable,
89+ };
0 commit comments