Files
boc/aamos-ledger-rust/target/debug/deps/libfastrand-2952ee1def017430.rmeta
T

157 lines
62 KiB
Plaintext
Raw Normal View History

rust
ðõ#rustc 1.96.0 (ac68faa20 2026-05-25)ÁíàÄTËŸ ÜJîÄ)'ß\¥!-3d1337db07d0b3aeÁ¤²XctÔ'ÐÓ©z¨ɽÓ-a4945860e1c53b00Á¤°ð ¾ä-±($²ï=©Ã-7e98a21bfd32b0edÁÀ뉊]!ÜÛê(¹Þ—šên-5be7b69c3ff7b5b8ÁòÖÀH•‘PIÓHã#£-055f30b747f859b6Árustc_std_workspace_coreÁ­Cçß^ò½èÝ$­Çÿ+Cé-c4878ee60b2242c9ÁŸÃï+Ñ]ŠqB<ÏïW#-8dd1dd90e70d0b6aÁ miniz_oxideÁ€š»J(P>àö÷g\K-1eb618da2918ab7fÁadler2ÁÆ;+Þ®5¥Ìýݰ¦ÛLˆ-f7919172d268e069Á hashbrownÁPäV9ÒÆèÜ"ÊÖVŽ\-0fc2184a5da6723aÁrustc_std_workspace_allocÁs&ØòØy¯s•bæ!‰ýŠ-97e4bf30be240674Á
std_detectÁhŠBîÙºÌI®ËÅš-9dbbf8346ba7ac8bÁrustc_demangleÁûë9´Ç×@Œ’ùXFº-f33013f239bf9f14Ácfg_ifÁÜLhž§Œaã¯>­-0a71c8f33a838301Á addr2lineÁ׎Þ!]8V$É@@-e618e6be60e87ba2ÁgimliÁ¸
°µ~Î1‹Ñt ðÁ€w-1f7768a68858f670ÁobjectÁ
áPÃ?­À¶¼QHJ¥-914cd6a4dbe590d1ÁmemchrÁ›º«8Ór­2Ù $¨ûib-cf21ca6f2bb15dcdÁë
‹ás«LÖ€îâƒ×ɯŒ-ee6f3747e38367f0Á random_seedÁ\­,ì×´Ç+ìØ´ß+üÆ+0 Å\î.ì×´ƒ.ìØ´›.ü‚.0í¤À
global_rngÁ     DEFAULT_RNG_SEEDÁ > æ   with_rngÁ£impl FnOnce(&mut Rng) -> RÁ   try_with_rngÁ£Ã   
RestoreOnDropÁ'aÁrngÁcurrentÁ #ã seedÁ%  get_seedÁ'  º)  
alphabeticÁ+   alphanumericÁ-   lowercaseÁ/   uppercaseÁ1  choiceÁ3š3  digitÁ6  shuffleÁ8¥8  fillÁ;  ã ®>  
f32_inclusiveÁ@  °B  
f64_inclusiveÁD  choose_multipleÁFšF  ÅIIIIIIQƒSgen_u32ÁSgen_u64ÁU
WY_CONST_0ÁU
WY_CONST_1ÁSgen_u128ÁS gen_mod_u32ÁS gen_mod_u64ÁS gen_mod_u128Á mul_high_u32Á mul_high_u64Á
mul_high_u128Á rng_integerÁ` with_seedÁ`forkÁ`ú
cCHARSÁ` e´`º`æ `° iMULÁ`®`Ó lã`°`ë oš`¦ q´`Í
`Ü
`Î uš`ö w¥` `º z´`ÿ|impl RangeBounds<char>Á| | |  RNGÁ__rust_std_internal_init_fnÁ ƒ __RUST_STD_INTERNAL_VALÁƒ Ì Èˆimpl RangeBounds<u8>Áˆ  impl RangeBounds<i8>Á  ÎŽimpl RangeBounds<u16>ÁŽ  ·impl RangeBounds<i16>Á  Ôimpl RangeBounds<u32>Á  ¸impl RangeBounds<i32>Á  Úšimpl RangeBounds<u64>Áš  ¹impl RangeBounds<i64>Á  à impl RangeBounds<u128>Á   º£impl RangeBounds<i128>Á£  ¬¦impl RangeBounds<usize>Á¦  ó©impl RangeBounds<isize>Á©  ÿ¬ë¬ RngÁ¯
¯ˆ²×µ·Ö`¹§¹ `·¼ø¼ `¸¿Ê¿ `¹ÂœÂ `ºÅïÅ `óÈÄÈ `ÈËÿË `ÎÎÏÎ `ÔÑ¡Ñ `ÚÔóÔ `à×Å× `¬ÚÚ 

#
$
8
;
R
T
U
X
Y
Z
[
b
c
e
g
h
i
k
l
n
o
q
s
t
u
w
w
y
y
z
|
³
³
³


¸
¹
¼
¿
Â
Å
È
Ë
Î
Ñ
Ô
×
Ú
³¯¯°û±ˆ å™Í„´ÄÌ:Œ"
!ª
 "´
 ©â,ÆÚª,©8¿cÐìµßد#²¯´¯µ¯·¯Q¯³-Œ"¿cÐìµßØ Óž÷ö0xef6f79ed30ba75aÁù
·e

é
·e
¾á.á.aã.»Ì-IÜžB2®ù
ÕúeƒÛ¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙ Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙÍ Í± ù fa®®£°innerÁ¨it§ÅLS¶Íá ¢fa]!ƒù
ðe
é
ðe
ÐÍ/5ù
¦®e  ¥/
¿eù
íÔeù
!­e  š!!¬!#
!eM
À$eù
Ûôeƒš!!¬!åš!!¬!ŸS¥xlªÌ5-0x2d35_8dcc_aa6c_78a5Áɬ.–“K¸‹0x8bb8_4b93_962e_acc9Á$ÀFL¼F ¯ ÄFËFaüˆFC$­F$ŸFbÍ
4üçO7  46C 
Œ% PüÒOMd·%,ßO‰%‰%27b"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"ÁüêQA  Œ%%>6C·% ªRüÕQWf·%,âQì&ì&Ž2Ab"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"Áœªcdªc³c?#/@Û(? $«cM?Ù(o.y?Ù(  ¼c̤c ¤c€?Þ)&ü“c+jÞ)žcÞ)Û(Cœ´hd´h½h?Ù(Û(#/@Û(? $µhM?Ù(o.y?Ù(  ÆhÌ®h ®hð?,*üh+m,¨h,Û( CìÛƒ  Œ%%6C·% ÷ƒ üƃ3r·%,Óƒ¿-Š¿-4b"abcdefghijklmnopqrstuvwxyz"ÁìŸ ¿-%2·% ÞŸ ü­Ÿ3{·%,ºŸ¿-y¿-4b"ABCDEFGHIJKLMNOPQRSTUVWXYZ"Á ¯°%07> \]^¯°í¤,‡À³íðîìBoundÁ,ðç£ RangeBoundsÁ\÷¤#
ö°ªB Í
%PÜ
 'Pº )Pú
T˜ +P  -P¦  /Pº L 1PÎ 4× 3Pæ , 6Pö < 8P $ˆ ;P®·# >P° l™$ @P°Ž% BPÓ lð% DPë |ÿ& FPÈÍ ˆPŠ PÎÇ ŽP· PÔÅ P¸ PÚà šP¹ Pà  Pº$‚! £P¬,Ã! ¦Pó,†" ©Pÿ$É" ¬Юü.+ A simple and fast random number generator.Á/úü3_\ The implementation uses [Wyrand](https://github.com/wangyi-fudan/wyhash), a simple and fastÁü“30 generator but **not** cryptographically secure.ÁÇú # ExamplesÁÚú„Þ
Flip a coin:Áïú ```ÁÌû if fastrand::bool() {ÁÔ• println!("heads");Á } else {ÁÔ½ println!("tails");Áº7æúäê Generate a random `i32`:Áú<‹º7ü“  let num = fastrand::i32(..);Á<´º7¼úüÀ(% Choose a random element in an array:Áéúº7üõ  let v = vec![1, 2, 3, 4, 5];Áü–'$ let i = fastrand::usize(..v.len());Á¤¾ let elem = v[i];Áº7ÛúüßTQ Sample values from an array with `O(n)` complexity (`n` is the length of array):Á´ú<¸º7üÀ,) fastrand::choose_multiple([1, 4, 5], 2);Áüí)& fastrand::choose_multiple(0..20, 12);Á<—º7Ÿú£ú¬§ Shuffle an array:Á½úº7üÉ$! let mut v = vec![1, 2, 3, 4, 5];Áôî fastrand::shuffle(&mut v);Á<º7úü™C@ Generate a random [`Vec`] or [`String`](alloc::string::String):ÁÝúº7üé use std::iter::repeat_with;ÁúüKH let v: Vec<i32> = repeat_with(|| fastrand::i32(..)).take(10).collect();ÁüÙKH let s: String = repeat_with(fastrand::alphanumeric).take(10).collect();Áº7­ úü± SP To get reproducible results on every run, initialize the generator with a seed:Á
ú<‰
º7ü‘
(% // Pick an arbitrary number as seed.Á´º
 fastrand::seed(7);ÁÑ
úüÕ
41 // Now this prints the same number on every run:ÁüŠ &# println!("{}", fastrand::u32(..));Á º7¹ úü½ YV To be more efficient, create a new [`Rng`] instance instead of using the thread-localÁt—  generator:Á¦ ú º7ü² Ò?Ò úüÖ '$ let mut rng = fastrand::Rng::new();Áüþ OL let mut bytes: Vec<u8> = repeat_with(|| rng.u8(..)).take(10_000).collect();Á
º7Ö
úüÚ
da This crate aims to expose a core set of useful randomness primitives. For more niche algorithms,Áü¿EB consider using the [`fastrand-contrib`] crate alongside this one.Áút‰ # FeaturesÁ˜úüœ\Y - `std` (enabled by default): Enables the `std` library. This is required for the globalÁüù`] generator and global entropy. Without this feature, [`Rng`] can only be instantiated usingÁüÚ/, the [`with_seed`](Rng::with_seed) method.ÁüŠ_\ - `js`: Assumes that WebAssembly targets are being run in a JavaScript environment. See theÁüêKH [WebAssembly Notes](#webassembly-notes) section for more information.Áú¼º # WebAssembly NotesÁÒúüÖfc For non-WASI WASM targets, there is additional subtlety to consider when utilizing the global RNG.Áü½fc By default, `std` targets will use entropy sources in the standard library to seed the global RNG.Áü¤XU However, these sources are not available by default on WASM targets outside of WASI.Áýúü]Z If the `js` feature is enabled, this crate will assume that it is running in a JavaScriptÁüßeb environment. At this point, the [`getrandom`] crate will be used in order to access the availableÁüÅda entropy sources and seed the global RNG. If the `js` feature is not enabled, the global RNG willÁÔª use a predefined seed.ÁÅúüÉC@ [`fastrand-contrib`]: https://crates.io/crates/fastrand-contribÁü52 [`getrandom`]: https://crates.io/crates/getrandomÁahttps://raw.githubusercontent.com/smol-rs/smol/master/assets/images/logo_fullsize_transparent.pngÁ„â­Slè \]^¯°í@¤AÀ@í?ðî>ìÉ08ç£ â0,¤#
ö+ªB Í
* %PÜ
) 'Pº( )Pú
' +P & -P¦ % /Pº $ 1PÎ # 3Pæ " 6Pö ! 8P   ;P® >P°  @P° BPÓ  DPë  FPÈ ˆP PÎ ŽP· PÔ P¸ PÚ šP¹ Pà  Pº £P¬ ¦Pó ©Pÿ ¬PŽ”úˆ„¦}ruehWZ>A5»À¼¶%')+-/1368;>@BDFIˆŽš £¦©¬û@¯ 
û° 
a$Uá. â0\i¤# öªB T9[|J<¬_/lz"ܰ„¶ ¤â´œ‰üýC@ Initialize the `Rng` from the system's random number generator.ÁÅúüÍ)& This is equivalent to [`Rng::new()`].Á<Œ
œ‡üÊ*' Creates a new random number generator.ÁŽ
Ì<closure_kind>Á<closure_signature>Á<upvars>ÁÙ(åHåHæH AccessErrorÁ –úrì$šÙ0¬!ü´2 à ££à Íì¹` ÀÍì´`ÔÆÝ–"´` ݬËÝ´`“a˜"¹` ß
¹`´`± Ãbd_aý]•^²^¹`´`Ù( ͹`´`üÞX ´`Ö¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
¹`Ú_£Ã ä` îô`ÔôÞ–"´` Þ¬ùÞ´`d˜"¹`
¹`´`± ñY[_aý]•^²^¹`´`Ù(½bÓbÄ  ¡
 
!ª
 "´
 ©â,ÆÚª,©¡
©â,ÆÚª,©!"$² ”¼ ¼   ¡
Í  üå 8ßßÁ$"$”‹ à àÁ¬!# #
$8$˜ ´ž
üÔ ?< Initializes the thread-local generator with the given seed.Á¬!
%Í
Ä
%ý]&•^&²^&&%&Ù( ¬! ĶüÚ
QN Gives back **current** seed that is being held by the thread-local generator.Á¥
'Þ'ý](•^(²^(('(Ù(½i¬!¬œôó Generates a random `bool`.Áµ
)Á)ý]*•^*²^**)*Ù(½i¬!Ü‘üÒ41 Generates a random `char` in ranges a-z and A-Z.ÁÅ
+¼+ý],•^,²^,,+,Ù(½i¬!ì—üÓ96 Generates a random `char` in ranges a-z, A-Z and 0-9.ÁÕ
-Ä-ý].•^.²^..-.Ù(žn¬!Ô“üÝ+( Generates a random `char` in range a-z.Áå
/½/ý]0•^0²^00/0Ù(žn¬!Ô‰üÓ+( Generates a random `char` in range A-Z.Áõ
1³1ý]2•^2²^2212Ù(žn¬!üÐküÉ.+ Choose an item from an iterator at random.ÁøúüüNK This function may have an unexpected result if the `len()` property of theÁüËJG iterator does not match the actual number of items in the iterator. IfÁü–/, the iterator is empty, this returns `None`.ÁšÛ¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙ›uÈLš44Íì›u ÞÇL›uÃM›uÉLŒ©
3uù8:Ë3ý]5•^5²^5535uÙ(½i u›uü–üâ1. Generates a random digit in the given `base`.Áúü˜<9 Digits are represented by `char`s in ranges 0-9 and a-z.ÁÕúüÙ2/ Panics if the base is zero or greater than 36.ÁÛ(
6baseÁ$£Å6ý]7•^7²^7767Ù(žn Û(ü„"ôÛ Shuffles a slice randomly.Á%á á
¥¬!¥99 Íìóz 
8ózž,–8ý]:•^:²^::8:ózÙ(¸i  òzìüÏ'$ Fill a byte slice with random data.Á5â â¹%¬! 
;ž,®;ý]<•^<²^<<;<Ù(¸i  ¹%¤Ä Ù Á ß î , à8¿ á& â8¯ã$ å, ç8Óè& ë8¯ì*ð ó ¾+ ý þ 8Óÿ ƒ, 8Ó<ú< Panics if the range is empty.ÁüŸ!+ É Ê Ñ8Ý8Û8 ß, â8¿ ã ä 8rangeÁ& ê88â0 ü, ý8¿ þ ÿ(, 8¿  ˆ ¸8­ D– ž ® Ÿ8½   ¡8½ £ ¤, ¥8¿ ¦ § ­8¼% ¿œ°#ü‚#-* Generates a random `f32` in range `0..1`.ÁEÞ)
>Ó#>ý]?•^?²^??>?Ù(½iÞ)¬!ì’$üã#.+ Generates a random `f32` in range `0..=1`.ÁUÞ)
@¿$@ý]A•^A²^AA@AÙ(Ѓ¬!œ‡%üÙ$-* Generates a random `f64` in range `0..1`.Áe,
Bª%Bý]C•^C²^CCBCÙ(½i‘,¬!ìé%üº%.+ Generates a random `f64` in range `0..=1`.Áu,
D&Dý]E•^E²^EEDEÙ(Ȇ¬!üø&Qü°&GD Collects `amount` values at random from the iterable into a vector.Á›u%ªBªBö­BbufÁ÷<®B÷<9)
-ÜnLåuçEçEèEGlobalÁ ¿±‡§í#šGG‡v '—vd'
FusourceÁ4 'amountÁ4«'.0,Ù'Fý]H•^H²^HHFHuÙ(½iƒ‰›u %üî(ì×´ž(ìØ´¶(ü(0úunknownÁ¬Ó(ü”(Vü([ü‡(f\ñ( Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙ
Iü˜))l´)LË)$×)4Ý)\î)4ó)”ƒ*<Ž*Tÿ”äRÙR´ÊüýHE Clones the generator by creating a new generator with the same seed.Á,Íã ãQ ÓQ
RD TUXYZ[äÊ ä äÛ(S Õ S
TäÂ!<Å!å åS Í!S
U$Ò!¬¾#TÄ#¬õ#Tû#ôˆ&D&æ æS ”&S
X$™&ü¶'(\¹'ç çÛ(Û(S Å'S
Y$Ê'¹ Ð'üÞ+(\á+è èS í+S
Z$ò+¹ ø+ü‡0+dŠ0é éS —0S
[$œ0¹ ¢0ü¢4&d¥4Û(Û(Û(
\¬ ²4­ º4ü£5&d¦5
]¬ ³5­ »5ü§6*lª6