Files
boc/aamos-ledger-rust/target/debug/deps/libsqlx-d0367d2d44624f13.rmeta
T

284 lines
126 KiB
Plaintext
Raw Normal View History

rust
÷#rustc 1.96.0 (ac68faa20 2026-05-25)ÁÀ뉊]!ÜÛê(¹Þ—šên-5be7b69c3ff7b5b8ÁíàÄTËŸ ÜJîÄ)'ß\¥!-3d1337db07d0b3aeÁ¤²XctÔ'ÐÓ©z¨ɽÓ-a4945860e1c53b00Á¤°ð ¾ä-±($²ï=©Ã-7e98a21bfd32b0edÁòÖÀ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Á sqlx_macrosÁì?R UøÞÀm»-d670e6ffa45ac49fÁ sqlx_coreÁ›õâÝ0ŸôúÏÊÇÉB-67f1f306fa67a891Á futures_coreÁJäI@fÄ
×ß›ë:²-b2a01c322c9ccc85Á futures_utilÁ†˜ö‹Ž݇äý·÷ ³ý-09c32330bf3a91c6Á futures_taskÁurªVŠˆ* ¨ªoèÿÅ7-8cf213f034b18043Á futures_sinkÁ‚BÛ˜õµËUæh—òË…-40585509b14a1deaÁpin_project_liteÁ`b#ÒÿùM.è}²ð@ñ-7ea160027a0fdab2ÁslabÁ­GqåI©2梸7•,7ú-65d8f4f9212282e4Á
futures_ioÁG™êéå&í“Êþ(ã½-10d9063ddf3dea8bÁìÐâà`éÙBÞðg+-67d59ffd555808adÁevent_listenerÁhWMûß™MEû†´Û-890d73c4083e87cdÁparkingÁ5׫M Ư³yŸø-800d65fb6d967e86ÁeitherÁG{²štwÍÊ^Ö
8%¥È-8d48f10ca5383686ÁserdeÁŸÿ\.©åý¼ Òš-050607dac4fda6a6Á serde_deriveÁ,w|êñ]ù¿¥­C£ð-975c43f96d83014eÁ
serde_coreÁ_³-À Ëï ¢ÖzéÌ»S-cb84d8e698130faaÁcrossbeam_queueÁµ…·†°ÊAi+{Çð»¼-bf750b88358ec6d3Ácrossbeam_utilsÁ>4¬ýc¾t×¢Ž-7å)-6f99695f854306e2ÁtracingÁ0½Ñ‰¼ï^(¡cB„z-0fb8af102453bef1Á tracing_coreÁ½†ÍÁ~ÙnÙþøeGC-b5138812c9e8341fÁ once_cellÁ4¤83æl0è{—tE-67622b8a8d4197b3Átracing_attributesÁÿS:FN¢×D2pª`;¨-40899a47d4b3db36ÁlogÁ|üç˜ï%l2TÝïáØü-fe03740d56b0bbefÁurlÁ=v—Ç„IILÀf}úY-36cc640e1cc59a75Áform_urlencodedÁ:³ A! »ÓpèÚðé@-b151d3846c59082bÁpercent_encodingÁ
1šŒcL¸Ynº(©±Û-bcbb53d89b814310ÁidnaÁ üdÅ$.ÌÙ},Ê|ßùÌ-8d4389d147778ba2Á idna_adapterÁĆÿÐz0öàQ3|ðË?-8a0b89d6617a1415Áicu_normalizerÁÎñ51.Z§Ë­ž-”Î-c3235b1b9f377fe1Á icu_providerÁ«Ij-²KÃÓûÙ^-d781c4307358ffc0ÁzerotrieÁóôö¬µŠKì|t§×(c-2e59e106bf8bcf22Á
displaydocÁ©$-.ÿæ§ï=[œiF-53df79815c011341ÁzerofromÁ“zÂÚ¤‰ÔžˆÁÕÁpâ-ebe6d0d4f33b764dÁzerofrom_deriveÁŸæþÇŽá2?M¥e (-abe85a41d9dcc735ÁyokeÁ0²Àë[éQ¿ d|Ù‘õ-e00e8f69447c8036Ástable_deref_traitÁê7#JÙ iÕ‰~òÏ-e121373445e25e3fÁ yoke_deriveÁ×ã„Ô„ýT·+CIƒ•sÙ-ad663b8de2c8c776ÁzerovecÁþzôs3û]0oøºÑê±-05e7744103b7d51dÁzerovec_deriveÁ£½+d“ð΃-m*¸]-09ac241eaa4a8700Á writeableÁFLÛ
9>2!fiQxMíHn-0dc003cbca78f018Áicu_locale_coreÁ< &üþsímÿõf§§-cbe933ed93688d5eÁlitemapÁTøUs•a÷á¶…ø¤½-0ffcf6145090791aÁtinystrÁ1
ðìñ3Ðï4;µQ-98301aa19023b8fcÁicu_collectionsÁm˜ÎÑh¦13ÍO4ûç~2-fb1fab0c98bb3350Á
potential_utfÁä/•!zëõƒ‡ƒê^õøÔ-ea64bb8c803395e9Á utf8_iterÁ2ÞàN>Y‚ž*GF2W~üŠ-65437b4baeaecf78Áicu_normalizer_dataÁS¯¸[±¨À”2tw2)-edeec04f49f7a488ÁsmallvecÁ½™îg—ÝÚt´±’ª®b-e608f34be3f30508Áicu_propertiesÁôºG$Ä¥ÐÅXnj7-cddb92d57ead7acaÁicu_properties_dataÁØ”Ä^$ÎÉŽæI-853f209e437288bdÁ
serde_jsonÁÆÑ.ä­pZàTØ}KPI-f5688111e76a40c7ÁzmijÁ¬ ǸÊh<on¿‚]š1ƒ-e65200c02ad231e6ÁitoaÁ®æ
9H}>xû, @º‡I-c4c95ef3ef39a8c3ÁuuidÁÉÌ), -PUÛÜ›4Þ-b5bdb6ac5933525aÁ getrandomÁç.o
å¥zÇ7f-3d09f4a1661db223Á®«ýºõó¿àlé ,Z¶÷k/-c82bfbac630248a2ÁÚ+z˜ÖËó>zj–„÷-8f89ea8b6e77f2aaÁchronoÁãàÌ33gl¢f|jmö-402a86b5755fd164Á
num_traitsÁßåô9}E¦;sðƒ*˜Äˆ-ba46dc99727f6563Áiana_time_zoneÁ §¼
Œ8r }/zèjŽôì-4eaba4969283ffdfÁhashlinkÁZ8Q¥èõÄ_·èfp7…\e-a7e4f739feb47dc1ÁÐ)é\2b;êX±S\Ž -aab585db90c732eaÁallocator_api2Á –ýݤ5úe¸ ÊxväÏ-ec9b304a0bfdb8dfÁ
equivalentÁ¡ Zª÷PQØÊ¸+2×I-7507eaa528d55517ÁfoldhashÁn´áÇ亜=Av‡-pàÕo-032a5228e2caa585ÁbytesÁ^ÍÏ8+än÷+j-122b7cf70504f583ÁtokioÁ·ØÃýø‘f»¹é딄-087392fa1a31dd29Á parking_lotÁŠÝ2.eÒõ²òêÕ†-689a5c8a340e7370Álock_apiÁð¹f^ô}¬öFº™”z¨ò-3f3c7099ed5d8d40Á
scopeguardÁ\…ŒÞ=0ÔB­ïÅA&¹-ccb5054c1d5044beÁparking_lot_coreÁÁ¶+¿™-h¢¼S¯Œ1\-5d7acafd3d98b936ÁmioÁÄ©aZ¦ê@Þ'íˆA-d6954a24ebe3831fÁ tokio_macrosÁóÁm¹^E¼>ŽCê
z3-074a4ab5bbda1a72Ásocket2Á/Æm·}ï3rÑ®‚fqB-f5f25707507e8a7cÁsignal_hook_registryÁ‹A´Ùqà’D;i-a201455211635890ÁerrnoÁ—ë@\ZéíJ÷MˆI-14c535580c974ea2ÁrustlsÁUI1y.Íí¦½ùyo¯n 0-a1cfb249f09d79e3Árustls_pki_typesÁ÷/ŠNàEÀ~f‘´,=N-49c3c284b93f29dcÁzeroizeÁ…îÁ#pOŠùä­»WÈj-ab1fd11939c9c032ÁringÁrh“æÈ;a²”Ë)&
ð-9cf4a12d88b74bf4Á untrustedÁDçWì\ðžµV
&Bú/-a5c60ec3711e6e4fÁRÚE®RÄÿ$·Îù-1a378949ea4a11a7ÁwebpkiÁ "µ~½VŽäk绬Ü@Eâ-0e9dc2433ebe2048ÁsubtleÁŒ2b9ƒñÞéW©Ìà X/-d16c11b7355c0817Á¹
m™ºðT)*Ñ™ÿLI [M[-d8a8a6d92cebf6caÁdigestÁ†§o`Qžðrøš”Y³KË-156b4cbafca24b37Á
crypto_commonÁ-)þ¡ ¤ðô¿¶r_„-b8ab09f8a062f365Á
generic_arrayÁ€Ìºˆ¾[ȨûÜå[ {ë-00b5cb6878626fbeÁtypenumÁ*¸ÐÀùÍk»½e6;-17ae62b50937f0b6Á block_bufferÁ“0ÿçpÅé¦x4-77bdbc66f1284a1aÁbase64Á-ök¶¯€ñiBždòçB¿-12c1f757c45e073bÁindexmapÁ¢°ÿÉc(ã–'øùZÉÝ£-bf96270c5ea4036cÁÐñÒ¬ÕÑ=nsùV42íi'“-2ffaac140a2b5d48Á thiserrorÁ¼Rû¯MI—As.¶ÒÙ¦-d7019a58c4be6017Áthiserror_implÁ
²,v€ϸ6»˜-248901177889560cÁ webpki_rootsÁïbî>9"¸¤œyê0×Y-e7e88eed0be4870bÁí,ñ0!$ÅÀlëoX¯Ñ-4b81c59bac4436e9Á
sqlx_postgresÁÖ­?´ —Ëßw¢-d81c91d9b8c07da4ÁhkdfÁfNžww3/ «*lgf-e9a33a1bc0a8a9d8ÁhmacÁÍBÇŒº^—»èeÑÉWIOD-919974fb59bcd563ÁrandÁ«µ|”A [OìÛ®;-3bbd585ba3da2bf1Á rand_coreÁdêä¡lìL·p^˜Œ0Út´-039f6d921c0ed250Á rand_chachaÁþàr–ÓIž7´}h¥ã-6532194ffe05c06fÁ
ppv_lite86Á©;Îî‹jQ(*»ìY2DÎ-3f12509c58b93de6ÁzerocopyÁ©pµA4ÿäK6·kñ-686953f627c37fa6Á
stringprepÁþG?¿}ãvê³rŠ7¯ñ-f5486cc618e19519Á unicode_bidiÁ³£F´uÏ9ºsÒ`n-Õ-df9bbcd7c4e4bac6Áunicode_normalizationÁ:]á#—kŒ'^U'Q-def36fc1e20b201eÁtinyvecÁòÚÅgÉl m©Æys-eecc365b0306dff7Átinyvec_macrosÁ
ÿ˜x üäé÷
Ìø‰­K-608121422b928643Áunicode_propertiesÁÁ{œµžÙÁXYvü0ÜÌ4-a511cfd776fc7110Áfutures_channelÁHCi[‚ÿTÆD µ«;-a679c9e2e2512117ÁatoiÁ­øC1,Þ‚š;ÏHvã0À-4e578245f1f8cde7Á byteorderÁª¡M‡(§EÃŒ c=ùE”Z-44068f628772cd9fÁmd5Á½Këãz|KÞ¶þ::-571ef650b7bfc28fÁbitflagsÁÊ•09³b@{e|ШŸi-e5412d4fc4957378ÁhomeÁ7)J$‡“H¬Úå(*9é-dfb6fb4d0804494bÁwhoamiÁ”;g3K·ÀÖÏaIæN#9÷-b528be9c760fdf40ÁhexÁÔ;»LâT¨DÅòÚáÕ]-4653b467cd4ca887ÁcrcÁ×´bî~È2Mí³¡jæu`-aa45429d9c1c1df2Á crc_catalogÁ£7rsî$ÇöÅS" €#nû-c94697fef4bf6442ÁdotenvyÁ_,ÞÀ^øO)tjˆÎUÖ-a8a9810542ad9b8eÁmysqlÁ,Ä
»§7ŒÎ MySqlÁ,Ë
»§7MySqlConnectionÁ|Ò
»§7>@
MySqlExecutorÁlã
»§7_a MySqlPoolÁLò
»§7|~MySqlTransactionÁ„ý
»§7 ¢sqliteÁ4â»_sqliteÁœçSqliteÁ4ê»ò8SqliteConnectionÁ„ò»ò8@BSqliteExecutorÁt„»ò8bd
SqlitePoolÁT”»ò8SqliteTransactionÁŒ »ò8¥§À 
  
 !"#$%&'()*+,-./0123456789:;<=>?@ÄABCDEFºJJJJJJJJJJ J
J J J
JJJJ reexportsÁ\\Jinstall_default_driversÁ_ONCEÁ_ macrosÁbqueryÁbquery_uncheckedÁb
query_fileÁbquery_file_uncheckedÁbquery_asÁb
query_file_asÁbquery_as_uncheckedÁbquery_file_as_uncheckedÁb query_scalarÁbquery_file_scalarÁbquery_scalar_uncheckedÁbquery_file_scalar_uncheckedÁbmigrateÁty_matchÁpp same_typeÁr¥pWrapSameÁt
t¥t¦tˆtpz¥z¦zæ p WrapSameExtÁ~WrappedÁ~ wrap_sameÁp¥¦–Ap¥¦Ap MatchBorrowÁ
¥¦ˆp¥¦æ pMatchBorrowExtÁMatchedÁ match_borrowÁp'aÁÕBpüBÕBpœüBœÕBpŸüBŸÕBp¢üB¢ÕBp ¥üB¥ÕBp
¨¥¨ÕBp «¥«ÕBp ®¥®ÕBp
±¥±ÕBp´¥´ÕBp·¥·ÕBpº¥ºÕBp½¥½ÕBpÀ¥À¦ÀÕBp
conjure_valueÁÄ¥p
dupe_valueÁÆ¥
spec_errorÁÈÈÈÈÈÈSpecErrorWrapperÁÎ
ÎÎˆÈ SpecErrorÁÒÒ__sqlx_spec_errorÁÈÕÕÓF× ÈÙÙÓFÛ ÈÝÝÓFß ÈááÓFã ÈååÓFç È __spec_errorÁGtypesÁëëencodeÁîîîîHdecodeÁôôIò=øøøøø¥ þþþþþþþþþþ þ
r
r
}


¨
«
«
®
±
±
´
·
·
º
½
½
À
Æ
Ô
Õ
Õ
Õ
Õ
×
Ù
Ù
Ù
Û
Ý
Ý
ß
á
ã
ç
~“Ò~ttu¼@xˆpyp ¬î04Sñ¥Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙ¦~ 8ttu¼@xˆpyp ¬î04Sñ¥¦ŠìAˆpŽp O1_yY (!Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙ üBÛ¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙúHúHßûHÁ‘4Ý­f‰úM÷ŠìAˆpŽp O1_yY (!Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙ üB
Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙªBªBö­BbufÁ÷<®B÷<9)
-ÜnLÔPçEçEèEGlobalÁ ¿±‡§í#ŠìAˆpŽp O1_yY (!„NÛ¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙ üB—OŠìAˆpŽp O1_yY (!ˆPÛ¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙ üBQŠìAˆpŽp O1_yY (!ÉN—OŠìAˆpŽp O1_yY (!ÍPQŠìAˆpŽp O1_yY (! 8´M´MŠìAˆpŽp O1_yY (! 8 8¥áVŠìAˆpŽp O1_yY (!´MˆVŠìAˆpŽp O1_yY (!áV×VŠìAˆpŽp O1_yY (!Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙˆVÛ¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙ´MŠìAˆpŽp O1_yY (!Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙ×VÛ¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙáVŠìAˆpŽp O1_yY (!‰YÁXŠìAˆpŽp O1_yY (!ÜZ”Z 8ŠìAˆpŽp O1_yY (!´MºMÒ 8 8 8 8ÎÎÏFш ƒ'ök*À>Ï]Ò 8 8 8ÎÎÏFш ƒ'ök*À>¡^Ò 8 8ÎÎÏFш ƒ'ök*À>í^Ò 8ÎÎÏFш ƒ'ök*À>³_ÒÎÎÏFш ƒ'ök*À>ó_t…
œŸ¢¥¨«®±´·º½À
Õ
Ù
Ý
á
åÎ~ ÒgrüÚ&ý ¡LîÁaö_1Á_2ÁJ­
}üÞ Ottu¼@xˆpyp ¬î04Sñ¡LìL ìL_argÁnùž"#ù#ž"#
¶cÔœ  
4ù@#á#
ÜWV$ ¼ üç
V
¨d
qäÈäÈ ArgumentsÁæÈtemplateÁ `çÈÀ `üöMõô]Tdgž«cãcé¨dÄüñ
* ŠìAˆpŽp O1_yY (!¡LìL¡üÁ
`¡LÝe
¡L Ì
åbÒ
¿_uÁIùž"#ù%ž"#«cÔ–½c -ù@#á#ãcL! üÞY¨d¨dmÅd§N«cÃãc¨dsùý*#Áý#
àW#½c
.Äüç/¡L Pøh`ùý*#Áý#øh#½c
+Æü˜2¡L ¸Áa­Vý3øhsŒ¨ØÏ] ]žBoxÁ¡ˆˆ¢ˆl }.xϾ ÌìÝQ¸a ]ÿj¿×ü®ÝküÜA      ] =äjðµÏ]
ªÏ].#'ÿj¹ØWÿj« äjo ] ©žj¡ˆˆ¢ˆl }.xÏÏ]ÝQ³Ï]Ͱ[ÜílØÍmÿjßÔ‰}Ü¡^õjò]ÿj¸aò]ÿj©Ûüšýnü½A    ò],­ :Ün¡^|L
˜6¡^.\´$
è—OÿjH4 ¢£8ÜGÿjŒ Ün_ò] Š—O¼ ¡^Ú°ŽŠpäµp¾ò]ò]šüð0àí^õj¾^ÿj¸a¾^ÿjßüöŸ®rü¤A   ¾^,” 7r '„í^ù'„#( %  í^
Èbí^ U %O ‚È‚ÈArgumentÁ„È´ÀbökÏ®ÝWj´ 
Ÿ ÔP¾ ÌÑ
«cÙtÙt
þ 
ùð"=ð"
É,ù„#(*ùÇ"qÑÇ"
 —Oùâ"U-Üô$‰µpG4‰ ŽvàÜã
ÿjó r«¾^ ñ—OÉ—O±ÅdëÇs$Çs?€tÙtB€t$ÓtR Úw]Çse°lÀ}ÀAÝsv€u¢Ðu€vjµp=¾^¾^$üÙ H« ä³_õj„_ÿj¸a„_ÿj§
ãüßȧyü A  „_ 4ŠyŒ
Ôÿ Äÿ 
«&³_Ð)ÿ ù)„#( !
 ½c
Æb½c
Q
%O €t
^ f ÔPÙt  ˜
«cÙtÙt Å ÊÓùð"=ð"Ðuù „#('ùÇ"qÑÇ"€vùâ"U'üÞ C$
µpB4
  
¡
 Oä^ ÿjÝ  Šy„_Ú —OÄ—O²ÅdæÞzáÞzø½c#Úwù€tÛ±{ €xÞz_eÁeÀ3À? zôz2Þ{^Ðu€vdµp=„_„_#üØ 3þ èó_õjÄ_ÿj¸aÄ_ÿj çüÞ
³øüŒ A Ä_
 1ÝüÝ ' %½cüÝ .$… 
è½cÿj54…  Š  èÿjÜ  Ý*Ä_Ù ½c©â}O±Ä_Ä_ŒÌ‚  t¡LìL u,¢b7 PhantomDataÁFu\»Ÿ¡Lo€‚Fu\»ŸìL¤äß  ¡LìL!Š.Ýe9ò‚AªƒIPô‹ Îó_Ï(Ä_3ó_:AøJbpÈëîôþÀG<ÇÑcLï¡
IntoArgumentsÁlúªColumnÁ4¥ª  ColumnIndexÁ\ȯ ConnectOptionsÁtõÜ
ConnectionÁT…½ databaseÁ$°

DatabaseÁD¶
DescribeÁDÞÊ ExecuteÁ<†ö
ExecutorÁDÉ
FromRowÁ<· ܆
EpoolÁ$Ú¸PoolÁ$àí__query_with_resultÁœ¥ ò=,Õ  ò=c
query_withÁTÜ ƒ À>D‡ ØÀ>g
query_as_withÁl Ý
query_builderÁ$Äô QueryBuilderÁdʃ __query_scalar_with_resultÁÔ¥ ©!š?dã ž#š?kquery_scalar_withÁŒñ £$raw_sqlÁ<¢ Ç&RawSqlÁ4« Ã'RowÁÌ ø( StatementÁLï  ) TransactionÁ\
ù+TransactionManagerÁ”¨
ñ,TypeInfoÁDÛ
-ó$ÿ
Ç.ó FValueÁ,  0ValueRefÁD§ ¬1EitherÁ4Å 2errorÁ$ø ]4ErrorÁ,þ ³5Í4… f6„@<¾ ²7„@opostgresÁD˜u9 PgConnectionÁd¢:
PgExecutorÁT°uˆ;PgPoolÁ4¼u†<
PgTransactionÁlÄu=PostgresÁDÓu>æ>AnyÁ¡Î%AN‘ŽÏ%AN AnyExecutorÁ\¦ÛBQÄ\‰C
GtestingÁ<ŽäH
test_block_onÁl¾ ÍIþ=|‘„d”>T¼’e¥>¤Þ–fÏ>lðÚhã>”ßßiü>¼øäj­?ŒólÅ?´‡ùmâ?ܦÿnîGdÁ é__rtÁ$ÑêEncodeÁ4صóðéóòDecodeÁ4Å!É÷õš‘÷öAnyPoolÁ<†Ù@]
AnyConnectionÁl°Ê%@«&øþü' þThe async SQL toolkit for Rust, built with â¤ï¸ by [the LaunchBadge team].
See our [README] to get started or [browse our example projects].
Have a question? [Check our FAQ] or [open a discussion].
### Runtime Support
SQLx supports both the [Tokio] and [async-std] runtimes.
You choose which runtime SQLx uses by default by enabling one of the following features:
* `runtime-async-std`
* `runtime-tokio`
The `runtime-actix` feature also exists but is an alias of `runtime-tokio`.
If more than one runtime feature is enabled, the Tokio runtime is used if a Tokio context exists on the current
thread, i.e. [`tokio::runtime::Handle::try_current()`] returns `Ok`; `async-std` is used otherwise.
Note that while SQLx no longer produces a compile error if zero or multiple runtime features are enabled,
which is useful for libraries building on top of it,
**the use of nearly any async function in the API will panic without at least one runtime feature enabled**.
The chief exception is the SQLite driver, which is runtime-agnostic, including its integration with the query macros.
However, [`SqlitePool`][crate::sqlite::SqlitePool] _does_ require runtime support for timeouts and spawning
internal management tasks.
### TLS Support
For securely communicating with SQL servers over an untrusted network connection such as the internet,
you can enable Transport Layer Security (TLS) by enabling one of the following features:
* `tls-native-tls`: Enables the [`native-tls`] backend which uses the OS-native TLS capabilities:
* SecureTransport on macOS.
* SChannel on Windows.
* OpenSSL on all other platforms.
* `tls-rustls`: Enables the [rustls] backend, a cross-platform TLS library.
* Only supports TLS revisions 1.2 and 1.3.
* If you get `HandshakeFailure` errors when using this feature, it likely means your database server does not support
these newer revisions. This might be resolved by enabling or switching to the `tls-native-tls` feature.
* rustls supports several providers of cryptographic primitives. The default
(enabled when you use the `tls-rustls` feature or `tls-rustls-ring`) is the
`ring` provider, which has fewer build-time dependencies but also has fewer
features. Alternatively, you can use `tls-rustls-aws-lc-rs` to use the
`aws-lc-rs` provider, which enables additional cipher suite support at the cost
of more onerous build requirements (depending on platform support).
If more than one TLS feature is enabled, the `tls-native-tls` feature takes precedent so that it is only necessary to enable
it to see if it resolves the `HandshakeFailure` error without disabling `tls-rustls`.
Consult the user manual for your database to find the TLS versions it supports.
If your connection configuration requires a TLS upgrade but TLS support was not enabled, the connection attempt
will return an error.
The legacy runtime+TLS combination feature flags are still supported, but for forward-compatibility, use of the separate
runtime and TLS feature flags is recommended.
[the LaunchBadge team]: https://www.launchbadge.com
[README]: https://www.github.com/launchbadge/sqlx/tree/main/README.md
[browse our example projects]: https://www.github.com/launchbadge/sqlx/tree/main/examples
[Check our FAQ]: https://www.github.com/launchbadge/sqlx/tree/main/FAQ.md
[open a discussion]: https://github.com/launchbadge/sqlx/discussions/new?category=q-a
[Tokio]: https://www.tokio.rs
[async-std]: https://www.async.rs
[`tokio::runtime::Handle::try_current()`]: https://docs.rs/tokio/latest/tokio/runtime/struct.Handle.html#method.try_current
[`native-tls`]: https://docs.rs/native-tls/latest/native_tls/
[rustls]: https://docs.rs/rustls/latest/rustls/
ÁøJbpÈëîôþÀŒGÑcŒ¡Õ„ªó„yª Š…n¯ ¦…`Ü
Å…V½ à…N

ù…F
’†>Ê «†7ö
Æ/É
܆( ܆9
E„‡%¸™‡!í®‡ ò=
  ò=cð‡ ƒ À> ØÀ>g©ˆ÷ ÝLjêôåˆÞƒ ‚‰Ä ©!š?à ž#š?Ókˉ³ £$퉬 Ç&…ЦÃ'œŠ£ø(°Šš )ÊŠù+æŠ}ñ,‰‹u-ótÇ.ó F‹p0Ø‹h¬1ñ‹b2ˆŒ]]4ŒX³5ÍWf6„@V²7„@foáŒOu9ùŒC:9uˆ;±3u†<È&u=æu>æ/>‘ŽÎ%AN‘Ž0Ï%AN½ŽÛBQÄC
GýŽ äHü ÍIþ=ûd”>ùe¥>÷fÏ>õhã>óiü>ñj­?ïlÅ?ímâ?ënîGééÓåêéßµóðéõóòš‘ÚÉ÷õš‘ð÷öË‘ÔÙ@]æ‘ÇÊ%@^¦©¬ܳ¤¤ØšÌ’uôµ`¬ÝHK36œš$ìÉœðòõßâä¢Ñ³¥¨üþ#Œ„Â`cœñY\47Ä© l´

üð1ê¼Éàã·º ©¬˜œ¼ ŽüÙ |´‚
gjJMôÅ
;´í
1 Œº ó„å ä ÖÙËΔ³ Å$ª|knSV@CT†L“(+úýäøðŒ¼÷”ƒæä¯ÏüFC **SEE DOCUMENTATION BEFORE USE**. Runtime-generic database driver.Áø
©üG1©
The underlying database drivers are chosen at runtime from the list set via
[`install_drivers`][crate::any::install_drivers]. Any use of [`AnyConnection`] or [`AnyPool`]
without this will panic.
It is recommended to use [`install_default_drivers`][crate::any::install_default_drivers] to activate all currently compiled-in drivers.
[`AnyConnection`]: sqlx_core::any::AnyConnection
[`AnyPool`]: sqlx_core::any::AnyPool
Á»º¼Îî\_OnceÁ$‰ï8JKinstall_driversÁ|° L‘ŽàÎ%N‘ŽÏ%N AnyArgumentsÁdåËOAnyConnectOptionsÁŒóÞ%P½Ž\†ÛQAnyPoolOptionsÁt“ÚRAnyQueryResultÁt£å%SAnyRowÁ4³ì%T AnyStatementÁd¿ñUAnyTransactionManagerÁ¬ÍV¿ÃV AnyTypeInfoÁ\ä†&WAnyTypeInfoKindÁ|ñ&XAnyValueÁDÐ&Y AnyValueRefÁ\ŒÖ&ZAnyKindÁ<ÊÒ%[|~Ûü˜'Á¹qtehLO36"% ëíÁÃ¥§xz¼ºhÄÔË‘Ù]æ‘Ê%^¼ö9ì ü¤ üÂKH Install all currently compiled-in drivers for [`AnyConnection`] to use.ÁŽúü’\Y May be called multiple times; only the first call will install drivers, subsequent callsÁÄï will have no effect.Áˆú ### PanicsÁü›OL If [`install_drivers`] has already been called *not* through this function.Áëúüï41 [`AnyConnection`]: sqlx_core::any::AnyConnectionÁ¼« ¸a
_ŒË Jï8ï8¡Áð8innerÁé8ãTPàVçaB
_<closure_kind>Áa<closure_signature>Áa<upvars>Áaa_a¸a¸a¸aT»å=”úÔô4“””zü@= Statically checked SQL query with `println!()` style syntax.ÁAúüEeb This expands to an instance of [`query::Map`][crate::query::Map] that outputs an ad-hoc anonymousÁü«jg struct type, if the query has at least one output column that is not `Void`, or `()` (unit) otherwise:Áú”š ```rust,ignoreÁÄ­ # use sqlx::Connect;ÁüÆ?< # #[cfg(all(feature = "mysql", feature = "_rt-async-std"))]ÁĆ # #[async_std::main]ÁüŸ*' # async fn main() -> sqlx::Result<()>{ÁüÊSP # let db_url = dotenvy::var("DATABASE_URL").expect("DATABASE_URL must be set");Áü¤ZW # if !(db_url.starts_with("mysql") || db_url.starts_with("mariadb")) { return Ok(()) }ÁüÿC@ # let mut conn = sqlx::MySqlConnection::connect(db_url).await?;ÁüÃ,) // let mut conn = <impl sqlx::Executor>;ÁüðLI let account = sqlx::query!("select (1) as id, 'Herp Derpinson' as name")Áì½ .fetch_one(&mut conn)Á„Û
.await?;Áìúüð>; // anonymous struct has `#[derive(Debug)]` for convenienceÁä¯ println!("{account:?}");ÁüÌ1. println!("{}: {}", account.id, account.name);Áþúd # Ok(())Á< # }Á,—ÿÐüIF # #[cfg(any(not(feature = "mysql"), not(feature = "_rt-async-std")))]Á”ç # fn main() {}Á ```Á úü† HE The output columns will be mapped to their corresponding Rust types.ÁüÏ 85 See the documentation for your database for details:Áˆ
úüŒ
(% * Postgres: [crate::postgres::types]Áüµ
" * MySQL: [crate::mysql::types]矯
SP * Note: due to wire protocol limitations, the query macros do not know whenÁü¬ WT a column should be decoded as `bool`. It will be inferred to be `i8` instead.Áü„ )& See the link above for details.Áü® $! * SQLite: [crate::sqlite::types]ÁÓ úü× \Y **The method you want to call on the result depends on how many rows you're expecting.**Á´
úü¸
ro | Number of Rows | Method to Call* | Returns | Notes |Áü«ro |----------------| ----------------------------|-----------------------------------------------------|-------|Áüž¢Ÿ | None† | `.execute(...).await` | `sqlx::Result<DB::QueryResult>` | For `INSERT`/`UPDATE`/`DELETE` without `RETURNING`. |ÁüÁ | Zero or One | `.fetch_optional(...).await`| `sqlx::Result<Option<{adhoc struct}>>` | Extra rows are ignored. |ÁüÆÂ¿ | Exactly One | `.fetch_one(...).await` | `sqlx::Result<{adhoc struct}>` | Errors if no rows were returned. Extra rows are ignored. Aggregate queries, use this. |Áü‰š | At Least One | `.fetch(...)` | `impl Stream<Item = sqlx::Result<{adhoc struct}>>` | Call `.try_next().await` to get each row result. |Áü§]Z | Multiple | `.fetch_all(...)` | `sqlx::Result<Vec<{adhoc struct}>>` | |Áúü‰[X \* All methods accept one of `&mut {connection type}`, `&mut Transaction` or `&Pool`. Áüåvs † Only callable if the query returns no columns; otherwise it's assumed the query *may* return at least one row.ÁœÜ ## RequirementsÁüð^[ * The `DATABASE_URL` environment variable must be set at build-time to point to a databaseÁüÏKH server with the schema that the query string will be checked against.Áü›b_ All variants of `query!()` use [dotenv]<sup>1</sup> so this can be in a `.env` file instead.Áþúü‚vs * Or, `.sqlx` must exist at the workspace root. See [Offline Mode](#offline-mode-requires-the-offline-feature)Á„ù
below.ÁŠúüŽ_\ * The query must be a string literal, or concatenation of string literals using `+` (usefulÁüîda for queries generated by macro), or else it cannot be introspected (and thus cannot be dynamicÁüÓ&# or the result of another macro).Áúúüþ_\ * The `QueryAs` instance will be bound to the same database type as `query!()` was compiledÁüÞ_\ against (e.g. you cannot build against a Postgres database and then run the query againstÁľ a MySQL database).Á×úüÛ[X * The schema of the database URL (e.g. `postgres://` or `mysql://`) will be used toÁü·&# determine the database type.ÁÞúüâ~ <sup>1</sup> The `dotenv` crate itself appears abandoned as of [December 2021](https://github.com/dotenv-rs/dotenv/issues/74)ÁüäKH so we now use the [dotenvy] crate instead. The file format is the same.Á° úü´ -* [dotenv]: https://crates.io/crates/dotenvÁüâ /, [dotenvy]: https://crates.io/crates/dotenvyÁ´’! ## Query ArgumentsÁü©!^[ Like `println!()` and the other formatting macros, you can add bind parameters to your SQLÁüˆ"MJ and this macro will typecheck passed arguments and error on missing ones:ÁÖ"ú”Ú"ÈÎÄí"ãÎü†#?…ÏÄÆ#ÍÏüß#*ïÏüŠ$S£Ð,Þ$ÿÐüä$ZŽÑü¿%JG # let mut conn = sqlx::mysql::MySqlConnection::connect(db_url).await?;ÁüŠ&,¿Òü·& let account = sqlx::query!(Áü×&63 // just pretend "accounts" is a real tableÁüŽ'_\ "select * from (select (1) as id, 'Herp Derpinson' as name) accounts where id = ?",Á„î'
1i32ÁLÿ'ì‰(ÊÓ„§(ðÓ¸(úä¼(ÝÔüÙ(1ƒÕd)ÉÕ<˜)ÞÕ, )ÿÐü¦)IüÕ”ð)ÎÖ<ƒ*éÖ*úü*KH B
$Ï’& Ó’8«<Ô’*Ý’ à’ ¨“ á’ §“, ë’8,ì’'ñ’8Ä\ó’'þ’8÷Ód€“ Œ“  ¡“8 source_fileÁ\Ž“ š“, œ“8õ
$% ©“ ¯“ Ë“, °“8õ
$±“& µ“8«<¶“$ ½“, ¿“ À“ É“, Á“8À$“& Æ“8¯Ç“
Ê“*Í“ Г ¬” Ñ“ «”, Û“8,Ü“'á“8Ä\ã“'î“8÷Ódð“ ü“ ý“ ¥”8ñê\þ“ Š”, Œ”8õ
$$ ‘”8À$“” ˜” š” ¤”, ›” œ” ¢”, 8À$ž”
£”üÑ–!ü²”_\ A variant of [`query_file!`][`crate::query_file!`] which does not check the input or outputÁü’•^[ types. This still does parse the query to ensure it's syntactically and semantically validÁìñ• for the current database.Á(|ÕG ó– ü˜ ù– ‡—, ú–8õ
$û–& ÿ–8«<€—*‰— Œ— å—  ä—, ——8,˜—'8Ä\Ÿ—'ª—8÷Ód¬— ¸— ¹— Þ—8ñê\º— Æ—, È—8õ
$É—$ Í—8¼Û<Ï— ×—8 ,Ù—% æ— ì— ˆ˜, í—8õ
$î—& ò—8«<ó—$ ú—, ü— ý— †˜, þ—8À$ÿ—& ƒ˜8¯„˜
‡˜*Š˜ ˜ ú˜ Ž˜ ù˜, ˜˜8,™˜'ž˜8Ę'«˜8÷Ód­˜ ¹˜ º˜ ó˜ 8ñê\»˜ ǘ, ɘ8õ
$ʘ$ Θ8À$И Õ˜ ט á˜, ؘ Ù˜ ߘ, Ú˜8À$Û˜
à˜$ â˜8¼Û<ä˜ ì˜8 ,–Ïü€™_\ A variant of [`query!`][`crate::query!`] which takes a path to an explicitly defined structÁ¼à™ as the output type.Áø™úüü™ZW This lets you return the struct from a function or add your own trait implementations.ÁךúüÛšb_ **This macro does not use [`FromRow`][crate::FromRow]**; in fact, no trait implementations areÁü¾›?< required at all, though this may change in future versions.Áþ›úü‚œc` The macro maps rows using a struct literal where the names of columns in the query are expectedÁüæœ\Y to be the same as the fields of the struct (but the order does not need to be the same).ÁüÃc` The types of the columns are based on the query and not the corresponding fields of the struct,Áü§ž! so this is type-safe as well.ÁÉžúüÍž This enforces a few things:Áüíž0- * The query must output at least one column.ÁüžŸMJ * The column names of the query must match the field names of the struct.ÁüìŸb_ * The field types must be the Rust equivalent of their SQL counterparts; see the correspondingÁüÏ ,) module for your database for mappings:Áüü ,) * Postgres: [crate::postgres::types]Áü©¡&# * MySQL: [crate::mysql::types]ÁüСWT * Note: due to wire protocol limitations, the query macros do not know whenÁü¨¢[X a column should be decoded as `bool`. It will be inferred to be `i8` instead.Áü„£-* See the link above for details.Áü²£(% * SQLite: [crate::sqlite::types]ÁüÛ£_\ * If a column may be `NULL`, the corresponding field's type must be wrapped in `Option<_>`.Áü»¤>; * Neither the query nor the struct may have unused fields.Áú¤úüþ¤b_ The only modification to the `query!()` syntax is that the struct name is given before the SQLÁ\ᥠstring:Á”í¥ÈÎÄ€¦ãÎü™¦?…ÏÄÙ¦ÍÏüò¦*ïÏü§S£Ð,ñ§ÿÐü÷§ZŽÑüÒ¨CòѤ–© #[derive(Debug)]Á¤«© struct Account {Á„À©
id: i32,Á¤Ñ© name: StringÁ,æ©ì©úüð©,¿Òüª" let account = sqlx::query_as!(Á¤Àª Account,ÁüÕª_Íö„µ«µ÷LÆ«Î÷ìЫÊÓ„î«ðÓÿ«ú䃬ÝÔü ¬1ƒÕÒ¬údÖ¬ÉÕ<ã¬ÞÕ,ë¬ÿÐüñ¬IüÕ”»­ÎÖ<έéÖÖ­úüÚ­NK **The method you want to call depends on how many rows you're expecting.**Á©®úü­®eb | Number of Rows | Method to Call* | Returns (`T` being the given struct) | Notes |Áü“¯eb |----------------| ----------------------------|----------------------------------------|-------|Áüù¯wt | Zero or One | `.fetch_optional(...).await`| `sqlx::Result<Option<T>>` | Extra rows are ignored. |Áüñ°µ² | Exactly One | `.fetch_one(...).await` | `sqlx::Result<T>` | Errors if no rows were returned. Extra rows are ignored. Aggregate queries, use this. |Áü§² | At Least One | `.fetch(...)` | `impl Stream<Item = sqlx::Result<T>>` | Call `.try_next().await` to get each row result. |Áü¸³PM | Multiple | `.fetch_all(...)` | `sqlx::Result<Vec<T>>` | |Á‰´úü´YV \* All methods accept one of `&mut {connection type}`, `&mut Transaction` or `&Pool`.Áüç´XU (`.execute()` is omitted as this macro requires at least one column to be returned.)ÁÀµúüĵ52 ### Column Type Override: Infer from Struct FieldÁüúµVS In addition to the column type overrides supported by [`query!`][`crate::query!`],ÁüѶ30 [`query_as!()`][`crate::query_as!`] supports anÁü…· additional override option:Á¥·úü©·_\ If you select a c
out_structÁT´Ï& ¾Ï8õ
$¿Ï$ ÃÏ, ÅÏ8ò=,ÆÏ& ËÏ8$ÌÏ*ÒÏ ÕÏ °Ð ×Ï ¯Ð, áÏ8,âÏ'çÏ8Ä\éÏ'ôÏ8÷ÓdöÏ ‚Ð ƒÐ ©Ð 8recordÁ4„Ð ‹Ð, Ð8Ó¯TŽÐ$ ˜Ð8¢Ô4šÐ ¡Ð, £Ð8ò=,¤Ð% ±Ð ·Ð ãÐ
, ¸Ð8Ó¯T¹Ð& ÃÐ8õ
$ÄÐ$ ÈÐ, ÊÐ8ò=,ËÐ& ÐÐ8$ÑÐ$ ÕÐ, ×Ð ØÐ áÐ, ÙÐ8À$ÚÐ& ÞÐ8¯ßÐ
âÐ*åÐ èÐ ×Ñ êÐ ÖÑ, ôÐ8,õÐ'úÐ8Ä\üÐ'‡Ñ8÷Ód‰Ñ •Ñ –Ñ ÐÑ