Self-hosted, federated location sharing app and server that prioritizes user privacy and security
end-to-end-encryption location-sharing privacy self-hosted federated

Initial commit

azom.dev 35e91654

+4
.gitignore
··· 1 + node_modules/ 2 + output/ 3 + .idea/ 4 + server/target
+661
LICENSE
··· 1 + GNU AFFERO GENERAL PUBLIC LICENSE 2 + Version 3, 19 November 2007 3 + 4 + Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> 5 + Everyone is permitted to copy and distribute verbatim copies 6 + of this license document, but changing it is not allowed. 7 + 8 + Preamble 9 + 10 + The GNU Affero General Public License is a free, copyleft license for 11 + software and other kinds of works, specifically designed to ensure 12 + cooperation with the community in the case of network server software. 13 + 14 + The licenses for most software and other practical works are designed 15 + to take away your freedom to share and change the works. By contrast, 16 + our General Public Licenses are intended to guarantee your freedom to 17 + share and change all versions of a program--to make sure it remains free 18 + software for all its users. 19 + 20 + When we speak of free software, we are referring to freedom, not 21 + price. Our General Public Licenses are designed to make sure that you 22 + have the freedom to distribute copies of free software (and charge for 23 + them if you wish), that you receive source code or can get it if you 24 + want it, that you can change the software or use pieces of it in new 25 + free programs, and that you know you can do these things. 26 + 27 + Developers that use our General Public Licenses protect your rights 28 + with two steps: (1) assert copyright on the software, and (2) offer 29 + you this License which gives you legal permission to copy, distribute 30 + and/or modify the software. 31 + 32 + A secondary benefit of defending all users' freedom is that 33 + improvements made in alternate versions of the program, if they 34 + receive widespread use, become available for other developers to 35 + incorporate. Many developers of free software are heartened and 36 + encouraged by the resulting cooperation. However, in the case of 37 + software used on network servers, this result may fail to come about. 38 + The GNU General Public License permits making a modified version and 39 + letting the public access it on a server without ever releasing its 40 + source code to the public. 41 + 42 + The GNU Affero General Public License is designed specifically to 43 + ensure that, in such cases, the modified source code becomes available 44 + to the community. It requires the operator of a network server to 45 + provide the source code of the modified version running there to the 46 + users of that server. Therefore, public use of a modified version, on 47 + a publicly accessible server, gives the public access to the source 48 + code of the modified version. 49 + 50 + An older license, called the Affero General Public License and 51 + published by Affero, was designed to accomplish similar goals. This is 52 + a different license, not a version of the Affero GPL, but Affero has 53 + released a new version of the Affero GPL which permits relicensing under 54 + this license. 55 + 56 + The precise terms and conditions for copying, distribution and 57 + modification follow. 58 + 59 + TERMS AND CONDITIONS 60 + 61 + 0. Definitions. 62 + 63 + "This License" refers to version 3 of the GNU Affero General Public License. 64 + 65 + "Copyright" also means copyright-like laws that apply to other kinds of 66 + works, such as semiconductor masks. 67 + 68 + "The Program" refers to any copyrightable work licensed under this 69 + License. Each licensee is addressed as "you". "Licensees" and 70 + "recipients" may be individuals or organizations. 71 + 72 + To "modify" a work means to copy from or adapt all or part of the work 73 + in a fashion requiring copyright permission, other than the making of an 74 + exact copy. The resulting work is called a "modified version" of the 75 + earlier work or a work "based on" the earlier work. 76 + 77 + A "covered work" means either the unmodified Program or a work based 78 + on the Program. 79 + 80 + To "propagate" a work means to do anything with it that, without 81 + permission, would make you directly or secondarily liable for 82 + infringement under applicable copyright law, except executing it on a 83 + computer or modifying a private copy. Propagation includes copying, 84 + distribution (with or without modification), making available to the 85 + public, and in some countries other activities as well. 86 + 87 + To "convey" a work means any kind of propagation that enables other 88 + parties to make or receive copies. Mere interaction with a user through 89 + a computer network, with no transfer of a copy, is not conveying. 90 + 91 + An interactive user interface displays "Appropriate Legal Notices" 92 + to the extent that it includes a convenient and prominently visible 93 + feature that (1) displays an appropriate copyright notice, and (2) 94 + tells the user that there is no warranty for the work (except to the 95 + extent that warranties are provided), that licensees may convey the 96 + work under this License, and how to view a copy of this License. If 97 + the interface presents a list of user commands or options, such as a 98 + menu, a prominent item in the list meets this criterion. 99 + 100 + 1. Source Code. 101 + 102 + The "source code" for a work means the preferred form of the work 103 + for making modifications to it. "Object code" means any non-source 104 + form of a work. 105 + 106 + A "Standard Interface" means an interface that either is an official 107 + standard defined by a recognized standards body, or, in the case of 108 + interfaces specified for a particular programming language, one that 109 + is widely used among developers working in that language. 110 + 111 + The "System Libraries" of an executable work include anything, other 112 + than the work as a whole, that (a) is included in the normal form of 113 + packaging a Major Component, but which is not part of that Major 114 + Component, and (b) serves only to enable use of the work with that 115 + Major Component, or to implement a Standard Interface for which an 116 + implementation is available to the public in source code form. A 117 + "Major Component", in this context, means a major essential component 118 + (kernel, window system, and so on) of the specific operating system 119 + (if any) on which the executable work runs, or a compiler used to 120 + produce the work, or an object code interpreter used to run it. 121 + 122 + The "Corresponding Source" for a work in object code form means all 123 + the source code needed to generate, install, and (for an executable 124 + work) run the object code and to modify the work, including scripts to 125 + control those activities. However, it does not include the work's 126 + System Libraries, or general-purpose tools or generally available free 127 + programs which are used unmodified in performing those activities but 128 + which are not part of the work. For example, Corresponding Source 129 + includes interface definition files associated with source files for 130 + the work, and the source code for shared libraries and dynamically 131 + linked subprograms that the work is specifically designed to require, 132 + such as by intimate data communication or control flow between those 133 + subprograms and other parts of the work. 134 + 135 + The Corresponding Source need not include anything that users 136 + can regenerate automatically from other parts of the Corresponding 137 + Source. 138 + 139 + The Corresponding Source for a work in source code form is that 140 + same work. 141 + 142 + 2. Basic Permissions. 143 + 144 + All rights granted under this License are granted for the term of 145 + copyright on the Program, and are irrevocable provided the stated 146 + conditions are met. This License explicitly affirms your unlimited 147 + permission to run the unmodified Program. The output from running a 148 + covered work is covered by this License only if the output, given its 149 + content, constitutes a covered work. This License acknowledges your 150 + rights of fair use or other equivalent, as provided by copyright law. 151 + 152 + You may make, run and propagate covered works that you do not 153 + convey, without conditions so long as your license otherwise remains 154 + in force. You may convey covered works to others for the sole purpose 155 + of having them make modifications exclusively for you, or provide you 156 + with facilities for running those works, provided that you comply with 157 + the terms of this License in conveying all material for which you do 158 + not control copyright. Those thus making or running the covered works 159 + for you must do so exclusively on your behalf, under your direction 160 + and control, on terms that prohibit them from making any copies of 161 + your copyrighted material outside their relationship with you. 162 + 163 + Conveying under any other circumstances is permitted solely under 164 + the conditions stated below. Sublicensing is not allowed; section 10 165 + makes it unnecessary. 166 + 167 + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 168 + 169 + No covered work shall be deemed part of an effective technological 170 + measure under any applicable law fulfilling obligations under article 171 + 11 of the WIPO copyright treaty adopted on 20 December 1996, or 172 + similar laws prohibiting or restricting circumvention of such 173 + measures. 174 + 175 + When you convey a covered work, you waive any legal power to forbid 176 + circumvention of technological measures to the extent such circumvention 177 + is effected by exercising rights under this License with respect to 178 + the covered work, and you disclaim any intention to limit operation or 179 + modification of the work as a means of enforcing, against the work's 180 + users, your or third parties' legal rights to forbid circumvention of 181 + technological measures. 182 + 183 + 4. Conveying Verbatim Copies. 184 + 185 + You may convey verbatim copies of the Program's source code as you 186 + receive it, in any medium, provided that you conspicuously and 187 + appropriately publish on each copy an appropriate copyright notice; 188 + keep intact all notices stating that this License and any 189 + non-permissive terms added in accord with section 7 apply to the code; 190 + keep intact all notices of the absence of any warranty; and give all 191 + recipients a copy of this License along with the Program. 192 + 193 + You may charge any price or no price for each copy that you convey, 194 + and you may offer support or warranty protection for a fee. 195 + 196 + 5. Conveying Modified Source Versions. 197 + 198 + You may convey a work based on the Program, or the modifications to 199 + produce it from the Program, in the form of source code under the 200 + terms of section 4, provided that you also meet all of these conditions: 201 + 202 + a) The work must carry prominent notices stating that you modified 203 + it, and giving a relevant date. 204 + 205 + b) The work must carry prominent notices stating that it is 206 + released under this License and any conditions added under section 207 + 7. This requirement modifies the requirement in section 4 to 208 + "keep intact all notices". 209 + 210 + c) You must license the entire work, as a whole, under this 211 + License to anyone who comes into possession of a copy. This 212 + License will therefore apply, along with any applicable section 7 213 + additional terms, to the whole of the work, and all its parts, 214 + regardless of how they are packaged. This License gives no 215 + permission to license the work in any other way, but it does not 216 + invalidate such permission if you have separately received it. 217 + 218 + d) If the work has interactive user interfaces, each must display 219 + Appropriate Legal Notices; however, if the Program has interactive 220 + interfaces that do not display Appropriate Legal Notices, your 221 + work need not make them do so. 222 + 223 + A compilation of a covered work with other separate and independent 224 + works, which are not by their nature extensions of the covered work, 225 + and which are not combined with it such as to form a larger program, 226 + in or on a volume of a storage or distribution medium, is called an 227 + "aggregate" if the compilation and its resulting copyright are not 228 + used to limit the access or legal rights of the compilation's users 229 + beyond what the individual works permit. Inclusion of a covered work 230 + in an aggregate does not cause this License to apply to the other 231 + parts of the aggregate. 232 + 233 + 6. Conveying Non-Source Forms. 234 + 235 + You may convey a covered work in object code form under the terms 236 + of sections 4 and 5, provided that you also convey the 237 + machine-readable Corresponding Source under the terms of this License, 238 + in one of these ways: 239 + 240 + a) Convey the object code in, or embodied in, a physical product 241 + (including a physical distribution medium), accompanied by the 242 + Corresponding Source fixed on a durable physical medium 243 + customarily used for software interchange. 244 + 245 + b) Convey the object code in, or embodied in, a physical product 246 + (including a physical distribution medium), accompanied by a 247 + written offer, valid for at least three years and valid for as 248 + long as you offer spare parts or customer support for that product 249 + model, to give anyone who possesses the object code either (1) a 250 + copy of the Corresponding Source for all the software in the 251 + product that is covered by this License, on a durable physical 252 + medium customarily used for software interchange, for a price no 253 + more than your reasonable cost of physically performing this 254 + conveying of source, or (2) access to copy the 255 + Corresponding Source from a network server at no charge. 256 + 257 + c) Convey individual copies of the object code with a copy of the 258 + written offer to provide the Corresponding Source. This 259 + alternative is allowed only occasionally and noncommercially, and 260 + only if you received the object code with such an offer, in accord 261 + with subsection 6b. 262 + 263 + d) Convey the object code by offering access from a designated 264 + place (gratis or for a charge), and offer equivalent access to the 265 + Corresponding Source in the same way through the same place at no 266 + further charge. You need not require recipients to copy the 267 + Corresponding Source along with the object code. If the place to 268 + copy the object code is a network server, the Corresponding Source 269 + may be on a different server (operated by you or a third party) 270 + that supports equivalent copying facilities, provided you maintain 271 + clear directions next to the object code saying where to find the 272 + Corresponding Source. Regardless of what server hosts the 273 + Corresponding Source, you remain obligated to ensure that it is 274 + available for as long as needed to satisfy these requirements. 275 + 276 + e) Convey the object code using peer-to-peer transmission, provided 277 + you inform other peers where the object code and Corresponding 278 + Source of the work are being offered to the general public at no 279 + charge under subsection 6d. 280 + 281 + A separable portion of the object code, whose source code is excluded 282 + from the Corresponding Source as a System Library, need not be 283 + included in conveying the object code work. 284 + 285 + A "User Product" is either (1) a "consumer product", which means any 286 + tangible personal property which is normally used for personal, family, 287 + or household purposes, or (2) anything designed or sold for incorporation 288 + into a dwelling. In determining whether a product is a consumer product, 289 + doubtful cases shall be resolved in favor of coverage. For a particular 290 + product received by a particular user, "normally used" refers to a 291 + typical or common use of that class of product, regardless of the status 292 + of the particular user or of the way in which the particular user 293 + actually uses, or expects or is expected to use, the product. A product 294 + is a consumer product regardless of whether the product has substantial 295 + commercial, industrial or non-consumer uses, unless such uses represent 296 + the only significant mode of use of the product. 297 + 298 + "Installation Information" for a User Product means any methods, 299 + procedures, authorization keys, or other information required to install 300 + and execute modified versions of a covered work in that User Product from 301 + a modified version of its Corresponding Source. The information must 302 + suffice to ensure that the continued functioning of the modified object 303 + code is in no case prevented or interfered with solely because 304 + modification has been made. 305 + 306 + If you convey an object code work under this section in, or with, or 307 + specifically for use in, a User Product, and the conveying occurs as 308 + part of a transaction in which the right of possession and use of the 309 + User Product is transferred to the recipient in perpetuity or for a 310 + fixed term (regardless of how the transaction is characterized), the 311 + Corresponding Source conveyed under this section must be accompanied 312 + by the Installation Information. But this requirement does not apply 313 + if neither you nor any third party retains the ability to install 314 + modified object code on the User Product (for example, the work has 315 + been installed in ROM). 316 + 317 + The requirement to provide Installation Information does not include a 318 + requirement to continue to provide support service, warranty, or updates 319 + for a work that has been modified or installed by the recipient, or for 320 + the User Product in which it has been modified or installed. Access to a 321 + network may be denied when the modification itself materially and 322 + adversely affects the operation of the network or violates the rules and 323 + protocols for communication across the network. 324 + 325 + Corresponding Source conveyed, and Installation Information provided, 326 + in accord with this section must be in a format that is publicly 327 + documented (and with an implementation available to the public in 328 + source code form), and must require no special password or key for 329 + unpacking, reading or copying. 330 + 331 + 7. Additional Terms. 332 + 333 + "Additional permissions" are terms that supplement the terms of this 334 + License by making exceptions from one or more of its conditions. 335 + Additional permissions that are applicable to the entire Program shall 336 + be treated as though they were included in this License, to the extent 337 + that they are valid under applicable law. If additional permissions 338 + apply only to part of the Program, that part may be used separately 339 + under those permissions, but the entire Program remains governed by 340 + this License without regard to the additional permissions. 341 + 342 + When you convey a copy of a covered work, you may at your option 343 + remove any additional permissions from that copy, or from any part of 344 + it. (Additional permissions may be written to require their own 345 + removal in certain cases when you modify the work.) You may place 346 + additional permissions on material, added by you to a covered work, 347 + for which you have or can give appropriate copyright permission. 348 + 349 + Notwithstanding any other provision of this License, for material you 350 + add to a covered work, you may (if authorized by the copyright holders of 351 + that material) supplement the terms of this License with terms: 352 + 353 + a) Disclaiming warranty or limiting liability differently from the 354 + terms of sections 15 and 16 of this License; or 355 + 356 + b) Requiring preservation of specified reasonable legal notices or 357 + author attributions in that material or in the Appropriate Legal 358 + Notices displayed by works containing it; or 359 + 360 + c) Prohibiting misrepresentation of the origin of that material, or 361 + requiring that modified versions of such material be marked in 362 + reasonable ways as different from the original version; or 363 + 364 + d) Limiting the use for publicity purposes of names of licensors or 365 + authors of the material; or 366 + 367 + e) Declining to grant rights under trademark law for use of some 368 + trade names, trademarks, or service marks; or 369 + 370 + f) Requiring indemnification of licensors and authors of that 371 + material by anyone who conveys the material (or modified versions of 372 + it) with contractual assumptions of liability to the recipient, for 373 + any liability that these contractual assumptions directly impose on 374 + those licensors and authors. 375 + 376 + All other non-permissive additional terms are considered "further 377 + restrictions" within the meaning of section 10. If the Program as you 378 + received it, or any part of it, contains a notice stating that it is 379 + governed by this License along with a term that is a further 380 + restriction, you may remove that term. If a license document contains 381 + a further restriction but permits relicensing or conveying under this 382 + License, you may add to a covered work material governed by the terms 383 + of that license document, provided that the further restriction does 384 + not survive such relicensing or conveying. 385 + 386 + If you add terms to a covered work in accord with this section, you 387 + must place, in the relevant source files, a statement of the 388 + additional terms that apply to those files, or a notice indicating 389 + where to find the applicable terms. 390 + 391 + Additional terms, permissive or non-permissive, may be stated in the 392 + form of a separately written license, or stated as exceptions; 393 + the above requirements apply either way. 394 + 395 + 8. Termination. 396 + 397 + You may not propagate or modify a covered work except as expressly 398 + provided under this License. Any attempt otherwise to propagate or 399 + modify it is void, and will automatically terminate your rights under 400 + this License (including any patent licenses granted under the third 401 + paragraph of section 11). 402 + 403 + However, if you cease all violation of this License, then your 404 + license from a particular copyright holder is reinstated (a) 405 + provisionally, unless and until the copyright holder explicitly and 406 + finally terminates your license, and (b) permanently, if the copyright 407 + holder fails to notify you of the violation by some reasonable means 408 + prior to 60 days after the cessation. 409 + 410 + Moreover, your license from a particular copyright holder is 411 + reinstated permanently if the copyright holder notifies you of the 412 + violation by some reasonable means, this is the first time you have 413 + received notice of violation of this License (for any work) from that 414 + copyright holder, and you cure the violation prior to 30 days after 415 + your receipt of the notice. 416 + 417 + Termination of your rights under this section does not terminate the 418 + licenses of parties who have received copies or rights from you under 419 + this License. If your rights have been terminated and not permanently 420 + reinstated, you do not qualify to receive new licenses for the same 421 + material under section 10. 422 + 423 + 9. Acceptance Not Required for Having Copies. 424 + 425 + You are not required to accept this License in order to receive or 426 + run a copy of the Program. Ancillary propagation of a covered work 427 + occurring solely as a consequence of using peer-to-peer transmission 428 + to receive a copy likewise does not require acceptance. However, 429 + nothing other than this License grants you permission to propagate or 430 + modify any covered work. These actions infringe copyright if you do 431 + not accept this License. Therefore, by modifying or propagating a 432 + covered work, you indicate your acceptance of this License to do so. 433 + 434 + 10. Automatic Licensing of Downstream Recipients. 435 + 436 + Each time you convey a covered work, the recipient automatically 437 + receives a license from the original licensors, to run, modify and 438 + propagate that work, subject to this License. You are not responsible 439 + for enforcing compliance by third parties with this License. 440 + 441 + An "entity transaction" is a transaction transferring control of an 442 + organization, or substantially all assets of one, or subdividing an 443 + organization, or merging organizations. If propagation of a covered 444 + work results from an entity transaction, each party to that 445 + transaction who receives a copy of the work also receives whatever 446 + licenses to the work the party's predecessor in interest had or could 447 + give under the previous paragraph, plus a right to possession of the 448 + Corresponding Source of the work from the predecessor in interest, if 449 + the predecessor has it or can get it with reasonable efforts. 450 + 451 + You may not impose any further restrictions on the exercise of the 452 + rights granted or affirmed under this License. For example, you may 453 + not impose a license fee, royalty, or other charge for exercise of 454 + rights granted under this License, and you may not initiate litigation 455 + (including a cross-claim or counterclaim in a lawsuit) alleging that 456 + any patent claim is infringed by making, using, selling, offering for 457 + sale, or importing the Program or any portion of it. 458 + 459 + 11. Patents. 460 + 461 + A "contributor" is a copyright holder who authorizes use under this 462 + License of the Program or a work on which the Program is based. The 463 + work thus licensed is called the contributor's "contributor version". 464 + 465 + A contributor's "essential patent claims" are all patent claims 466 + owned or controlled by the contributor, whether already acquired or 467 + hereafter acquired, that would be infringed by some manner, permitted 468 + by this License, of making, using, or selling its contributor version, 469 + but do not include claims that would be infringed only as a 470 + consequence of further modification of the contributor version. For 471 + purposes of this definition, "control" includes the right to grant 472 + patent sublicenses in a manner consistent with the requirements of 473 + this License. 474 + 475 + Each contributor grants you a non-exclusive, worldwide, royalty-free 476 + patent license under the contributor's essential patent claims, to 477 + make, use, sell, offer for sale, import and otherwise run, modify and 478 + propagate the contents of its contributor version. 479 + 480 + In the following three paragraphs, a "patent license" is any express 481 + agreement or commitment, however denominated, not to enforce a patent 482 + (such as an express permission to practice a patent or covenant not to 483 + sue for patent infringement). To "grant" such a patent license to a 484 + party means to make such an agreement or commitment not to enforce a 485 + patent against the party. 486 + 487 + If you convey a covered work, knowingly relying on a patent license, 488 + and the Corresponding Source of the work is not available for anyone 489 + to copy, free of charge and under the terms of this License, through a 490 + publicly available network server or other readily accessible means, 491 + then you must either (1) cause the Corresponding Source to be so 492 + available, or (2) arrange to deprive yourself of the benefit of the 493 + patent license for this particular work, or (3) arrange, in a manner 494 + consistent with the requirements of this License, to extend the patent 495 + license to downstream recipients. "Knowingly relying" means you have 496 + actual knowledge that, but for the patent license, your conveying the 497 + covered work in a country, or your recipient's use of the covered work 498 + in a country, would infringe one or more identifiable patents in that 499 + country that you have reason to believe are valid. 500 + 501 + If, pursuant to or in connection with a single transaction or 502 + arrangement, you convey, or propagate by procuring conveyance of, a 503 + covered work, and grant a patent license to some of the parties 504 + receiving the covered work authorizing them to use, propagate, modify 505 + or convey a specific copy of the covered work, then the patent license 506 + you grant is automatically extended to all recipients of the covered 507 + work and works based on it. 508 + 509 + A patent license is "discriminatory" if it does not include within 510 + the scope of its coverage, prohibits the exercise of, or is 511 + conditioned on the non-exercise of one or more of the rights that are 512 + specifically granted under this License. You may not convey a covered 513 + work if you are a party to an arrangement with a third party that is 514 + in the business of distributing software, under which you make payment 515 + to the third party based on the extent of your activity of conveying 516 + the work, and under which the third party grants, to any of the 517 + parties who would receive the covered work from you, a discriminatory 518 + patent license (a) in connection with copies of the covered work 519 + conveyed by you (or copies made from those copies), or (b) primarily 520 + for and in connection with specific products or compilations that 521 + contain the covered work, unless you entered into that arrangement, 522 + or that patent license was granted, prior to 28 March 2007. 523 + 524 + Nothing in this License shall be construed as excluding or limiting 525 + any implied license or other defenses to infringement that may 526 + otherwise be available to you under applicable patent law. 527 + 528 + 12. No Surrender of Others' Freedom. 529 + 530 + If conditions are imposed on you (whether by court order, agreement or 531 + otherwise) that contradict the conditions of this License, they do not 532 + excuse you from the conditions of this License. If you cannot convey a 533 + covered work so as to satisfy simultaneously your obligations under this 534 + License and any other pertinent obligations, then as a consequence you may 535 + not convey it at all. For example, if you agree to terms that obligate you 536 + to collect a royalty for further conveying from those to whom you convey 537 + the Program, the only way you could satisfy both those terms and this 538 + License would be to refrain entirely from conveying the Program. 539 + 540 + 13. Remote Network Interaction; Use with the GNU General Public License. 541 + 542 + Notwithstanding any other provision of this License, if you modify the 543 + Program, your modified version must prominently offer all users 544 + interacting with it remotely through a computer network (if your version 545 + supports such interaction) an opportunity to receive the Corresponding 546 + Source of your version by providing access to the Corresponding Source 547 + from a network server at no charge, through some standard or customary 548 + means of facilitating copying of software. This Corresponding Source 549 + shall include the Corresponding Source for any work covered by version 3 550 + of the GNU General Public License that is incorporated pursuant to the 551 + following paragraph. 552 + 553 + Notwithstanding any other provision of this License, you have 554 + permission to link or combine any covered work with a work licensed 555 + under version 3 of the GNU General Public License into a single 556 + combined work, and to convey the resulting work. The terms of this 557 + License will continue to apply to the part which is the covered work, 558 + but the work with which it is combined will remain governed by version 559 + 3 of the GNU General Public License. 560 + 561 + 14. Revised Versions of this License. 562 + 563 + The Free Software Foundation may publish revised and/or new versions of 564 + the GNU Affero General Public License from time to time. Such new versions 565 + will be similar in spirit to the present version, but may differ in detail to 566 + address new problems or concerns. 567 + 568 + Each version is given a distinguishing version number. If the 569 + Program specifies that a certain numbered version of the GNU Affero General 570 + Public License "or any later version" applies to it, you have the 571 + option of following the terms and conditions either of that numbered 572 + version or of any later version published by the Free Software 573 + Foundation. If the Program does not specify a version number of the 574 + GNU Affero General Public License, you may choose any version ever published 575 + by the Free Software Foundation. 576 + 577 + If the Program specifies that a proxy can decide which future 578 + versions of the GNU Affero General Public License can be used, that proxy's 579 + public statement of acceptance of a version permanently authorizes you 580 + to choose that version for the Program. 581 + 582 + Later license versions may give you additional or different 583 + permissions. However, no additional obligations are imposed on any 584 + author or copyright holder as a result of your choosing to follow a 585 + later version. 586 + 587 + 15. Disclaimer of Warranty. 588 + 589 + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 590 + APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 591 + HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 592 + OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 593 + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 594 + PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 595 + IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 596 + ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 597 + 598 + 16. Limitation of Liability. 599 + 600 + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 601 + WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 602 + THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 603 + GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 604 + USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 605 + DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 606 + PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 607 + EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 608 + SUCH DAMAGES. 609 + 610 + 17. Interpretation of Sections 15 and 16. 611 + 612 + If the disclaimer of warranty and limitation of liability provided 613 + above cannot be given local legal effect according to their terms, 614 + reviewing courts shall apply local law that most closely approximates 615 + an absolute waiver of all civil liability in connection with the 616 + Program, unless a warranty or assumption of liability accompanies a 617 + copy of the Program in return for a fee. 618 + 619 + END OF TERMS AND CONDITIONS 620 + 621 + How to Apply These Terms to Your New Programs 622 + 623 + If you develop a new program, and you want it to be of the greatest 624 + possible use to the public, the best way to achieve this is to make it 625 + free software which everyone can redistribute and change under these terms. 626 + 627 + To do so, attach the following notices to the program. It is safest 628 + to attach them to the start of each source file to most effectively 629 + state the exclusion of warranty; and each file should have at least 630 + the "copyright" line and a pointer to where the full notice is found. 631 + 632 + <one line to give the program's name and a brief idea of what it does.> 633 + Copyright (C) <year> <name of author> 634 + 635 + This program is free software: you can redistribute it and/or modify 636 + it under the terms of the GNU Affero General Public License as published by 637 + the Free Software Foundation, either version 3 of the License, or 638 + (at your option) any later version. 639 + 640 + This program is distributed in the hope that it will be useful, 641 + but WITHOUT ANY WARRANTY; without even the implied warranty of 642 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 643 + GNU Affero General Public License for more details. 644 + 645 + You should have received a copy of the GNU Affero General Public License 646 + along with this program. If not, see <https://www.gnu.org/licenses/>. 647 + 648 + Also add information on how to contact you by electronic and paper mail. 649 + 650 + If your software can interact with users remotely through a computer 651 + network, you should also make sure that it provides a way for users to 652 + get its source. For example, if your program is a web application, its 653 + interface could display a "Source" link that leads users to an archive 654 + of the code. There are many ways you could offer source, and different 655 + solutions will be better for different programs; see section 13 for the 656 + specific requirements. 657 + 658 + You should also get your employer (if you work as a programmer) or school, 659 + if any, to sign a "copyright disclaimer" for the program, if necessary. 660 + For more information on this, and how to apply and follow the GNU AGPL, see 661 + <https://www.gnu.org/licenses/>.
+98
README.md
··· 1 + # PrivacyPin 2 + 3 + PrivacyPin is (going to be) a secure self-hosted location sharing app designed to prioritize user privacy. It offers complete control over location sharing, allowing users to determine who can access their location and when. PrivacyPin is federated, so different servers can interoperate and users are not locked into a single provider. Additionally, it might provide real-time notifications when someone accesses their position (that will require self-hosted notifications, which I'm unsure how much of a pain that is). 4 + 5 + 6 + > [!IMPORTANT] 7 + > I’m in the process of rapidly iterating to establish a base on which testing can begin. The current tech stack is NOT the final one. 8 + > 9 + > If you’re interested in contributing to this exciting project, I’d love to hear from you! My primary challenge lies in native mobile development, but any assistance is greatly appreciated! 10 + 11 + ## Key Features 12 + 13 + - **User-Controlled Location Sharing**: Users have full control over who can view their location and when it is visible. 14 + - **Real-Time Access Notifications**: Receive notifications whenever someone accesses your position. (if I ever feel like adding that) 15 + - **Self-Hostable Server**: The server is self-hostable, ensuring that users do not rely on big tech companies to access their location data. 16 + - **Federated Architecture**: Servers can interoperate, allowing people on different servers to share locations with each other. 17 + - **Robust Security**: Implements strong encryption and security measures to ensure data integrity and protection against potential threats, making security a core focus of the project. 18 + 19 + ## Usage 20 + 21 + PrivacyPin is still in early development, and the usage instructions will be provided once the app reaches a stable version. Stay tuned for updates! 22 + 23 + ## Roadmap 24 + 25 + ### **Phase 1 — Core Functionality (MVP)** 26 + 27 + * Android mobile app. 28 + * Self-hostable backend server with basic API functionality. 29 + * On/off control for location sharing. 30 + * Simple UI for sharing location. 31 + * Basic in-app location sharing. 32 + 33 + ### **Phase 2 — Security & Usability Enhancements** 34 + 35 + * Basic user authentication system. 36 + * Basic background location service for location sharing 37 + * Improved and polished UI/UX for the mobile app. 38 + * Server-side data validation. 39 + * More robust API design and error handling on the client. 40 + * End-to-end encryption (e2e). 41 + * Account creation via QR code. 42 + * Adding friends via QR code. 43 + 44 + ### **Phase 3 — Advanced Privacy & Architecture** 45 + 46 + * Utilization of trusted computing environments for key storing and computing. 47 + * Federation/multi-server support. 48 + * Fine-grained control over location sharing. 49 + 50 + ### **Phase 4 — Extended Security Features** 51 + 52 + * Fingerprint/PIN app access. 53 + * Real-time access notifications. 54 + 55 + ## Contributing 56 + 57 + Contributions to PrivacyPin are welcome! If you'd like to contribute, you can work on an issue, open an issue yourself or message me. Currently, I'm working on an MVP, but if you would want to help this project in literally any way, send me a message :D 58 + 59 + ## Getting Started (Development) 60 + 61 + ### Prerequisites 62 + 63 + Make sure you have the following installed: 64 + 65 + * [Bun](https://bun.sh/docs/installation) 66 + * [Rust (Cargo)](https://www.rust-lang.org/tools/install) 67 + 68 + ### Setup 69 + 70 + ```bash 71 + git clone https://github.com/azomDev/PrivacyPin.git 72 + cd PrivacyPin 73 + bun i 74 + ``` 75 + 76 + ### Running the Environment 77 + 78 + Open **3–4 terminals** and run the following in each: 79 + 80 + ```bash 81 + # Terminal 1 82 + bun run vite 83 + 84 + # Terminal 2 85 + bun run app 86 + 87 + # Terminal 3 88 + bun run server 89 + 90 + # (Optional) Terminal 4 — to run another app instance 91 + bun run app 92 + ``` 93 + 94 + ## Contact 95 + 96 + Email : azomDev@pm.me\ 97 + Signal : @azom.01\ 98 + Discord : _azom
+24
app/.gitignore
··· 1 + # Logs 2 + logs 3 + *.log 4 + npm-debug.log* 5 + yarn-debug.log* 6 + yarn-error.log* 7 + pnpm-debug.log* 8 + lerna-debug.log* 9 + 10 + node_modules 11 + dist 12 + dist-ssr 13 + *.local 14 + 15 + # Editor directories and files 16 + .vscode/* 17 + !.vscode/extensions.json 18 + .idea 19 + .DS_Store 20 + *.suo 21 + *.ntvs* 22 + *.njsproj 23 + *.sln 24 + *.sw?
+181
app/bun.lock
··· 1 + { 2 + "lockfileVersion": 1, 3 + "workspaces": { 4 + "": { 5 + "name": "privacypin", 6 + "dependencies": { 7 + "@tauri-apps/api": "^2", 8 + "@tauri-apps/plugin-opener": "^2", 9 + "@tauri-apps/plugin-store": "^2.4.1", 10 + "alpinejs": "^3.15.1", 11 + }, 12 + "devDependencies": { 13 + "@tauri-apps/cli": "^2", 14 + "@types/alpinejs": "^3.13.11", 15 + "typescript": "~5.6.2", 16 + "vite": "^6.0.3", 17 + }, 18 + }, 19 + }, 20 + "packages": { 21 + "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.25.12", "", { "os": "aix", "cpu": "ppc64" }, "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA=="], 22 + 23 + "@esbuild/android-arm": ["@esbuild/android-arm@0.25.12", "", { "os": "android", "cpu": "arm" }, "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg=="], 24 + 25 + "@esbuild/android-arm64": ["@esbuild/android-arm64@0.25.12", "", { "os": "android", "cpu": "arm64" }, "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg=="], 26 + 27 + "@esbuild/android-x64": ["@esbuild/android-x64@0.25.12", "", { "os": "android", "cpu": "x64" }, "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg=="], 28 + 29 + "@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.25.12", "", { "os": "darwin", "cpu": "arm64" }, "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg=="], 30 + 31 + "@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.25.12", "", { "os": "darwin", "cpu": "x64" }, "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA=="], 32 + 33 + "@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.25.12", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg=="], 34 + 35 + "@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.25.12", "", { "os": "freebsd", "cpu": "x64" }, "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ=="], 36 + 37 + "@esbuild/linux-arm": ["@esbuild/linux-arm@0.25.12", "", { "os": "linux", "cpu": "arm" }, "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw=="], 38 + 39 + "@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.25.12", "", { "os": "linux", "cpu": "arm64" }, "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ=="], 40 + 41 + "@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.25.12", "", { "os": "linux", "cpu": "ia32" }, "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA=="], 42 + 43 + "@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.25.12", "", { "os": "linux", "cpu": "none" }, "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng=="], 44 + 45 + "@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.25.12", "", { "os": "linux", "cpu": "none" }, "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw=="], 46 + 47 + "@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.25.12", "", { "os": "linux", "cpu": "ppc64" }, "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA=="], 48 + 49 + "@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.25.12", "", { "os": "linux", "cpu": "none" }, "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w=="], 50 + 51 + "@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.25.12", "", { "os": "linux", "cpu": "s390x" }, "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg=="], 52 + 53 + "@esbuild/linux-x64": ["@esbuild/linux-x64@0.25.12", "", { "os": "linux", "cpu": "x64" }, "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw=="], 54 + 55 + "@esbuild/netbsd-arm64": ["@esbuild/netbsd-arm64@0.25.12", "", { "os": "none", "cpu": "arm64" }, "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg=="], 56 + 57 + "@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.25.12", "", { "os": "none", "cpu": "x64" }, "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ=="], 58 + 59 + "@esbuild/openbsd-arm64": ["@esbuild/openbsd-arm64@0.25.12", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A=="], 60 + 61 + "@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.25.12", "", { "os": "openbsd", "cpu": "x64" }, "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw=="], 62 + 63 + "@esbuild/openharmony-arm64": ["@esbuild/openharmony-arm64@0.25.12", "", { "os": "none", "cpu": "arm64" }, "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg=="], 64 + 65 + "@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.25.12", "", { "os": "sunos", "cpu": "x64" }, "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w=="], 66 + 67 + "@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.25.12", "", { "os": "win32", "cpu": "arm64" }, "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg=="], 68 + 69 + "@esbuild/win32-ia32": ["@esbuild/win32-ia32@0.25.12", "", { "os": "win32", "cpu": "ia32" }, "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ=="], 70 + 71 + "@esbuild/win32-x64": ["@esbuild/win32-x64@0.25.12", "", { "os": "win32", "cpu": "x64" }, "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA=="], 72 + 73 + "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.53.1", "", { "os": "android", "cpu": "arm" }, "sha512-bxZtughE4VNVJlL1RdoSE545kc4JxL7op57KKoi59/gwuU5rV6jLWFXXc8jwgFoT6vtj+ZjO+Z2C5nrY0Cl6wA=="], 74 + 75 + "@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.53.1", "", { "os": "android", "cpu": "arm64" }, "sha512-44a1hreb02cAAfAKmZfXVercPFaDjqXCK+iKeVOlJ9ltvnO6QqsBHgKVPTu+MJHSLLeMEUbeG2qiDYgbFPU48g=="], 76 + 77 + "@rollup/rollup-darwin-arm64": ["@rollup/rollup-darwin-arm64@4.53.1", "", { "os": "darwin", "cpu": "arm64" }, "sha512-usmzIgD0rf1syoOZ2WZvy8YpXK5G1V3btm3QZddoGSa6mOgfXWkkv+642bfUUldomgrbiLQGrPryb7DXLovPWQ=="], 78 + 79 + "@rollup/rollup-darwin-x64": ["@rollup/rollup-darwin-x64@4.53.1", "", { "os": "darwin", "cpu": "x64" }, "sha512-is3r/k4vig2Gt8mKtTlzzyaSQ+hd87kDxiN3uDSDwggJLUV56Umli6OoL+/YZa/KvtdrdyNfMKHzL/P4siOOmg=="], 80 + 81 + "@rollup/rollup-freebsd-arm64": ["@rollup/rollup-freebsd-arm64@4.53.1", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-QJ1ksgp/bDJkZB4daldVmHaEQkG4r8PUXitCOC2WRmRaSaHx5RwPoI3DHVfXKwDkB+Sk6auFI/+JHacTekPRSw=="], 82 + 83 + "@rollup/rollup-freebsd-x64": ["@rollup/rollup-freebsd-x64@4.53.1", "", { "os": "freebsd", "cpu": "x64" }, "sha512-J6ma5xgAzvqsnU6a0+jgGX/gvoGokqpkx6zY4cWizRrm0ffhHDpJKQgC8dtDb3+MqfZDIqs64REbfHDMzxLMqQ=="], 84 + 85 + "@rollup/rollup-linux-arm-gnueabihf": ["@rollup/rollup-linux-arm-gnueabihf@4.53.1", "", { "os": "linux", "cpu": "arm" }, "sha512-JzWRR41o2U3/KMNKRuZNsDUAcAVUYhsPuMlx5RUldw0E4lvSIXFUwejtYz1HJXohUmqs/M6BBJAUBzKXZVddbg=="], 86 + 87 + "@rollup/rollup-linux-arm-musleabihf": ["@rollup/rollup-linux-arm-musleabihf@4.53.1", "", { "os": "linux", "cpu": "arm" }, "sha512-L8kRIrnfMrEoHLHtHn+4uYA52fiLDEDyezgxZtGUTiII/yb04Krq+vk3P2Try+Vya9LeCE9ZHU8CXD6J9EhzHQ=="], 88 + 89 + "@rollup/rollup-linux-arm64-gnu": ["@rollup/rollup-linux-arm64-gnu@4.53.1", "", { "os": "linux", "cpu": "arm64" }, "sha512-ysAc0MFRV+WtQ8li8hi3EoFi7us6d1UzaS/+Dp7FYZfg3NdDljGMoVyiIp6Ucz7uhlYDBZ/zt6XI0YEZbUO11Q=="], 90 + 91 + "@rollup/rollup-linux-arm64-musl": ["@rollup/rollup-linux-arm64-musl@4.53.1", "", { "os": "linux", "cpu": "arm64" }, "sha512-UV6l9MJpDbDZZ/fJvqNcvO1PcivGEf1AvKuTcHoLjVZVFeAMygnamCTDikCVMRnA+qJe+B3pSbgX2+lBMqgBhA=="], 92 + 93 + "@rollup/rollup-linux-loong64-gnu": ["@rollup/rollup-linux-loong64-gnu@4.53.1", "", { "os": "linux", "cpu": "none" }, "sha512-UDUtelEprkA85g95Q+nj3Xf0M4hHa4DiJ+3P3h4BuGliY4NReYYqwlc0Y8ICLjN4+uIgCEvaygYlpf0hUj90Yg=="], 94 + 95 + "@rollup/rollup-linux-ppc64-gnu": ["@rollup/rollup-linux-ppc64-gnu@4.53.1", "", { "os": "linux", "cpu": "ppc64" }, "sha512-vrRn+BYhEtNOte/zbc2wAUQReJXxEx2URfTol6OEfY2zFEUK92pkFBSXRylDM7aHi+YqEPJt9/ABYzmcrS4SgQ=="], 96 + 97 + "@rollup/rollup-linux-riscv64-gnu": ["@rollup/rollup-linux-riscv64-gnu@4.53.1", "", { "os": "linux", "cpu": "none" }, "sha512-gto/1CxHyi4A7YqZZNznQYrVlPSaodOBPKM+6xcDSCMVZN/Fzb4K+AIkNz/1yAYz9h3Ng+e2fY9H6bgawVq17w=="], 98 + 99 + "@rollup/rollup-linux-riscv64-musl": ["@rollup/rollup-linux-riscv64-musl@4.53.1", "", { "os": "linux", "cpu": "none" }, "sha512-KZ6Vx7jAw3aLNjFR8eYVcQVdFa/cvBzDNRFM3z7XhNNunWjA03eUrEwJYPk0G8V7Gs08IThFKcAPS4WY/ybIrQ=="], 100 + 101 + "@rollup/rollup-linux-s390x-gnu": ["@rollup/rollup-linux-s390x-gnu@4.53.1", "", { "os": "linux", "cpu": "s390x" }, "sha512-HvEixy2s/rWNgpwyKpXJcHmE7om1M89hxBTBi9Fs6zVuLU4gOrEMQNbNsN/tBVIMbLyysz/iwNiGtMOpLAOlvA=="], 102 + 103 + "@rollup/rollup-linux-x64-gnu": ["@rollup/rollup-linux-x64-gnu@4.53.1", "", { "os": "linux", "cpu": "x64" }, "sha512-E/n8x2MSjAQgjj9IixO4UeEUeqXLtiA7pyoXCFYLuXpBA/t2hnbIdxHfA7kK9BFsYAoNU4st1rHYdldl8dTqGA=="], 104 + 105 + "@rollup/rollup-linux-x64-musl": ["@rollup/rollup-linux-x64-musl@4.53.1", "", { "os": "linux", "cpu": "x64" }, "sha512-IhJ087PbLOQXCN6Ui/3FUkI9pWNZe/Z7rEIVOzMsOs1/HSAECCvSZ7PkIbkNqL/AZn6WbZvnoVZw/qwqYMo4/w=="], 106 + 107 + "@rollup/rollup-openharmony-arm64": ["@rollup/rollup-openharmony-arm64@4.53.1", "", { "os": "none", "cpu": "arm64" }, "sha512-0++oPNgLJHBblreu0SFM7b3mAsBJBTY0Ksrmu9N6ZVrPiTkRgda52mWR7TKhHAsUb9noCjFvAw9l6ZO1yzaVbA=="], 108 + 109 + "@rollup/rollup-win32-arm64-msvc": ["@rollup/rollup-win32-arm64-msvc@4.53.1", "", { "os": "win32", "cpu": "arm64" }, "sha512-VJXivz61c5uVdbmitLkDlbcTk9Or43YC2QVLRkqp86QoeFSqI81bNgjhttqhKNMKnQMWnecOCm7lZz4s+WLGpQ=="], 110 + 111 + "@rollup/rollup-win32-ia32-msvc": ["@rollup/rollup-win32-ia32-msvc@4.53.1", "", { "os": "win32", "cpu": "ia32" }, "sha512-NmZPVTUOitCXUH6erJDzTQ/jotYw4CnkMDjCYRxNHVD9bNyfrGoIse684F9okwzKCV4AIHRbUkeTBc9F2OOH5Q=="], 112 + 113 + "@rollup/rollup-win32-x64-gnu": ["@rollup/rollup-win32-x64-gnu@4.53.1", "", { "os": "win32", "cpu": "x64" }, "sha512-2SNj7COIdAf6yliSpLdLG8BEsp5lgzRehgfkP0Av8zKfQFKku6JcvbobvHASPJu4f3BFxej5g+HuQPvqPhHvpQ=="], 114 + 115 + "@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.53.1", "", { "os": "win32", "cpu": "x64" }, "sha512-rLarc1Ofcs3DHtgSzFO31pZsCh8g05R2azN1q3fF+H423Co87My0R+tazOEvYVKXSLh8C4LerMK41/K7wlklcg=="], 116 + 117 + "@tauri-apps/api": ["@tauri-apps/api@2.9.0", "", {}, "sha512-qD5tMjh7utwBk9/5PrTA/aGr3i5QaJ/Mlt7p8NilQ45WgbifUNPyKWsA63iQ8YfQq6R8ajMapU+/Q8nMcPRLNw=="], 118 + 119 + "@tauri-apps/cli": ["@tauri-apps/cli@2.9.3", "", { "optionalDependencies": { "@tauri-apps/cli-darwin-arm64": "2.9.3", "@tauri-apps/cli-darwin-x64": "2.9.3", "@tauri-apps/cli-linux-arm-gnueabihf": "2.9.3", "@tauri-apps/cli-linux-arm64-gnu": "2.9.3", "@tauri-apps/cli-linux-arm64-musl": "2.9.3", "@tauri-apps/cli-linux-riscv64-gnu": "2.9.3", "@tauri-apps/cli-linux-x64-gnu": "2.9.3", "@tauri-apps/cli-linux-x64-musl": "2.9.3", "@tauri-apps/cli-win32-arm64-msvc": "2.9.3", "@tauri-apps/cli-win32-ia32-msvc": "2.9.3", "@tauri-apps/cli-win32-x64-msvc": "2.9.3" }, "bin": { "tauri": "tauri.js" } }, "sha512-BQ7iLUXTQcyG1PpzLWeVSmBCedYDpnA/6Cm/kRFGtqjTf/eVUlyYO5S2ee07tLum3nWwDBWTGFZeruO8yEukfA=="], 120 + 121 + "@tauri-apps/cli-darwin-arm64": ["@tauri-apps/cli-darwin-arm64@2.9.3", "", { "os": "darwin", "cpu": "arm64" }, "sha512-W8FQXZXQmQ0Fmj9UJXNrm2mLdIaLLriKVY7o/FzmizyIKTPIvHjfZALTNybbpTQRbJvKoGHLrW1DNzAWVDWJYg=="], 122 + 123 + "@tauri-apps/cli-darwin-x64": ["@tauri-apps/cli-darwin-x64@2.9.3", "", { "os": "darwin", "cpu": "x64" }, "sha512-zDwu40rlshijt3TU6aRvzPUyVpapsx1sNfOlreDMTaMelQLHl6YoQzSRpLHYwrHrhimxyX2uDqnKIiuGel0Lhg=="], 124 + 125 + "@tauri-apps/cli-linux-arm-gnueabihf": ["@tauri-apps/cli-linux-arm-gnueabihf@2.9.3", "", { "os": "linux", "cpu": "arm" }, "sha512-+Oc2OfcTRwYtW93VJqd/HOk77buORwC9IToj/qsEvM7bTMq6Kda4alpZprzwrCHYANSw+zD8PgjJdljTpe4p+g=="], 126 + 127 + "@tauri-apps/cli-linux-arm64-gnu": ["@tauri-apps/cli-linux-arm64-gnu@2.9.3", "", { "os": "linux", "cpu": "arm64" }, "sha512-59GqU/J1n9wFyAtleoQOaU0oVIo+kwQynEw4meFDoKRXszKGor6lTsbsS3r0QKLSPbc0o/yYGJhqqCtkYjb/eg=="], 128 + 129 + "@tauri-apps/cli-linux-arm64-musl": ["@tauri-apps/cli-linux-arm64-musl@2.9.3", "", { "os": "linux", "cpu": "arm64" }, "sha512-fzvG+jEn5/iYGNH6Z2IRMheYFC4pJdXa19BR9fFm6Bdn2cuajRLDKdUcEME/DCtwqclphXtFZTrT4oezY5vI/A=="], 130 + 131 + "@tauri-apps/cli-linux-riscv64-gnu": ["@tauri-apps/cli-linux-riscv64-gnu@2.9.3", "", { "os": "linux", "cpu": "none" }, "sha512-qV8DZXI/fZwawk6T3Th1g6smiNC2KeQTk7XFgKvqZ6btC01z3UTsQmNGvI602zwm3Ld1TBZb4+rEWu2QmQimmw=="], 132 + 133 + "@tauri-apps/cli-linux-x64-gnu": ["@tauri-apps/cli-linux-x64-gnu@2.9.3", "", { "os": "linux", "cpu": "x64" }, "sha512-tquyEONCNRfqEBWEe4eAHnxFN5yY5lFkCuD4w79XLIovUxVftQ684+xLp7zkhntkt4y20SMj2AgJa/+MOlx4Kg=="], 134 + 135 + "@tauri-apps/cli-linux-x64-musl": ["@tauri-apps/cli-linux-x64-musl@2.9.3", "", { "os": "linux", "cpu": "x64" }, "sha512-v2cBIB/6ji8DL+aiL5QUykU3ZO8OoJGyx50/qv2HQVzkf85KdaYSis3D/oVRemN/pcDz+vyCnnL3XnzFnDl4JQ=="], 136 + 137 + "@tauri-apps/cli-win32-arm64-msvc": ["@tauri-apps/cli-win32-arm64-msvc@2.9.3", "", { "os": "win32", "cpu": "arm64" }, "sha512-ZGvBy7nvrHPbE0HeKp/ioaiw8bNgAHxWnb7JRZ4/G0A+oFj0SeSFxl9k5uU6FKnM7bHM23Gd1oeaDex9g5Fceg=="], 138 + 139 + "@tauri-apps/cli-win32-ia32-msvc": ["@tauri-apps/cli-win32-ia32-msvc@2.9.3", "", { "os": "win32", "cpu": "ia32" }, "sha512-UsgIwOnpCoY9NK9/65QiwgmWVIE80LE7SwRYVblGtmlY9RYfsYvpbItwsovA/AcHMTiO+OCvS/q9yLeqS3m6Sg=="], 140 + 141 + "@tauri-apps/cli-win32-x64-msvc": ["@tauri-apps/cli-win32-x64-msvc@2.9.3", "", { "os": "win32", "cpu": "x64" }, "sha512-fmw7NrrHE5m49idCvJAx9T9bsupjdJ0a3p3DPCNCZRGANU6R1tA1L+KTlVuUtdAldX2NqU/9UPo2SCslYKgJHQ=="], 142 + 143 + "@tauri-apps/plugin-opener": ["@tauri-apps/plugin-opener@2.5.2", "", { "dependencies": { "@tauri-apps/api": "^2.8.0" } }, "sha512-ei/yRRoCklWHImwpCcDK3VhNXx+QXM9793aQ64YxpqVF0BDuuIlXhZgiAkc15wnPVav+IbkYhmDJIv5R326Mew=="], 144 + 145 + "@tauri-apps/plugin-store": ["@tauri-apps/plugin-store@2.4.1", "", { "dependencies": { "@tauri-apps/api": "^2.8.0" } }, "sha512-ckGSEzZ5Ii4Hf2D5x25Oqnm2Zf9MfDWAzR+volY0z/OOBz6aucPKEY0F649JvQ0Vupku6UJo7ugpGRDOFOunkA=="], 146 + 147 + "@types/alpinejs": ["@types/alpinejs@3.13.11", "", {}, "sha512-3KhGkDixCPiLdL3Z/ok1GxHwLxEWqQOKJccgaQL01wc0EVM2tCTaqlC3NIedmxAXkVzt/V6VTM8qPgnOHKJ1MA=="], 148 + 149 + "@types/estree": ["@types/estree@1.0.8", "", {}, "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w=="], 150 + 151 + "@vue/reactivity": ["@vue/reactivity@3.1.5", "", { "dependencies": { "@vue/shared": "3.1.5" } }, "sha512-1tdfLmNjWG6t/CsPldh+foumYFo3cpyCHgBYQ34ylaMsJ+SNHQ1kApMIa8jN+i593zQuaw3AdWH0nJTARzCFhg=="], 152 + 153 + "@vue/shared": ["@vue/shared@3.1.5", "", {}, "sha512-oJ4F3TnvpXaQwZJNF3ZK+kLPHKarDmJjJ6jyzVNDKH9md1dptjC7lWR//jrGuLdek/U6iltWxqAnYOu8gCiOvA=="], 154 + 155 + "alpinejs": ["alpinejs@3.15.1", "", { "dependencies": { "@vue/reactivity": "~3.1.1" } }, "sha512-HLO1TtiE92VajFHtLLPK8BWaK1YepV/uj31UrfoGnQ00lyFOJZ+oVY3F0DghPAwvg8sLU79pmjGQSytERa2gEg=="], 156 + 157 + "esbuild": ["esbuild@0.25.12", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.25.12", "@esbuild/android-arm": "0.25.12", "@esbuild/android-arm64": "0.25.12", "@esbuild/android-x64": "0.25.12", "@esbuild/darwin-arm64": "0.25.12", "@esbuild/darwin-x64": "0.25.12", "@esbuild/freebsd-arm64": "0.25.12", "@esbuild/freebsd-x64": "0.25.12", "@esbuild/linux-arm": "0.25.12", "@esbuild/linux-arm64": "0.25.12", "@esbuild/linux-ia32": "0.25.12", "@esbuild/linux-loong64": "0.25.12", "@esbuild/linux-mips64el": "0.25.12", "@esbuild/linux-ppc64": "0.25.12", "@esbuild/linux-riscv64": "0.25.12", "@esbuild/linux-s390x": "0.25.12", "@esbuild/linux-x64": "0.25.12", "@esbuild/netbsd-arm64": "0.25.12", "@esbuild/netbsd-x64": "0.25.12", "@esbuild/openbsd-arm64": "0.25.12", "@esbuild/openbsd-x64": "0.25.12", "@esbuild/openharmony-arm64": "0.25.12", "@esbuild/sunos-x64": "0.25.12", "@esbuild/win32-arm64": "0.25.12", "@esbuild/win32-ia32": "0.25.12", "@esbuild/win32-x64": "0.25.12" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg=="], 158 + 159 + "fdir": ["fdir@6.5.0", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="], 160 + 161 + "fsevents": ["fsevents@2.3.3", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="], 162 + 163 + "nanoid": ["nanoid@3.3.11", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w=="], 164 + 165 + "picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="], 166 + 167 + "picomatch": ["picomatch@4.0.3", "", {}, "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q=="], 168 + 169 + "postcss": ["postcss@8.5.6", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg=="], 170 + 171 + "rollup": ["rollup@4.53.1", "", { "dependencies": { "@types/estree": "1.0.8" }, "optionalDependencies": { "@rollup/rollup-android-arm-eabi": "4.53.1", "@rollup/rollup-android-arm64": "4.53.1", "@rollup/rollup-darwin-arm64": "4.53.1", "@rollup/rollup-darwin-x64": "4.53.1", "@rollup/rollup-freebsd-arm64": "4.53.1", "@rollup/rollup-freebsd-x64": "4.53.1", "@rollup/rollup-linux-arm-gnueabihf": "4.53.1", "@rollup/rollup-linux-arm-musleabihf": "4.53.1", "@rollup/rollup-linux-arm64-gnu": "4.53.1", "@rollup/rollup-linux-arm64-musl": "4.53.1", "@rollup/rollup-linux-loong64-gnu": "4.53.1", "@rollup/rollup-linux-ppc64-gnu": "4.53.1", "@rollup/rollup-linux-riscv64-gnu": "4.53.1", "@rollup/rollup-linux-riscv64-musl": "4.53.1", "@rollup/rollup-linux-s390x-gnu": "4.53.1", "@rollup/rollup-linux-x64-gnu": "4.53.1", "@rollup/rollup-linux-x64-musl": "4.53.1", "@rollup/rollup-openharmony-arm64": "4.53.1", "@rollup/rollup-win32-arm64-msvc": "4.53.1", "@rollup/rollup-win32-ia32-msvc": "4.53.1", "@rollup/rollup-win32-x64-gnu": "4.53.1", "@rollup/rollup-win32-x64-msvc": "4.53.1", "fsevents": "~2.3.2" }, "bin": { "rollup": "dist/bin/rollup" } }, "sha512-n2I0V0lN3E9cxxMqBCT3opWOiQBzRN7UG60z/WDKqdX2zHUS/39lezBcsckZFsV6fUTSnfqI7kHf60jDAPGKug=="], 172 + 173 + "source-map-js": ["source-map-js@1.2.1", "", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="], 174 + 175 + "tinyglobby": ["tinyglobby@0.2.15", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.3" } }, "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ=="], 176 + 177 + "typescript": ["typescript@5.6.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw=="], 178 + 179 + "vite": ["vite@6.4.1", "", { "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", "picomatch": "^4.0.2", "postcss": "^8.5.3", "rollup": "^4.34.9", "tinyglobby": "^0.2.13" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", "jiti": ">=1.21.0", "less": "*", "lightningcss": "^1.21.0", "sass": "*", "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "jiti", "less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g=="], 180 + } 181 + }
+58
app/index copy.html
··· 1 + <!doctype html> 2 + <html lang="en"> 3 + <head> 4 + <meta charset="UTF-8" /> 5 + <title>Position Share – Signup</title> 6 + <script type="module" src="/src/main.ts"></script> 7 + <link rel="stylesheet" href="/src/styles.css" /> 8 + </head> 9 + 10 + <body> 11 + <div class="card"> 12 + <div class="header"> 13 + <div class="icon-circle"> 14 + <img src="./src/assets/pin.svg" alt="Pin Icon" /> 15 + </div> 16 + <h1>Position Share</h1> 17 + <p>Connect with your server to start sharing</p> 18 + </div> 19 + 20 + <!-- x-data connects this element to the signupState Alpine component, enabling its data (serverAddress and signupKey) and functions (signup and scanQR) to work within it :) --> 21 + <div class="actions" x-data="signupState"> 22 + <div> 23 + <label for="server">Server Address</label> 24 + <input id="server" type="url" placeholder="https://your-server.com" x-model="serverAddress" required /> 25 + </div> 26 + 27 + <div> 28 + <label for="key">Signup Key</label> 29 + <input id="key" type="password" placeholder="Enter your signup key" x-model="signupKey" required /> 30 + </div> 31 + 32 + <p class="hint">Scan a QR code to automatically fill both server address and signup key</p> 33 + <button type="button" class="btn-qr" @click="scanQR"> 34 + <img src="./src/assets/qr.svg" alt="QR Icon" /> 35 + Scan QR Code 36 + </button> 37 + 38 + <button class="btn-primary" @click="signup">Connect</button> 39 + </div> 40 + </div> 41 + 42 + <script> 43 + function signupState() { 44 + return { 45 + serverAddress: "", 46 + signupKey: "", 47 + // we have the functions within a bigger function because this is how we can access the variables we define (by using this.variableWeWant) 48 + signup() { 49 + alert(this.serverAddress); 50 + }, 51 + scanQR() { 52 + alert(this.signupKey); 53 + }, 54 + }; 55 + } 56 + </script> 57 + </body> 58 + </html>
+61
app/index.html
··· 1 + <!doctype html> 2 + <html lang="en"> 3 + <head> 4 + <meta charset="UTF-8" /> 5 + <script type="module"> 6 + import Alpine from "alpinejs"; 7 + window.Alpine = Alpine; 8 + Alpine.start(); 9 + </script> 10 + <link rel="stylesheet" href="/src/styles.css" /> 11 + </head> 12 + 13 + <body> 14 + <div class="card"> 15 + <div class="header"> 16 + <div class="icon-circle"> 17 + <img src="./src/assets/pin.svg" alt="Pin Icon" /> 18 + </div> 19 + <h1>Position Share</h1> 20 + <p>Connect with your server to start sharing</p> 21 + </div> 22 + 23 + <!-- x-data connects this element to the signupState Alpine component, enabling its data (serverAddress and signupKey) and functions (signup and scanQR) to work within it :) --> 24 + <div class="actions" x-data="signupState"> 25 + <div> 26 + <label for="server">Server Address</label> 27 + <input id="server" type="url" placeholder="https://your-server.com" x-model="serverAddress" required /> 28 + </div> 29 + 30 + <div> 31 + <label for="key">Signup Key</label> 32 + <input id="key" type="password" placeholder="Enter your signup key" x-model="signupKey" required /> 33 + </div> 34 + 35 + <p class="hint">Scan a QR code to automatically fill both server address and signup key</p> 36 + <button type="button" class="btn-qr" @click="scanQR"> 37 + <img src="./src/assets/qr.svg" alt="QR Icon" /> 38 + Scan QR Code 39 + </button> 40 + 41 + <button class="btn-primary" @click="signup">Connect</button> 42 + </div> 43 + </div> 44 + 45 + <script> 46 + function signupState() { 47 + return { 48 + serverAddress: "", 49 + signupKey: "", 50 + // we have the functions within a bigger function because this is how we can access the variables we define (by using this.variableWeWant) 51 + signup() { 52 + alert(this.serverAddress); 53 + }, 54 + scanQR() { 55 + alert(this.signupKey); 56 + }, 57 + }; 58 + } 59 + </script> 60 + </body> 61 + </html>
+24
app/package.json
··· 1 + { 2 + "name": "privacypin", 3 + "private": true, 4 + "version": "0.1.0", 5 + "type": "module", 6 + "scripts": { 7 + "dev": "vite", 8 + "build": "tsc && vite build", 9 + "preview": "vite preview", 10 + "tauri": "WEBKIT_DISABLE_DMABUF_RENDERER=1 tauri" 11 + }, 12 + "dependencies": { 13 + "@tauri-apps/api": "^2", 14 + "@tauri-apps/plugin-opener": "^2", 15 + "@tauri-apps/plugin-store": "^2.4.1", 16 + "alpinejs": "^3.15.1" 17 + }, 18 + "devDependencies": { 19 + "@tauri-apps/cli": "^2", 20 + "@types/alpinejs": "^3.13.11", 21 + "typescript": "~5.6.2", 22 + "vite": "^6.0.3" 23 + } 24 + }
+7
app/src-tauri/.gitignore
··· 1 + # Generated by Cargo 2 + # will have compiled files and executables 3 + /target/ 4 + 5 + # Generated by Tauri 6 + # will have schema files for capabilities auto-completion 7 + /gen/schemas
+5252
app/src-tauri/Cargo.lock
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + version = 4 4 + 5 + [[package]] 6 + name = "adler2" 7 + version = "2.0.1" 8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" 10 + 11 + [[package]] 12 + name = "aho-corasick" 13 + version = "1.1.4" 14 + source = "registry+https://github.com/rust-lang/crates.io-index" 15 + checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" 16 + dependencies = [ 17 + "memchr", 18 + ] 19 + 20 + [[package]] 21 + name = "alloc-no-stdlib" 22 + version = "2.0.4" 23 + source = "registry+https://github.com/rust-lang/crates.io-index" 24 + checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3" 25 + 26 + [[package]] 27 + name = "alloc-stdlib" 28 + version = "0.2.2" 29 + source = "registry+https://github.com/rust-lang/crates.io-index" 30 + checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece" 31 + dependencies = [ 32 + "alloc-no-stdlib", 33 + ] 34 + 35 + [[package]] 36 + name = "android_system_properties" 37 + version = "0.1.5" 38 + source = "registry+https://github.com/rust-lang/crates.io-index" 39 + checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" 40 + dependencies = [ 41 + "libc", 42 + ] 43 + 44 + [[package]] 45 + name = "anyhow" 46 + version = "1.0.100" 47 + source = "registry+https://github.com/rust-lang/crates.io-index" 48 + checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" 49 + 50 + [[package]] 51 + name = "async-broadcast" 52 + version = "0.7.2" 53 + source = "registry+https://github.com/rust-lang/crates.io-index" 54 + checksum = "435a87a52755b8f27fcf321ac4f04b2802e337c8c4872923137471ec39c37532" 55 + dependencies = [ 56 + "event-listener", 57 + "event-listener-strategy", 58 + "futures-core", 59 + "pin-project-lite", 60 + ] 61 + 62 + [[package]] 63 + name = "async-channel" 64 + version = "2.5.0" 65 + source = "registry+https://github.com/rust-lang/crates.io-index" 66 + checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2" 67 + dependencies = [ 68 + "concurrent-queue", 69 + "event-listener-strategy", 70 + "futures-core", 71 + "pin-project-lite", 72 + ] 73 + 74 + [[package]] 75 + name = "async-executor" 76 + version = "1.13.3" 77 + source = "registry+https://github.com/rust-lang/crates.io-index" 78 + checksum = "497c00e0fd83a72a79a39fcbd8e3e2f055d6f6c7e025f3b3d91f4f8e76527fb8" 79 + dependencies = [ 80 + "async-task", 81 + "concurrent-queue", 82 + "fastrand", 83 + "futures-lite", 84 + "pin-project-lite", 85 + "slab", 86 + ] 87 + 88 + [[package]] 89 + name = "async-io" 90 + version = "2.6.0" 91 + source = "registry+https://github.com/rust-lang/crates.io-index" 92 + checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc" 93 + dependencies = [ 94 + "autocfg", 95 + "cfg-if", 96 + "concurrent-queue", 97 + "futures-io", 98 + "futures-lite", 99 + "parking", 100 + "polling", 101 + "rustix", 102 + "slab", 103 + "windows-sys 0.61.2", 104 + ] 105 + 106 + [[package]] 107 + name = "async-lock" 108 + version = "3.4.1" 109 + source = "registry+https://github.com/rust-lang/crates.io-index" 110 + checksum = "5fd03604047cee9b6ce9de9f70c6cd540a0520c813cbd49bae61f33ab80ed1dc" 111 + dependencies = [ 112 + "event-listener", 113 + "event-listener-strategy", 114 + "pin-project-lite", 115 + ] 116 + 117 + [[package]] 118 + name = "async-process" 119 + version = "2.5.0" 120 + source = "registry+https://github.com/rust-lang/crates.io-index" 121 + checksum = "fc50921ec0055cdd8a16de48773bfeec5c972598674347252c0399676be7da75" 122 + dependencies = [ 123 + "async-channel", 124 + "async-io", 125 + "async-lock", 126 + "async-signal", 127 + "async-task", 128 + "blocking", 129 + "cfg-if", 130 + "event-listener", 131 + "futures-lite", 132 + "rustix", 133 + ] 134 + 135 + [[package]] 136 + name = "async-recursion" 137 + version = "1.1.1" 138 + source = "registry+https://github.com/rust-lang/crates.io-index" 139 + checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" 140 + dependencies = [ 141 + "proc-macro2", 142 + "quote", 143 + "syn 2.0.109", 144 + ] 145 + 146 + [[package]] 147 + name = "async-signal" 148 + version = "0.2.13" 149 + source = "registry+https://github.com/rust-lang/crates.io-index" 150 + checksum = "43c070bbf59cd3570b6b2dd54cd772527c7c3620fce8be898406dd3ed6adc64c" 151 + dependencies = [ 152 + "async-io", 153 + "async-lock", 154 + "atomic-waker", 155 + "cfg-if", 156 + "futures-core", 157 + "futures-io", 158 + "rustix", 159 + "signal-hook-registry", 160 + "slab", 161 + "windows-sys 0.61.2", 162 + ] 163 + 164 + [[package]] 165 + name = "async-task" 166 + version = "4.7.1" 167 + source = "registry+https://github.com/rust-lang/crates.io-index" 168 + checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" 169 + 170 + [[package]] 171 + name = "async-trait" 172 + version = "0.1.89" 173 + source = "registry+https://github.com/rust-lang/crates.io-index" 174 + checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" 175 + dependencies = [ 176 + "proc-macro2", 177 + "quote", 178 + "syn 2.0.109", 179 + ] 180 + 181 + [[package]] 182 + name = "atk" 183 + version = "0.18.2" 184 + source = "registry+https://github.com/rust-lang/crates.io-index" 185 + checksum = "241b621213072e993be4f6f3a9e4b45f65b7e6faad43001be957184b7bb1824b" 186 + dependencies = [ 187 + "atk-sys", 188 + "glib", 189 + "libc", 190 + ] 191 + 192 + [[package]] 193 + name = "atk-sys" 194 + version = "0.18.2" 195 + source = "registry+https://github.com/rust-lang/crates.io-index" 196 + checksum = "c5e48b684b0ca77d2bbadeef17424c2ea3c897d44d566a1617e7e8f30614d086" 197 + dependencies = [ 198 + "glib-sys", 199 + "gobject-sys", 200 + "libc", 201 + "system-deps", 202 + ] 203 + 204 + [[package]] 205 + name = "atomic-waker" 206 + version = "1.1.2" 207 + source = "registry+https://github.com/rust-lang/crates.io-index" 208 + checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" 209 + 210 + [[package]] 211 + name = "autocfg" 212 + version = "1.5.0" 213 + source = "registry+https://github.com/rust-lang/crates.io-index" 214 + checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" 215 + 216 + [[package]] 217 + name = "base64" 218 + version = "0.21.7" 219 + source = "registry+https://github.com/rust-lang/crates.io-index" 220 + checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" 221 + 222 + [[package]] 223 + name = "base64" 224 + version = "0.22.1" 225 + source = "registry+https://github.com/rust-lang/crates.io-index" 226 + checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" 227 + 228 + [[package]] 229 + name = "bitflags" 230 + version = "1.3.2" 231 + source = "registry+https://github.com/rust-lang/crates.io-index" 232 + checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 233 + 234 + [[package]] 235 + name = "bitflags" 236 + version = "2.10.0" 237 + source = "registry+https://github.com/rust-lang/crates.io-index" 238 + checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" 239 + dependencies = [ 240 + "serde_core", 241 + ] 242 + 243 + [[package]] 244 + name = "block-buffer" 245 + version = "0.10.4" 246 + source = "registry+https://github.com/rust-lang/crates.io-index" 247 + checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 248 + dependencies = [ 249 + "generic-array", 250 + ] 251 + 252 + [[package]] 253 + name = "block2" 254 + version = "0.5.1" 255 + source = "registry+https://github.com/rust-lang/crates.io-index" 256 + checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f" 257 + dependencies = [ 258 + "objc2 0.5.2", 259 + ] 260 + 261 + [[package]] 262 + name = "block2" 263 + version = "0.6.2" 264 + source = "registry+https://github.com/rust-lang/crates.io-index" 265 + checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" 266 + dependencies = [ 267 + "objc2 0.6.3", 268 + ] 269 + 270 + [[package]] 271 + name = "blocking" 272 + version = "1.6.2" 273 + source = "registry+https://github.com/rust-lang/crates.io-index" 274 + checksum = "e83f8d02be6967315521be875afa792a316e28d57b5a2d401897e2a7921b7f21" 275 + dependencies = [ 276 + "async-channel", 277 + "async-task", 278 + "futures-io", 279 + "futures-lite", 280 + "piper", 281 + ] 282 + 283 + [[package]] 284 + name = "brotli" 285 + version = "8.0.2" 286 + source = "registry+https://github.com/rust-lang/crates.io-index" 287 + checksum = "4bd8b9603c7aa97359dbd97ecf258968c95f3adddd6db2f7e7a5bef101c84560" 288 + dependencies = [ 289 + "alloc-no-stdlib", 290 + "alloc-stdlib", 291 + "brotli-decompressor", 292 + ] 293 + 294 + [[package]] 295 + name = "brotli-decompressor" 296 + version = "5.0.0" 297 + source = "registry+https://github.com/rust-lang/crates.io-index" 298 + checksum = "874bb8112abecc98cbd6d81ea4fa7e94fb9449648c93cc89aa40c81c24d7de03" 299 + dependencies = [ 300 + "alloc-no-stdlib", 301 + "alloc-stdlib", 302 + ] 303 + 304 + [[package]] 305 + name = "bumpalo" 306 + version = "3.19.0" 307 + source = "registry+https://github.com/rust-lang/crates.io-index" 308 + checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" 309 + 310 + [[package]] 311 + name = "bytemuck" 312 + version = "1.24.0" 313 + source = "registry+https://github.com/rust-lang/crates.io-index" 314 + checksum = "1fbdf580320f38b612e485521afda1ee26d10cc9884efaaa750d383e13e3c5f4" 315 + 316 + [[package]] 317 + name = "byteorder" 318 + version = "1.5.0" 319 + source = "registry+https://github.com/rust-lang/crates.io-index" 320 + checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" 321 + 322 + [[package]] 323 + name = "bytes" 324 + version = "1.10.1" 325 + source = "registry+https://github.com/rust-lang/crates.io-index" 326 + checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" 327 + dependencies = [ 328 + "serde", 329 + ] 330 + 331 + [[package]] 332 + name = "cairo-rs" 333 + version = "0.18.5" 334 + source = "registry+https://github.com/rust-lang/crates.io-index" 335 + checksum = "8ca26ef0159422fb77631dc9d17b102f253b876fe1586b03b803e63a309b4ee2" 336 + dependencies = [ 337 + "bitflags 2.10.0", 338 + "cairo-sys-rs", 339 + "glib", 340 + "libc", 341 + "once_cell", 342 + "thiserror 1.0.69", 343 + ] 344 + 345 + [[package]] 346 + name = "cairo-sys-rs" 347 + version = "0.18.2" 348 + source = "registry+https://github.com/rust-lang/crates.io-index" 349 + checksum = "685c9fa8e590b8b3d678873528d83411db17242a73fccaed827770ea0fedda51" 350 + dependencies = [ 351 + "glib-sys", 352 + "libc", 353 + "system-deps", 354 + ] 355 + 356 + [[package]] 357 + name = "camino" 358 + version = "1.2.1" 359 + source = "registry+https://github.com/rust-lang/crates.io-index" 360 + checksum = "276a59bf2b2c967788139340c9f0c5b12d7fd6630315c15c217e559de85d2609" 361 + dependencies = [ 362 + "serde_core", 363 + ] 364 + 365 + [[package]] 366 + name = "cargo-platform" 367 + version = "0.1.9" 368 + source = "registry+https://github.com/rust-lang/crates.io-index" 369 + checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea" 370 + dependencies = [ 371 + "serde", 372 + ] 373 + 374 + [[package]] 375 + name = "cargo_metadata" 376 + version = "0.19.2" 377 + source = "registry+https://github.com/rust-lang/crates.io-index" 378 + checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" 379 + dependencies = [ 380 + "camino", 381 + "cargo-platform", 382 + "semver", 383 + "serde", 384 + "serde_json", 385 + "thiserror 2.0.17", 386 + ] 387 + 388 + [[package]] 389 + name = "cargo_toml" 390 + version = "0.22.3" 391 + source = "registry+https://github.com/rust-lang/crates.io-index" 392 + checksum = "374b7c592d9c00c1f4972ea58390ac6b18cbb6ab79011f3bdc90a0b82ca06b77" 393 + dependencies = [ 394 + "serde", 395 + "toml 0.9.8", 396 + ] 397 + 398 + [[package]] 399 + name = "cc" 400 + version = "1.2.45" 401 + source = "registry+https://github.com/rust-lang/crates.io-index" 402 + checksum = "35900b6c8d709fb1d854671ae27aeaa9eec2f8b01b364e1619a40da3e6fe2afe" 403 + dependencies = [ 404 + "find-msvc-tools", 405 + "shlex", 406 + ] 407 + 408 + [[package]] 409 + name = "cesu8" 410 + version = "1.1.0" 411 + source = "registry+https://github.com/rust-lang/crates.io-index" 412 + checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" 413 + 414 + [[package]] 415 + name = "cfb" 416 + version = "0.7.3" 417 + source = "registry+https://github.com/rust-lang/crates.io-index" 418 + checksum = "d38f2da7a0a2c4ccf0065be06397cc26a81f4e528be095826eee9d4adbb8c60f" 419 + dependencies = [ 420 + "byteorder", 421 + "fnv", 422 + "uuid", 423 + ] 424 + 425 + [[package]] 426 + name = "cfg-expr" 427 + version = "0.15.8" 428 + source = "registry+https://github.com/rust-lang/crates.io-index" 429 + checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" 430 + dependencies = [ 431 + "smallvec", 432 + "target-lexicon", 433 + ] 434 + 435 + [[package]] 436 + name = "cfg-if" 437 + version = "1.0.4" 438 + source = "registry+https://github.com/rust-lang/crates.io-index" 439 + checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" 440 + 441 + [[package]] 442 + name = "cfg_aliases" 443 + version = "0.2.1" 444 + source = "registry+https://github.com/rust-lang/crates.io-index" 445 + checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" 446 + 447 + [[package]] 448 + name = "chrono" 449 + version = "0.4.42" 450 + source = "registry+https://github.com/rust-lang/crates.io-index" 451 + checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2" 452 + dependencies = [ 453 + "iana-time-zone", 454 + "num-traits", 455 + "serde", 456 + "windows-link 0.2.1", 457 + ] 458 + 459 + [[package]] 460 + name = "combine" 461 + version = "4.6.7" 462 + source = "registry+https://github.com/rust-lang/crates.io-index" 463 + checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" 464 + dependencies = [ 465 + "bytes", 466 + "memchr", 467 + ] 468 + 469 + [[package]] 470 + name = "concurrent-queue" 471 + version = "2.5.0" 472 + source = "registry+https://github.com/rust-lang/crates.io-index" 473 + checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" 474 + dependencies = [ 475 + "crossbeam-utils", 476 + ] 477 + 478 + [[package]] 479 + name = "convert_case" 480 + version = "0.4.0" 481 + source = "registry+https://github.com/rust-lang/crates.io-index" 482 + checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" 483 + 484 + [[package]] 485 + name = "cookie" 486 + version = "0.18.1" 487 + source = "registry+https://github.com/rust-lang/crates.io-index" 488 + checksum = "4ddef33a339a91ea89fb53151bd0a4689cfce27055c291dfa69945475d22c747" 489 + dependencies = [ 490 + "time", 491 + "version_check", 492 + ] 493 + 494 + [[package]] 495 + name = "core-foundation" 496 + version = "0.10.1" 497 + source = "registry+https://github.com/rust-lang/crates.io-index" 498 + checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" 499 + dependencies = [ 500 + "core-foundation-sys", 501 + "libc", 502 + ] 503 + 504 + [[package]] 505 + name = "core-foundation-sys" 506 + version = "0.8.7" 507 + source = "registry+https://github.com/rust-lang/crates.io-index" 508 + checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" 509 + 510 + [[package]] 511 + name = "core-graphics" 512 + version = "0.24.0" 513 + source = "registry+https://github.com/rust-lang/crates.io-index" 514 + checksum = "fa95a34622365fa5bbf40b20b75dba8dfa8c94c734aea8ac9a5ca38af14316f1" 515 + dependencies = [ 516 + "bitflags 2.10.0", 517 + "core-foundation", 518 + "core-graphics-types", 519 + "foreign-types", 520 + "libc", 521 + ] 522 + 523 + [[package]] 524 + name = "core-graphics-types" 525 + version = "0.2.0" 526 + source = "registry+https://github.com/rust-lang/crates.io-index" 527 + checksum = "3d44a101f213f6c4cdc1853d4b78aef6db6bdfa3468798cc1d9912f4735013eb" 528 + dependencies = [ 529 + "bitflags 2.10.0", 530 + "core-foundation", 531 + "libc", 532 + ] 533 + 534 + [[package]] 535 + name = "cpufeatures" 536 + version = "0.2.17" 537 + source = "registry+https://github.com/rust-lang/crates.io-index" 538 + checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" 539 + dependencies = [ 540 + "libc", 541 + ] 542 + 543 + [[package]] 544 + name = "crc32fast" 545 + version = "1.5.0" 546 + source = "registry+https://github.com/rust-lang/crates.io-index" 547 + checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" 548 + dependencies = [ 549 + "cfg-if", 550 + ] 551 + 552 + [[package]] 553 + name = "crossbeam-channel" 554 + version = "0.5.15" 555 + source = "registry+https://github.com/rust-lang/crates.io-index" 556 + checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" 557 + dependencies = [ 558 + "crossbeam-utils", 559 + ] 560 + 561 + [[package]] 562 + name = "crossbeam-utils" 563 + version = "0.8.21" 564 + source = "registry+https://github.com/rust-lang/crates.io-index" 565 + checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" 566 + 567 + [[package]] 568 + name = "crypto-common" 569 + version = "0.1.6" 570 + source = "registry+https://github.com/rust-lang/crates.io-index" 571 + checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 572 + dependencies = [ 573 + "generic-array", 574 + "typenum", 575 + ] 576 + 577 + [[package]] 578 + name = "cssparser" 579 + version = "0.29.6" 580 + source = "registry+https://github.com/rust-lang/crates.io-index" 581 + checksum = "f93d03419cb5950ccfd3daf3ff1c7a36ace64609a1a8746d493df1ca0afde0fa" 582 + dependencies = [ 583 + "cssparser-macros", 584 + "dtoa-short", 585 + "itoa", 586 + "matches", 587 + "phf 0.10.1", 588 + "proc-macro2", 589 + "quote", 590 + "smallvec", 591 + "syn 1.0.109", 592 + ] 593 + 594 + [[package]] 595 + name = "cssparser-macros" 596 + version = "0.6.1" 597 + source = "registry+https://github.com/rust-lang/crates.io-index" 598 + checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331" 599 + dependencies = [ 600 + "quote", 601 + "syn 2.0.109", 602 + ] 603 + 604 + [[package]] 605 + name = "ctor" 606 + version = "0.2.9" 607 + source = "registry+https://github.com/rust-lang/crates.io-index" 608 + checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501" 609 + dependencies = [ 610 + "quote", 611 + "syn 2.0.109", 612 + ] 613 + 614 + [[package]] 615 + name = "darling" 616 + version = "0.21.3" 617 + source = "registry+https://github.com/rust-lang/crates.io-index" 618 + checksum = "9cdf337090841a411e2a7f3deb9187445851f91b309c0c0a29e05f74a00a48c0" 619 + dependencies = [ 620 + "darling_core", 621 + "darling_macro", 622 + ] 623 + 624 + [[package]] 625 + name = "darling_core" 626 + version = "0.21.3" 627 + source = "registry+https://github.com/rust-lang/crates.io-index" 628 + checksum = "1247195ecd7e3c85f83c8d2a366e4210d588e802133e1e355180a9870b517ea4" 629 + dependencies = [ 630 + "fnv", 631 + "ident_case", 632 + "proc-macro2", 633 + "quote", 634 + "strsim", 635 + "syn 2.0.109", 636 + ] 637 + 638 + [[package]] 639 + name = "darling_macro" 640 + version = "0.21.3" 641 + source = "registry+https://github.com/rust-lang/crates.io-index" 642 + checksum = "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81" 643 + dependencies = [ 644 + "darling_core", 645 + "quote", 646 + "syn 2.0.109", 647 + ] 648 + 649 + [[package]] 650 + name = "deranged" 651 + version = "0.5.5" 652 + source = "registry+https://github.com/rust-lang/crates.io-index" 653 + checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" 654 + dependencies = [ 655 + "powerfmt", 656 + "serde_core", 657 + ] 658 + 659 + [[package]] 660 + name = "derive_more" 661 + version = "0.99.20" 662 + source = "registry+https://github.com/rust-lang/crates.io-index" 663 + checksum = "6edb4b64a43d977b8e99788fe3a04d483834fba1215a7e02caa415b626497f7f" 664 + dependencies = [ 665 + "convert_case", 666 + "proc-macro2", 667 + "quote", 668 + "rustc_version", 669 + "syn 2.0.109", 670 + ] 671 + 672 + [[package]] 673 + name = "digest" 674 + version = "0.10.7" 675 + source = "registry+https://github.com/rust-lang/crates.io-index" 676 + checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" 677 + dependencies = [ 678 + "block-buffer", 679 + "crypto-common", 680 + ] 681 + 682 + [[package]] 683 + name = "dirs" 684 + version = "6.0.0" 685 + source = "registry+https://github.com/rust-lang/crates.io-index" 686 + checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" 687 + dependencies = [ 688 + "dirs-sys", 689 + ] 690 + 691 + [[package]] 692 + name = "dirs-sys" 693 + version = "0.5.0" 694 + source = "registry+https://github.com/rust-lang/crates.io-index" 695 + checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" 696 + dependencies = [ 697 + "libc", 698 + "option-ext", 699 + "redox_users", 700 + "windows-sys 0.61.2", 701 + ] 702 + 703 + [[package]] 704 + name = "dispatch" 705 + version = "0.2.0" 706 + source = "registry+https://github.com/rust-lang/crates.io-index" 707 + checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" 708 + 709 + [[package]] 710 + name = "dispatch2" 711 + version = "0.3.0" 712 + source = "registry+https://github.com/rust-lang/crates.io-index" 713 + checksum = "89a09f22a6c6069a18470eb92d2298acf25463f14256d24778e1230d789a2aec" 714 + dependencies = [ 715 + "bitflags 2.10.0", 716 + "objc2 0.6.3", 717 + ] 718 + 719 + [[package]] 720 + name = "displaydoc" 721 + version = "0.2.5" 722 + source = "registry+https://github.com/rust-lang/crates.io-index" 723 + checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" 724 + dependencies = [ 725 + "proc-macro2", 726 + "quote", 727 + "syn 2.0.109", 728 + ] 729 + 730 + [[package]] 731 + name = "dlopen2" 732 + version = "0.8.0" 733 + source = "registry+https://github.com/rust-lang/crates.io-index" 734 + checksum = "b54f373ccf864bf587a89e880fb7610f8d73f3045f13580948ccbcaff26febff" 735 + dependencies = [ 736 + "dlopen2_derive", 737 + "libc", 738 + "once_cell", 739 + "winapi", 740 + ] 741 + 742 + [[package]] 743 + name = "dlopen2_derive" 744 + version = "0.4.1" 745 + source = "registry+https://github.com/rust-lang/crates.io-index" 746 + checksum = "788160fb30de9cdd857af31c6a2675904b16ece8fc2737b2c7127ba368c9d0f4" 747 + dependencies = [ 748 + "proc-macro2", 749 + "quote", 750 + "syn 2.0.109", 751 + ] 752 + 753 + [[package]] 754 + name = "dpi" 755 + version = "0.1.2" 756 + source = "registry+https://github.com/rust-lang/crates.io-index" 757 + checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76" 758 + dependencies = [ 759 + "serde", 760 + ] 761 + 762 + [[package]] 763 + name = "dtoa" 764 + version = "1.0.10" 765 + source = "registry+https://github.com/rust-lang/crates.io-index" 766 + checksum = "d6add3b8cff394282be81f3fc1a0605db594ed69890078ca6e2cab1c408bcf04" 767 + 768 + [[package]] 769 + name = "dtoa-short" 770 + version = "0.3.5" 771 + source = "registry+https://github.com/rust-lang/crates.io-index" 772 + checksum = "cd1511a7b6a56299bd043a9c167a6d2bfb37bf84a6dfceaba651168adfb43c87" 773 + dependencies = [ 774 + "dtoa", 775 + ] 776 + 777 + [[package]] 778 + name = "dunce" 779 + version = "1.0.5" 780 + source = "registry+https://github.com/rust-lang/crates.io-index" 781 + checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" 782 + 783 + [[package]] 784 + name = "dyn-clone" 785 + version = "1.0.20" 786 + source = "registry+https://github.com/rust-lang/crates.io-index" 787 + checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" 788 + 789 + [[package]] 790 + name = "embed-resource" 791 + version = "3.0.6" 792 + source = "registry+https://github.com/rust-lang/crates.io-index" 793 + checksum = "55a075fc573c64510038d7ee9abc7990635863992f83ebc52c8b433b8411a02e" 794 + dependencies = [ 795 + "cc", 796 + "memchr", 797 + "rustc_version", 798 + "toml 0.9.8", 799 + "vswhom", 800 + "winreg", 801 + ] 802 + 803 + [[package]] 804 + name = "embed_plist" 805 + version = "1.2.2" 806 + source = "registry+https://github.com/rust-lang/crates.io-index" 807 + checksum = "4ef6b89e5b37196644d8796de5268852ff179b44e96276cf4290264843743bb7" 808 + 809 + [[package]] 810 + name = "endi" 811 + version = "1.1.0" 812 + source = "registry+https://github.com/rust-lang/crates.io-index" 813 + checksum = "a3d8a32ae18130a3c84dd492d4215c3d913c3b07c6b63c2eb3eb7ff1101ab7bf" 814 + 815 + [[package]] 816 + name = "enumflags2" 817 + version = "0.7.12" 818 + source = "registry+https://github.com/rust-lang/crates.io-index" 819 + checksum = "1027f7680c853e056ebcec683615fb6fbbc07dbaa13b4d5d9442b146ded4ecef" 820 + dependencies = [ 821 + "enumflags2_derive", 822 + "serde", 823 + ] 824 + 825 + [[package]] 826 + name = "enumflags2_derive" 827 + version = "0.7.12" 828 + source = "registry+https://github.com/rust-lang/crates.io-index" 829 + checksum = "67c78a4d8fdf9953a5c9d458f9efe940fd97a0cab0941c075a813ac594733827" 830 + dependencies = [ 831 + "proc-macro2", 832 + "quote", 833 + "syn 2.0.109", 834 + ] 835 + 836 + [[package]] 837 + name = "equivalent" 838 + version = "1.0.2" 839 + source = "registry+https://github.com/rust-lang/crates.io-index" 840 + checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" 841 + 842 + [[package]] 843 + name = "erased-serde" 844 + version = "0.4.9" 845 + source = "registry+https://github.com/rust-lang/crates.io-index" 846 + checksum = "89e8918065695684b2b0702da20382d5ae6065cf3327bc2d6436bd49a71ce9f3" 847 + dependencies = [ 848 + "serde", 849 + "serde_core", 850 + "typeid", 851 + ] 852 + 853 + [[package]] 854 + name = "errno" 855 + version = "0.3.14" 856 + source = "registry+https://github.com/rust-lang/crates.io-index" 857 + checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" 858 + dependencies = [ 859 + "libc", 860 + "windows-sys 0.61.2", 861 + ] 862 + 863 + [[package]] 864 + name = "event-listener" 865 + version = "5.4.1" 866 + source = "registry+https://github.com/rust-lang/crates.io-index" 867 + checksum = "e13b66accf52311f30a0db42147dadea9850cb48cd070028831ae5f5d4b856ab" 868 + dependencies = [ 869 + "concurrent-queue", 870 + "parking", 871 + "pin-project-lite", 872 + ] 873 + 874 + [[package]] 875 + name = "event-listener-strategy" 876 + version = "0.5.4" 877 + source = "registry+https://github.com/rust-lang/crates.io-index" 878 + checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" 879 + dependencies = [ 880 + "event-listener", 881 + "pin-project-lite", 882 + ] 883 + 884 + [[package]] 885 + name = "fastrand" 886 + version = "2.3.0" 887 + source = "registry+https://github.com/rust-lang/crates.io-index" 888 + checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" 889 + 890 + [[package]] 891 + name = "fdeflate" 892 + version = "0.3.7" 893 + source = "registry+https://github.com/rust-lang/crates.io-index" 894 + checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c" 895 + dependencies = [ 896 + "simd-adler32", 897 + ] 898 + 899 + [[package]] 900 + name = "field-offset" 901 + version = "0.3.6" 902 + source = "registry+https://github.com/rust-lang/crates.io-index" 903 + checksum = "38e2275cc4e4fc009b0669731a1e5ab7ebf11f469eaede2bab9309a5b4d6057f" 904 + dependencies = [ 905 + "memoffset", 906 + "rustc_version", 907 + ] 908 + 909 + [[package]] 910 + name = "find-msvc-tools" 911 + version = "0.1.4" 912 + source = "registry+https://github.com/rust-lang/crates.io-index" 913 + checksum = "52051878f80a721bb68ebfbc930e07b65ba72f2da88968ea5c06fd6ca3d3a127" 914 + 915 + [[package]] 916 + name = "flate2" 917 + version = "1.1.5" 918 + source = "registry+https://github.com/rust-lang/crates.io-index" 919 + checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" 920 + dependencies = [ 921 + "crc32fast", 922 + "miniz_oxide", 923 + ] 924 + 925 + [[package]] 926 + name = "fnv" 927 + version = "1.0.7" 928 + source = "registry+https://github.com/rust-lang/crates.io-index" 929 + checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 930 + 931 + [[package]] 932 + name = "foreign-types" 933 + version = "0.5.0" 934 + source = "registry+https://github.com/rust-lang/crates.io-index" 935 + checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965" 936 + dependencies = [ 937 + "foreign-types-macros", 938 + "foreign-types-shared", 939 + ] 940 + 941 + [[package]] 942 + name = "foreign-types-macros" 943 + version = "0.2.3" 944 + source = "registry+https://github.com/rust-lang/crates.io-index" 945 + checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" 946 + dependencies = [ 947 + "proc-macro2", 948 + "quote", 949 + "syn 2.0.109", 950 + ] 951 + 952 + [[package]] 953 + name = "foreign-types-shared" 954 + version = "0.3.1" 955 + source = "registry+https://github.com/rust-lang/crates.io-index" 956 + checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" 957 + 958 + [[package]] 959 + name = "form_urlencoded" 960 + version = "1.2.2" 961 + source = "registry+https://github.com/rust-lang/crates.io-index" 962 + checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" 963 + dependencies = [ 964 + "percent-encoding", 965 + ] 966 + 967 + [[package]] 968 + name = "futf" 969 + version = "0.1.5" 970 + source = "registry+https://github.com/rust-lang/crates.io-index" 971 + checksum = "df420e2e84819663797d1ec6544b13c5be84629e7bb00dc960d6917db2987843" 972 + dependencies = [ 973 + "mac", 974 + "new_debug_unreachable", 975 + ] 976 + 977 + [[package]] 978 + name = "futures-channel" 979 + version = "0.3.31" 980 + source = "registry+https://github.com/rust-lang/crates.io-index" 981 + checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" 982 + dependencies = [ 983 + "futures-core", 984 + ] 985 + 986 + [[package]] 987 + name = "futures-core" 988 + version = "0.3.31" 989 + source = "registry+https://github.com/rust-lang/crates.io-index" 990 + checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" 991 + 992 + [[package]] 993 + name = "futures-executor" 994 + version = "0.3.31" 995 + source = "registry+https://github.com/rust-lang/crates.io-index" 996 + checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" 997 + dependencies = [ 998 + "futures-core", 999 + "futures-task", 1000 + "futures-util", 1001 + ] 1002 + 1003 + [[package]] 1004 + name = "futures-io" 1005 + version = "0.3.31" 1006 + source = "registry+https://github.com/rust-lang/crates.io-index" 1007 + checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" 1008 + 1009 + [[package]] 1010 + name = "futures-lite" 1011 + version = "2.6.1" 1012 + source = "registry+https://github.com/rust-lang/crates.io-index" 1013 + checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" 1014 + dependencies = [ 1015 + "fastrand", 1016 + "futures-core", 1017 + "futures-io", 1018 + "parking", 1019 + "pin-project-lite", 1020 + ] 1021 + 1022 + [[package]] 1023 + name = "futures-macro" 1024 + version = "0.3.31" 1025 + source = "registry+https://github.com/rust-lang/crates.io-index" 1026 + checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" 1027 + dependencies = [ 1028 + "proc-macro2", 1029 + "quote", 1030 + "syn 2.0.109", 1031 + ] 1032 + 1033 + [[package]] 1034 + name = "futures-sink" 1035 + version = "0.3.31" 1036 + source = "registry+https://github.com/rust-lang/crates.io-index" 1037 + checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" 1038 + 1039 + [[package]] 1040 + name = "futures-task" 1041 + version = "0.3.31" 1042 + source = "registry+https://github.com/rust-lang/crates.io-index" 1043 + checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" 1044 + 1045 + [[package]] 1046 + name = "futures-util" 1047 + version = "0.3.31" 1048 + source = "registry+https://github.com/rust-lang/crates.io-index" 1049 + checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" 1050 + dependencies = [ 1051 + "futures-core", 1052 + "futures-io", 1053 + "futures-macro", 1054 + "futures-sink", 1055 + "futures-task", 1056 + "memchr", 1057 + "pin-project-lite", 1058 + "pin-utils", 1059 + "slab", 1060 + ] 1061 + 1062 + [[package]] 1063 + name = "fxhash" 1064 + version = "0.2.1" 1065 + source = "registry+https://github.com/rust-lang/crates.io-index" 1066 + checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" 1067 + dependencies = [ 1068 + "byteorder", 1069 + ] 1070 + 1071 + [[package]] 1072 + name = "gdk" 1073 + version = "0.18.2" 1074 + source = "registry+https://github.com/rust-lang/crates.io-index" 1075 + checksum = "d9f245958c627ac99d8e529166f9823fb3b838d1d41fd2b297af3075093c2691" 1076 + dependencies = [ 1077 + "cairo-rs", 1078 + "gdk-pixbuf", 1079 + "gdk-sys", 1080 + "gio", 1081 + "glib", 1082 + "libc", 1083 + "pango", 1084 + ] 1085 + 1086 + [[package]] 1087 + name = "gdk-pixbuf" 1088 + version = "0.18.5" 1089 + source = "registry+https://github.com/rust-lang/crates.io-index" 1090 + checksum = "50e1f5f1b0bfb830d6ccc8066d18db35c487b1b2b1e8589b5dfe9f07e8defaec" 1091 + dependencies = [ 1092 + "gdk-pixbuf-sys", 1093 + "gio", 1094 + "glib", 1095 + "libc", 1096 + "once_cell", 1097 + ] 1098 + 1099 + [[package]] 1100 + name = "gdk-pixbuf-sys" 1101 + version = "0.18.0" 1102 + source = "registry+https://github.com/rust-lang/crates.io-index" 1103 + checksum = "3f9839ea644ed9c97a34d129ad56d38a25e6756f99f3a88e15cd39c20629caf7" 1104 + dependencies = [ 1105 + "gio-sys", 1106 + "glib-sys", 1107 + "gobject-sys", 1108 + "libc", 1109 + "system-deps", 1110 + ] 1111 + 1112 + [[package]] 1113 + name = "gdk-sys" 1114 + version = "0.18.2" 1115 + source = "registry+https://github.com/rust-lang/crates.io-index" 1116 + checksum = "5c2d13f38594ac1e66619e188c6d5a1adb98d11b2fcf7894fc416ad76aa2f3f7" 1117 + dependencies = [ 1118 + "cairo-sys-rs", 1119 + "gdk-pixbuf-sys", 1120 + "gio-sys", 1121 + "glib-sys", 1122 + "gobject-sys", 1123 + "libc", 1124 + "pango-sys", 1125 + "pkg-config", 1126 + "system-deps", 1127 + ] 1128 + 1129 + [[package]] 1130 + name = "gdkwayland-sys" 1131 + version = "0.18.2" 1132 + source = "registry+https://github.com/rust-lang/crates.io-index" 1133 + checksum = "140071d506d223f7572b9f09b5e155afbd77428cd5cc7af8f2694c41d98dfe69" 1134 + dependencies = [ 1135 + "gdk-sys", 1136 + "glib-sys", 1137 + "gobject-sys", 1138 + "libc", 1139 + "pkg-config", 1140 + "system-deps", 1141 + ] 1142 + 1143 + [[package]] 1144 + name = "gdkx11" 1145 + version = "0.18.2" 1146 + source = "registry+https://github.com/rust-lang/crates.io-index" 1147 + checksum = "3caa00e14351bebbc8183b3c36690327eb77c49abc2268dd4bd36b856db3fbfe" 1148 + dependencies = [ 1149 + "gdk", 1150 + "gdkx11-sys", 1151 + "gio", 1152 + "glib", 1153 + "libc", 1154 + "x11", 1155 + ] 1156 + 1157 + [[package]] 1158 + name = "gdkx11-sys" 1159 + version = "0.18.2" 1160 + source = "registry+https://github.com/rust-lang/crates.io-index" 1161 + checksum = "6e2e7445fe01ac26f11601db260dd8608fe172514eb63b3b5e261ea6b0f4428d" 1162 + dependencies = [ 1163 + "gdk-sys", 1164 + "glib-sys", 1165 + "libc", 1166 + "system-deps", 1167 + "x11", 1168 + ] 1169 + 1170 + [[package]] 1171 + name = "generic-array" 1172 + version = "0.14.9" 1173 + source = "registry+https://github.com/rust-lang/crates.io-index" 1174 + checksum = "4bb6743198531e02858aeaea5398fcc883e71851fcbcb5a2f773e2fb6cb1edf2" 1175 + dependencies = [ 1176 + "typenum", 1177 + "version_check", 1178 + ] 1179 + 1180 + [[package]] 1181 + name = "getrandom" 1182 + version = "0.1.16" 1183 + source = "registry+https://github.com/rust-lang/crates.io-index" 1184 + checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" 1185 + dependencies = [ 1186 + "cfg-if", 1187 + "libc", 1188 + "wasi 0.9.0+wasi-snapshot-preview1", 1189 + ] 1190 + 1191 + [[package]] 1192 + name = "getrandom" 1193 + version = "0.2.16" 1194 + source = "registry+https://github.com/rust-lang/crates.io-index" 1195 + checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" 1196 + dependencies = [ 1197 + "cfg-if", 1198 + "libc", 1199 + "wasi 0.11.1+wasi-snapshot-preview1", 1200 + ] 1201 + 1202 + [[package]] 1203 + name = "getrandom" 1204 + version = "0.3.4" 1205 + source = "registry+https://github.com/rust-lang/crates.io-index" 1206 + checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" 1207 + dependencies = [ 1208 + "cfg-if", 1209 + "libc", 1210 + "r-efi", 1211 + "wasip2", 1212 + ] 1213 + 1214 + [[package]] 1215 + name = "gio" 1216 + version = "0.18.4" 1217 + source = "registry+https://github.com/rust-lang/crates.io-index" 1218 + checksum = "d4fc8f532f87b79cbc51a79748f16a6828fb784be93145a322fa14d06d354c73" 1219 + dependencies = [ 1220 + "futures-channel", 1221 + "futures-core", 1222 + "futures-io", 1223 + "futures-util", 1224 + "gio-sys", 1225 + "glib", 1226 + "libc", 1227 + "once_cell", 1228 + "pin-project-lite", 1229 + "smallvec", 1230 + "thiserror 1.0.69", 1231 + ] 1232 + 1233 + [[package]] 1234 + name = "gio-sys" 1235 + version = "0.18.1" 1236 + source = "registry+https://github.com/rust-lang/crates.io-index" 1237 + checksum = "37566df850baf5e4cb0dfb78af2e4b9898d817ed9263d1090a2df958c64737d2" 1238 + dependencies = [ 1239 + "glib-sys", 1240 + "gobject-sys", 1241 + "libc", 1242 + "system-deps", 1243 + "winapi", 1244 + ] 1245 + 1246 + [[package]] 1247 + name = "glib" 1248 + version = "0.18.5" 1249 + source = "registry+https://github.com/rust-lang/crates.io-index" 1250 + checksum = "233daaf6e83ae6a12a52055f568f9d7cf4671dabb78ff9560ab6da230ce00ee5" 1251 + dependencies = [ 1252 + "bitflags 2.10.0", 1253 + "futures-channel", 1254 + "futures-core", 1255 + "futures-executor", 1256 + "futures-task", 1257 + "futures-util", 1258 + "gio-sys", 1259 + "glib-macros", 1260 + "glib-sys", 1261 + "gobject-sys", 1262 + "libc", 1263 + "memchr", 1264 + "once_cell", 1265 + "smallvec", 1266 + "thiserror 1.0.69", 1267 + ] 1268 + 1269 + [[package]] 1270 + name = "glib-macros" 1271 + version = "0.18.5" 1272 + source = "registry+https://github.com/rust-lang/crates.io-index" 1273 + checksum = "0bb0228f477c0900c880fd78c8759b95c7636dbd7842707f49e132378aa2acdc" 1274 + dependencies = [ 1275 + "heck 0.4.1", 1276 + "proc-macro-crate 2.0.2", 1277 + "proc-macro-error", 1278 + "proc-macro2", 1279 + "quote", 1280 + "syn 2.0.109", 1281 + ] 1282 + 1283 + [[package]] 1284 + name = "glib-sys" 1285 + version = "0.18.1" 1286 + source = "registry+https://github.com/rust-lang/crates.io-index" 1287 + checksum = "063ce2eb6a8d0ea93d2bf8ba1957e78dbab6be1c2220dd3daca57d5a9d869898" 1288 + dependencies = [ 1289 + "libc", 1290 + "system-deps", 1291 + ] 1292 + 1293 + [[package]] 1294 + name = "glob" 1295 + version = "0.3.3" 1296 + source = "registry+https://github.com/rust-lang/crates.io-index" 1297 + checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" 1298 + 1299 + [[package]] 1300 + name = "gobject-sys" 1301 + version = "0.18.0" 1302 + source = "registry+https://github.com/rust-lang/crates.io-index" 1303 + checksum = "0850127b514d1c4a4654ead6dedadb18198999985908e6ffe4436f53c785ce44" 1304 + dependencies = [ 1305 + "glib-sys", 1306 + "libc", 1307 + "system-deps", 1308 + ] 1309 + 1310 + [[package]] 1311 + name = "gtk" 1312 + version = "0.18.2" 1313 + source = "registry+https://github.com/rust-lang/crates.io-index" 1314 + checksum = "fd56fb197bfc42bd5d2751f4f017d44ff59fbb58140c6b49f9b3b2bdab08506a" 1315 + dependencies = [ 1316 + "atk", 1317 + "cairo-rs", 1318 + "field-offset", 1319 + "futures-channel", 1320 + "gdk", 1321 + "gdk-pixbuf", 1322 + "gio", 1323 + "glib", 1324 + "gtk-sys", 1325 + "gtk3-macros", 1326 + "libc", 1327 + "pango", 1328 + "pkg-config", 1329 + ] 1330 + 1331 + [[package]] 1332 + name = "gtk-sys" 1333 + version = "0.18.2" 1334 + source = "registry+https://github.com/rust-lang/crates.io-index" 1335 + checksum = "8f29a1c21c59553eb7dd40e918be54dccd60c52b049b75119d5d96ce6b624414" 1336 + dependencies = [ 1337 + "atk-sys", 1338 + "cairo-sys-rs", 1339 + "gdk-pixbuf-sys", 1340 + "gdk-sys", 1341 + "gio-sys", 1342 + "glib-sys", 1343 + "gobject-sys", 1344 + "libc", 1345 + "pango-sys", 1346 + "system-deps", 1347 + ] 1348 + 1349 + [[package]] 1350 + name = "gtk3-macros" 1351 + version = "0.18.2" 1352 + source = "registry+https://github.com/rust-lang/crates.io-index" 1353 + checksum = "52ff3c5b21f14f0736fed6dcfc0bfb4225ebf5725f3c0209edeec181e4d73e9d" 1354 + dependencies = [ 1355 + "proc-macro-crate 1.3.1", 1356 + "proc-macro-error", 1357 + "proc-macro2", 1358 + "quote", 1359 + "syn 2.0.109", 1360 + ] 1361 + 1362 + [[package]] 1363 + name = "hashbrown" 1364 + version = "0.12.3" 1365 + source = "registry+https://github.com/rust-lang/crates.io-index" 1366 + checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" 1367 + 1368 + [[package]] 1369 + name = "hashbrown" 1370 + version = "0.16.0" 1371 + source = "registry+https://github.com/rust-lang/crates.io-index" 1372 + checksum = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d" 1373 + 1374 + [[package]] 1375 + name = "heck" 1376 + version = "0.4.1" 1377 + source = "registry+https://github.com/rust-lang/crates.io-index" 1378 + checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 1379 + 1380 + [[package]] 1381 + name = "heck" 1382 + version = "0.5.0" 1383 + source = "registry+https://github.com/rust-lang/crates.io-index" 1384 + checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 1385 + 1386 + [[package]] 1387 + name = "hermit-abi" 1388 + version = "0.5.2" 1389 + source = "registry+https://github.com/rust-lang/crates.io-index" 1390 + checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" 1391 + 1392 + [[package]] 1393 + name = "hex" 1394 + version = "0.4.3" 1395 + source = "registry+https://github.com/rust-lang/crates.io-index" 1396 + checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 1397 + 1398 + [[package]] 1399 + name = "html5ever" 1400 + version = "0.29.1" 1401 + source = "registry+https://github.com/rust-lang/crates.io-index" 1402 + checksum = "3b7410cae13cbc75623c98ac4cbfd1f0bedddf3227afc24f370cf0f50a44a11c" 1403 + dependencies = [ 1404 + "log", 1405 + "mac", 1406 + "markup5ever", 1407 + "match_token", 1408 + ] 1409 + 1410 + [[package]] 1411 + name = "http" 1412 + version = "1.3.1" 1413 + source = "registry+https://github.com/rust-lang/crates.io-index" 1414 + checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" 1415 + dependencies = [ 1416 + "bytes", 1417 + "fnv", 1418 + "itoa", 1419 + ] 1420 + 1421 + [[package]] 1422 + name = "http-body" 1423 + version = "1.0.1" 1424 + source = "registry+https://github.com/rust-lang/crates.io-index" 1425 + checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" 1426 + dependencies = [ 1427 + "bytes", 1428 + "http", 1429 + ] 1430 + 1431 + [[package]] 1432 + name = "http-body-util" 1433 + version = "0.1.3" 1434 + source = "registry+https://github.com/rust-lang/crates.io-index" 1435 + checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" 1436 + dependencies = [ 1437 + "bytes", 1438 + "futures-core", 1439 + "http", 1440 + "http-body", 1441 + "pin-project-lite", 1442 + ] 1443 + 1444 + [[package]] 1445 + name = "httparse" 1446 + version = "1.10.1" 1447 + source = "registry+https://github.com/rust-lang/crates.io-index" 1448 + checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" 1449 + 1450 + [[package]] 1451 + name = "hyper" 1452 + version = "1.7.0" 1453 + source = "registry+https://github.com/rust-lang/crates.io-index" 1454 + checksum = "eb3aa54a13a0dfe7fbe3a59e0c76093041720fdc77b110cc0fc260fafb4dc51e" 1455 + dependencies = [ 1456 + "atomic-waker", 1457 + "bytes", 1458 + "futures-channel", 1459 + "futures-core", 1460 + "http", 1461 + "http-body", 1462 + "httparse", 1463 + "itoa", 1464 + "pin-project-lite", 1465 + "pin-utils", 1466 + "smallvec", 1467 + "tokio", 1468 + "want", 1469 + ] 1470 + 1471 + [[package]] 1472 + name = "hyper-util" 1473 + version = "0.1.17" 1474 + source = "registry+https://github.com/rust-lang/crates.io-index" 1475 + checksum = "3c6995591a8f1380fcb4ba966a252a4b29188d51d2b89e3a252f5305be65aea8" 1476 + dependencies = [ 1477 + "base64 0.22.1", 1478 + "bytes", 1479 + "futures-channel", 1480 + "futures-core", 1481 + "futures-util", 1482 + "http", 1483 + "http-body", 1484 + "hyper", 1485 + "ipnet", 1486 + "libc", 1487 + "percent-encoding", 1488 + "pin-project-lite", 1489 + "socket2", 1490 + "tokio", 1491 + "tower-service", 1492 + "tracing", 1493 + ] 1494 + 1495 + [[package]] 1496 + name = "iana-time-zone" 1497 + version = "0.1.64" 1498 + source = "registry+https://github.com/rust-lang/crates.io-index" 1499 + checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb" 1500 + dependencies = [ 1501 + "android_system_properties", 1502 + "core-foundation-sys", 1503 + "iana-time-zone-haiku", 1504 + "js-sys", 1505 + "log", 1506 + "wasm-bindgen", 1507 + "windows-core 0.62.2", 1508 + ] 1509 + 1510 + [[package]] 1511 + name = "iana-time-zone-haiku" 1512 + version = "0.1.2" 1513 + source = "registry+https://github.com/rust-lang/crates.io-index" 1514 + checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" 1515 + dependencies = [ 1516 + "cc", 1517 + ] 1518 + 1519 + [[package]] 1520 + name = "ico" 1521 + version = "0.4.0" 1522 + source = "registry+https://github.com/rust-lang/crates.io-index" 1523 + checksum = "cc50b891e4acf8fe0e71ef88ec43ad82ee07b3810ad09de10f1d01f072ed4b98" 1524 + dependencies = [ 1525 + "byteorder", 1526 + "png", 1527 + ] 1528 + 1529 + [[package]] 1530 + name = "icu_collections" 1531 + version = "2.1.1" 1532 + source = "registry+https://github.com/rust-lang/crates.io-index" 1533 + checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" 1534 + dependencies = [ 1535 + "displaydoc", 1536 + "potential_utf", 1537 + "yoke", 1538 + "zerofrom", 1539 + "zerovec", 1540 + ] 1541 + 1542 + [[package]] 1543 + name = "icu_locale_core" 1544 + version = "2.1.1" 1545 + source = "registry+https://github.com/rust-lang/crates.io-index" 1546 + checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" 1547 + dependencies = [ 1548 + "displaydoc", 1549 + "litemap", 1550 + "tinystr", 1551 + "writeable", 1552 + "zerovec", 1553 + ] 1554 + 1555 + [[package]] 1556 + name = "icu_normalizer" 1557 + version = "2.1.1" 1558 + source = "registry+https://github.com/rust-lang/crates.io-index" 1559 + checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" 1560 + dependencies = [ 1561 + "icu_collections", 1562 + "icu_normalizer_data", 1563 + "icu_properties", 1564 + "icu_provider", 1565 + "smallvec", 1566 + "zerovec", 1567 + ] 1568 + 1569 + [[package]] 1570 + name = "icu_normalizer_data" 1571 + version = "2.1.1" 1572 + source = "registry+https://github.com/rust-lang/crates.io-index" 1573 + checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" 1574 + 1575 + [[package]] 1576 + name = "icu_properties" 1577 + version = "2.1.1" 1578 + source = "registry+https://github.com/rust-lang/crates.io-index" 1579 + checksum = "e93fcd3157766c0c8da2f8cff6ce651a31f0810eaa1c51ec363ef790bbb5fb99" 1580 + dependencies = [ 1581 + "icu_collections", 1582 + "icu_locale_core", 1583 + "icu_properties_data", 1584 + "icu_provider", 1585 + "zerotrie", 1586 + "zerovec", 1587 + ] 1588 + 1589 + [[package]] 1590 + name = "icu_properties_data" 1591 + version = "2.1.1" 1592 + source = "registry+https://github.com/rust-lang/crates.io-index" 1593 + checksum = "02845b3647bb045f1100ecd6480ff52f34c35f82d9880e029d329c21d1054899" 1594 + 1595 + [[package]] 1596 + name = "icu_provider" 1597 + version = "2.1.1" 1598 + source = "registry+https://github.com/rust-lang/crates.io-index" 1599 + checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" 1600 + dependencies = [ 1601 + "displaydoc", 1602 + "icu_locale_core", 1603 + "writeable", 1604 + "yoke", 1605 + "zerofrom", 1606 + "zerotrie", 1607 + "zerovec", 1608 + ] 1609 + 1610 + [[package]] 1611 + name = "ident_case" 1612 + version = "1.0.1" 1613 + source = "registry+https://github.com/rust-lang/crates.io-index" 1614 + checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" 1615 + 1616 + [[package]] 1617 + name = "idna" 1618 + version = "1.1.0" 1619 + source = "registry+https://github.com/rust-lang/crates.io-index" 1620 + checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" 1621 + dependencies = [ 1622 + "idna_adapter", 1623 + "smallvec", 1624 + "utf8_iter", 1625 + ] 1626 + 1627 + [[package]] 1628 + name = "idna_adapter" 1629 + version = "1.2.1" 1630 + source = "registry+https://github.com/rust-lang/crates.io-index" 1631 + checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" 1632 + dependencies = [ 1633 + "icu_normalizer", 1634 + "icu_properties", 1635 + ] 1636 + 1637 + [[package]] 1638 + name = "indexmap" 1639 + version = "1.9.3" 1640 + source = "registry+https://github.com/rust-lang/crates.io-index" 1641 + checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" 1642 + dependencies = [ 1643 + "autocfg", 1644 + "hashbrown 0.12.3", 1645 + "serde", 1646 + ] 1647 + 1648 + [[package]] 1649 + name = "indexmap" 1650 + version = "2.12.0" 1651 + source = "registry+https://github.com/rust-lang/crates.io-index" 1652 + checksum = "6717a8d2a5a929a1a2eb43a12812498ed141a0bcfb7e8f7844fbdbe4303bba9f" 1653 + dependencies = [ 1654 + "equivalent", 1655 + "hashbrown 0.16.0", 1656 + "serde", 1657 + "serde_core", 1658 + ] 1659 + 1660 + [[package]] 1661 + name = "infer" 1662 + version = "0.19.0" 1663 + source = "registry+https://github.com/rust-lang/crates.io-index" 1664 + checksum = "a588916bfdfd92e71cacef98a63d9b1f0d74d6599980d11894290e7ddefffcf7" 1665 + dependencies = [ 1666 + "cfb", 1667 + ] 1668 + 1669 + [[package]] 1670 + name = "ipnet" 1671 + version = "2.11.0" 1672 + source = "registry+https://github.com/rust-lang/crates.io-index" 1673 + checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" 1674 + 1675 + [[package]] 1676 + name = "iri-string" 1677 + version = "0.7.9" 1678 + source = "registry+https://github.com/rust-lang/crates.io-index" 1679 + checksum = "4f867b9d1d896b67beb18518eda36fdb77a32ea590de864f1325b294a6d14397" 1680 + dependencies = [ 1681 + "memchr", 1682 + "serde", 1683 + ] 1684 + 1685 + [[package]] 1686 + name = "is-docker" 1687 + version = "0.2.0" 1688 + source = "registry+https://github.com/rust-lang/crates.io-index" 1689 + checksum = "928bae27f42bc99b60d9ac7334e3a21d10ad8f1835a4e12ec3ec0464765ed1b3" 1690 + dependencies = [ 1691 + "once_cell", 1692 + ] 1693 + 1694 + [[package]] 1695 + name = "is-wsl" 1696 + version = "0.4.0" 1697 + source = "registry+https://github.com/rust-lang/crates.io-index" 1698 + checksum = "173609498df190136aa7dea1a91db051746d339e18476eed5ca40521f02d7aa5" 1699 + dependencies = [ 1700 + "is-docker", 1701 + "once_cell", 1702 + ] 1703 + 1704 + [[package]] 1705 + name = "itoa" 1706 + version = "1.0.15" 1707 + source = "registry+https://github.com/rust-lang/crates.io-index" 1708 + checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" 1709 + 1710 + [[package]] 1711 + name = "javascriptcore-rs" 1712 + version = "1.1.2" 1713 + source = "registry+https://github.com/rust-lang/crates.io-index" 1714 + checksum = "ca5671e9ffce8ffba57afc24070e906da7fc4b1ba66f2cabebf61bf2ea257fcc" 1715 + dependencies = [ 1716 + "bitflags 1.3.2", 1717 + "glib", 1718 + "javascriptcore-rs-sys", 1719 + ] 1720 + 1721 + [[package]] 1722 + name = "javascriptcore-rs-sys" 1723 + version = "1.1.1" 1724 + source = "registry+https://github.com/rust-lang/crates.io-index" 1725 + checksum = "af1be78d14ffa4b75b66df31840478fef72b51f8c2465d4ca7c194da9f7a5124" 1726 + dependencies = [ 1727 + "glib-sys", 1728 + "gobject-sys", 1729 + "libc", 1730 + "system-deps", 1731 + ] 1732 + 1733 + [[package]] 1734 + name = "jni" 1735 + version = "0.21.1" 1736 + source = "registry+https://github.com/rust-lang/crates.io-index" 1737 + checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" 1738 + dependencies = [ 1739 + "cesu8", 1740 + "cfg-if", 1741 + "combine", 1742 + "jni-sys", 1743 + "log", 1744 + "thiserror 1.0.69", 1745 + "walkdir", 1746 + "windows-sys 0.45.0", 1747 + ] 1748 + 1749 + [[package]] 1750 + name = "jni-sys" 1751 + version = "0.3.0" 1752 + source = "registry+https://github.com/rust-lang/crates.io-index" 1753 + checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" 1754 + 1755 + [[package]] 1756 + name = "js-sys" 1757 + version = "0.3.82" 1758 + source = "registry+https://github.com/rust-lang/crates.io-index" 1759 + checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65" 1760 + dependencies = [ 1761 + "once_cell", 1762 + "wasm-bindgen", 1763 + ] 1764 + 1765 + [[package]] 1766 + name = "json-patch" 1767 + version = "3.0.1" 1768 + source = "registry+https://github.com/rust-lang/crates.io-index" 1769 + checksum = "863726d7afb6bc2590eeff7135d923545e5e964f004c2ccf8716c25e70a86f08" 1770 + dependencies = [ 1771 + "jsonptr", 1772 + "serde", 1773 + "serde_json", 1774 + "thiserror 1.0.69", 1775 + ] 1776 + 1777 + [[package]] 1778 + name = "jsonptr" 1779 + version = "0.6.3" 1780 + source = "registry+https://github.com/rust-lang/crates.io-index" 1781 + checksum = "5dea2b27dd239b2556ed7a25ba842fe47fd602e7fc7433c2a8d6106d4d9edd70" 1782 + dependencies = [ 1783 + "serde", 1784 + "serde_json", 1785 + ] 1786 + 1787 + [[package]] 1788 + name = "keyboard-types" 1789 + version = "0.7.0" 1790 + source = "registry+https://github.com/rust-lang/crates.io-index" 1791 + checksum = "b750dcadc39a09dbadd74e118f6dd6598df77fa01df0cfcdc52c28dece74528a" 1792 + dependencies = [ 1793 + "bitflags 2.10.0", 1794 + "serde", 1795 + "unicode-segmentation", 1796 + ] 1797 + 1798 + [[package]] 1799 + name = "kuchikiki" 1800 + version = "0.8.8-speedreader" 1801 + source = "registry+https://github.com/rust-lang/crates.io-index" 1802 + checksum = "02cb977175687f33fa4afa0c95c112b987ea1443e5a51c8f8ff27dc618270cc2" 1803 + dependencies = [ 1804 + "cssparser", 1805 + "html5ever", 1806 + "indexmap 2.12.0", 1807 + "selectors", 1808 + ] 1809 + 1810 + [[package]] 1811 + name = "lazy_static" 1812 + version = "1.5.0" 1813 + source = "registry+https://github.com/rust-lang/crates.io-index" 1814 + checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" 1815 + 1816 + [[package]] 1817 + name = "libappindicator" 1818 + version = "0.9.0" 1819 + source = "registry+https://github.com/rust-lang/crates.io-index" 1820 + checksum = "03589b9607c868cc7ae54c0b2a22c8dc03dd41692d48f2d7df73615c6a95dc0a" 1821 + dependencies = [ 1822 + "glib", 1823 + "gtk", 1824 + "gtk-sys", 1825 + "libappindicator-sys", 1826 + "log", 1827 + ] 1828 + 1829 + [[package]] 1830 + name = "libappindicator-sys" 1831 + version = "0.9.0" 1832 + source = "registry+https://github.com/rust-lang/crates.io-index" 1833 + checksum = "6e9ec52138abedcc58dc17a7c6c0c00a2bdb4f3427c7f63fa97fd0d859155caf" 1834 + dependencies = [ 1835 + "gtk-sys", 1836 + "libloading", 1837 + "once_cell", 1838 + ] 1839 + 1840 + [[package]] 1841 + name = "libc" 1842 + version = "0.2.177" 1843 + source = "registry+https://github.com/rust-lang/crates.io-index" 1844 + checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" 1845 + 1846 + [[package]] 1847 + name = "libloading" 1848 + version = "0.7.4" 1849 + source = "registry+https://github.com/rust-lang/crates.io-index" 1850 + checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" 1851 + dependencies = [ 1852 + "cfg-if", 1853 + "winapi", 1854 + ] 1855 + 1856 + [[package]] 1857 + name = "libredox" 1858 + version = "0.1.10" 1859 + source = "registry+https://github.com/rust-lang/crates.io-index" 1860 + checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" 1861 + dependencies = [ 1862 + "bitflags 2.10.0", 1863 + "libc", 1864 + ] 1865 + 1866 + [[package]] 1867 + name = "linux-raw-sys" 1868 + version = "0.11.0" 1869 + source = "registry+https://github.com/rust-lang/crates.io-index" 1870 + checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" 1871 + 1872 + [[package]] 1873 + name = "litemap" 1874 + version = "0.8.1" 1875 + source = "registry+https://github.com/rust-lang/crates.io-index" 1876 + checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" 1877 + 1878 + [[package]] 1879 + name = "lock_api" 1880 + version = "0.4.14" 1881 + source = "registry+https://github.com/rust-lang/crates.io-index" 1882 + checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" 1883 + dependencies = [ 1884 + "scopeguard", 1885 + ] 1886 + 1887 + [[package]] 1888 + name = "log" 1889 + version = "0.4.28" 1890 + source = "registry+https://github.com/rust-lang/crates.io-index" 1891 + checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" 1892 + 1893 + [[package]] 1894 + name = "mac" 1895 + version = "0.1.1" 1896 + source = "registry+https://github.com/rust-lang/crates.io-index" 1897 + checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" 1898 + 1899 + [[package]] 1900 + name = "markup5ever" 1901 + version = "0.14.1" 1902 + source = "registry+https://github.com/rust-lang/crates.io-index" 1903 + checksum = "c7a7213d12e1864c0f002f52c2923d4556935a43dec5e71355c2760e0f6e7a18" 1904 + dependencies = [ 1905 + "log", 1906 + "phf 0.11.3", 1907 + "phf_codegen 0.11.3", 1908 + "string_cache", 1909 + "string_cache_codegen", 1910 + "tendril", 1911 + ] 1912 + 1913 + [[package]] 1914 + name = "match_token" 1915 + version = "0.1.0" 1916 + source = "registry+https://github.com/rust-lang/crates.io-index" 1917 + checksum = "88a9689d8d44bf9964484516275f5cd4c9b59457a6940c1d5d0ecbb94510a36b" 1918 + dependencies = [ 1919 + "proc-macro2", 1920 + "quote", 1921 + "syn 2.0.109", 1922 + ] 1923 + 1924 + [[package]] 1925 + name = "matches" 1926 + version = "0.1.10" 1927 + source = "registry+https://github.com/rust-lang/crates.io-index" 1928 + checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" 1929 + 1930 + [[package]] 1931 + name = "memchr" 1932 + version = "2.7.6" 1933 + source = "registry+https://github.com/rust-lang/crates.io-index" 1934 + checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" 1935 + 1936 + [[package]] 1937 + name = "memoffset" 1938 + version = "0.9.1" 1939 + source = "registry+https://github.com/rust-lang/crates.io-index" 1940 + checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" 1941 + dependencies = [ 1942 + "autocfg", 1943 + ] 1944 + 1945 + [[package]] 1946 + name = "mime" 1947 + version = "0.3.17" 1948 + source = "registry+https://github.com/rust-lang/crates.io-index" 1949 + checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 1950 + 1951 + [[package]] 1952 + name = "miniz_oxide" 1953 + version = "0.8.9" 1954 + source = "registry+https://github.com/rust-lang/crates.io-index" 1955 + checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" 1956 + dependencies = [ 1957 + "adler2", 1958 + "simd-adler32", 1959 + ] 1960 + 1961 + [[package]] 1962 + name = "mio" 1963 + version = "1.1.0" 1964 + source = "registry+https://github.com/rust-lang/crates.io-index" 1965 + checksum = "69d83b0086dc8ecf3ce9ae2874b2d1290252e2a30720bea58a5c6639b0092873" 1966 + dependencies = [ 1967 + "libc", 1968 + "wasi 0.11.1+wasi-snapshot-preview1", 1969 + "windows-sys 0.61.2", 1970 + ] 1971 + 1972 + [[package]] 1973 + name = "muda" 1974 + version = "0.17.1" 1975 + source = "registry+https://github.com/rust-lang/crates.io-index" 1976 + checksum = "01c1738382f66ed56b3b9c8119e794a2e23148ac8ea214eda86622d4cb9d415a" 1977 + dependencies = [ 1978 + "crossbeam-channel", 1979 + "dpi", 1980 + "gtk", 1981 + "keyboard-types", 1982 + "objc2 0.6.3", 1983 + "objc2-app-kit", 1984 + "objc2-core-foundation", 1985 + "objc2-foundation 0.3.2", 1986 + "once_cell", 1987 + "png", 1988 + "serde", 1989 + "thiserror 2.0.17", 1990 + "windows-sys 0.60.2", 1991 + ] 1992 + 1993 + [[package]] 1994 + name = "ndk" 1995 + version = "0.9.0" 1996 + source = "registry+https://github.com/rust-lang/crates.io-index" 1997 + checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4" 1998 + dependencies = [ 1999 + "bitflags 2.10.0", 2000 + "jni-sys", 2001 + "log", 2002 + "ndk-sys", 2003 + "num_enum", 2004 + "raw-window-handle", 2005 + "thiserror 1.0.69", 2006 + ] 2007 + 2008 + [[package]] 2009 + name = "ndk-context" 2010 + version = "0.1.1" 2011 + source = "registry+https://github.com/rust-lang/crates.io-index" 2012 + checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" 2013 + 2014 + [[package]] 2015 + name = "ndk-sys" 2016 + version = "0.6.0+11769913" 2017 + source = "registry+https://github.com/rust-lang/crates.io-index" 2018 + checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873" 2019 + dependencies = [ 2020 + "jni-sys", 2021 + ] 2022 + 2023 + [[package]] 2024 + name = "new_debug_unreachable" 2025 + version = "1.0.6" 2026 + source = "registry+https://github.com/rust-lang/crates.io-index" 2027 + checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" 2028 + 2029 + [[package]] 2030 + name = "nix" 2031 + version = "0.30.1" 2032 + source = "registry+https://github.com/rust-lang/crates.io-index" 2033 + checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6" 2034 + dependencies = [ 2035 + "bitflags 2.10.0", 2036 + "cfg-if", 2037 + "cfg_aliases", 2038 + "libc", 2039 + "memoffset", 2040 + ] 2041 + 2042 + [[package]] 2043 + name = "nodrop" 2044 + version = "0.1.14" 2045 + source = "registry+https://github.com/rust-lang/crates.io-index" 2046 + checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" 2047 + 2048 + [[package]] 2049 + name = "num-conv" 2050 + version = "0.1.0" 2051 + source = "registry+https://github.com/rust-lang/crates.io-index" 2052 + checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" 2053 + 2054 + [[package]] 2055 + name = "num-traits" 2056 + version = "0.2.19" 2057 + source = "registry+https://github.com/rust-lang/crates.io-index" 2058 + checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" 2059 + dependencies = [ 2060 + "autocfg", 2061 + ] 2062 + 2063 + [[package]] 2064 + name = "num_enum" 2065 + version = "0.7.5" 2066 + source = "registry+https://github.com/rust-lang/crates.io-index" 2067 + checksum = "b1207a7e20ad57b847bbddc6776b968420d38292bbfe2089accff5e19e82454c" 2068 + dependencies = [ 2069 + "num_enum_derive", 2070 + "rustversion", 2071 + ] 2072 + 2073 + [[package]] 2074 + name = "num_enum_derive" 2075 + version = "0.7.5" 2076 + source = "registry+https://github.com/rust-lang/crates.io-index" 2077 + checksum = "ff32365de1b6743cb203b710788263c44a03de03802daf96092f2da4fe6ba4d7" 2078 + dependencies = [ 2079 + "proc-macro-crate 3.4.0", 2080 + "proc-macro2", 2081 + "quote", 2082 + "syn 2.0.109", 2083 + ] 2084 + 2085 + [[package]] 2086 + name = "objc-sys" 2087 + version = "0.3.5" 2088 + source = "registry+https://github.com/rust-lang/crates.io-index" 2089 + checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310" 2090 + 2091 + [[package]] 2092 + name = "objc2" 2093 + version = "0.5.2" 2094 + source = "registry+https://github.com/rust-lang/crates.io-index" 2095 + checksum = "46a785d4eeff09c14c487497c162e92766fbb3e4059a71840cecc03d9a50b804" 2096 + dependencies = [ 2097 + "objc-sys", 2098 + "objc2-encode", 2099 + ] 2100 + 2101 + [[package]] 2102 + name = "objc2" 2103 + version = "0.6.3" 2104 + source = "registry+https://github.com/rust-lang/crates.io-index" 2105 + checksum = "b7c2599ce0ec54857b29ce62166b0ed9b4f6f1a70ccc9a71165b6154caca8c05" 2106 + dependencies = [ 2107 + "objc2-encode", 2108 + "objc2-exception-helper", 2109 + ] 2110 + 2111 + [[package]] 2112 + name = "objc2-app-kit" 2113 + version = "0.3.2" 2114 + source = "registry+https://github.com/rust-lang/crates.io-index" 2115 + checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c" 2116 + dependencies = [ 2117 + "bitflags 2.10.0", 2118 + "block2 0.6.2", 2119 + "libc", 2120 + "objc2 0.6.3", 2121 + "objc2-cloud-kit", 2122 + "objc2-core-data", 2123 + "objc2-core-foundation", 2124 + "objc2-core-graphics", 2125 + "objc2-core-image", 2126 + "objc2-core-text", 2127 + "objc2-core-video", 2128 + "objc2-foundation 0.3.2", 2129 + "objc2-quartz-core 0.3.2", 2130 + ] 2131 + 2132 + [[package]] 2133 + name = "objc2-cloud-kit" 2134 + version = "0.3.2" 2135 + source = "registry+https://github.com/rust-lang/crates.io-index" 2136 + checksum = "73ad74d880bb43877038da939b7427bba67e9dd42004a18b809ba7d87cee241c" 2137 + dependencies = [ 2138 + "bitflags 2.10.0", 2139 + "objc2 0.6.3", 2140 + "objc2-foundation 0.3.2", 2141 + ] 2142 + 2143 + [[package]] 2144 + name = "objc2-core-data" 2145 + version = "0.3.2" 2146 + source = "registry+https://github.com/rust-lang/crates.io-index" 2147 + checksum = "0b402a653efbb5e82ce4df10683b6b28027616a2715e90009947d50b8dd298fa" 2148 + dependencies = [ 2149 + "bitflags 2.10.0", 2150 + "objc2 0.6.3", 2151 + "objc2-foundation 0.3.2", 2152 + ] 2153 + 2154 + [[package]] 2155 + name = "objc2-core-foundation" 2156 + version = "0.3.2" 2157 + source = "registry+https://github.com/rust-lang/crates.io-index" 2158 + checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" 2159 + dependencies = [ 2160 + "bitflags 2.10.0", 2161 + "dispatch2", 2162 + "objc2 0.6.3", 2163 + ] 2164 + 2165 + [[package]] 2166 + name = "objc2-core-graphics" 2167 + version = "0.3.2" 2168 + source = "registry+https://github.com/rust-lang/crates.io-index" 2169 + checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807" 2170 + dependencies = [ 2171 + "bitflags 2.10.0", 2172 + "dispatch2", 2173 + "objc2 0.6.3", 2174 + "objc2-core-foundation", 2175 + "objc2-io-surface", 2176 + ] 2177 + 2178 + [[package]] 2179 + name = "objc2-core-image" 2180 + version = "0.3.2" 2181 + source = "registry+https://github.com/rust-lang/crates.io-index" 2182 + checksum = "e5d563b38d2b97209f8e861173de434bd0214cf020e3423a52624cd1d989f006" 2183 + dependencies = [ 2184 + "objc2 0.6.3", 2185 + "objc2-foundation 0.3.2", 2186 + ] 2187 + 2188 + [[package]] 2189 + name = "objc2-core-text" 2190 + version = "0.3.2" 2191 + source = "registry+https://github.com/rust-lang/crates.io-index" 2192 + checksum = "0cde0dfb48d25d2b4862161a4d5fcc0e3c24367869ad306b0c9ec0073bfed92d" 2193 + dependencies = [ 2194 + "bitflags 2.10.0", 2195 + "objc2 0.6.3", 2196 + "objc2-core-foundation", 2197 + "objc2-core-graphics", 2198 + ] 2199 + 2200 + [[package]] 2201 + name = "objc2-core-video" 2202 + version = "0.3.2" 2203 + source = "registry+https://github.com/rust-lang/crates.io-index" 2204 + checksum = "d425caf1df73233f29fd8a5c3e5edbc30d2d4307870f802d18f00d83dc5141a6" 2205 + dependencies = [ 2206 + "bitflags 2.10.0", 2207 + "objc2 0.6.3", 2208 + "objc2-core-foundation", 2209 + "objc2-core-graphics", 2210 + "objc2-io-surface", 2211 + ] 2212 + 2213 + [[package]] 2214 + name = "objc2-encode" 2215 + version = "4.1.0" 2216 + source = "registry+https://github.com/rust-lang/crates.io-index" 2217 + checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" 2218 + 2219 + [[package]] 2220 + name = "objc2-exception-helper" 2221 + version = "0.1.1" 2222 + source = "registry+https://github.com/rust-lang/crates.io-index" 2223 + checksum = "c7a1c5fbb72d7735b076bb47b578523aedc40f3c439bea6dfd595c089d79d98a" 2224 + dependencies = [ 2225 + "cc", 2226 + ] 2227 + 2228 + [[package]] 2229 + name = "objc2-foundation" 2230 + version = "0.2.2" 2231 + source = "registry+https://github.com/rust-lang/crates.io-index" 2232 + checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8" 2233 + dependencies = [ 2234 + "bitflags 2.10.0", 2235 + "block2 0.5.1", 2236 + "libc", 2237 + "objc2 0.5.2", 2238 + ] 2239 + 2240 + [[package]] 2241 + name = "objc2-foundation" 2242 + version = "0.3.2" 2243 + source = "registry+https://github.com/rust-lang/crates.io-index" 2244 + checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" 2245 + dependencies = [ 2246 + "bitflags 2.10.0", 2247 + "block2 0.6.2", 2248 + "libc", 2249 + "objc2 0.6.3", 2250 + "objc2-core-foundation", 2251 + ] 2252 + 2253 + [[package]] 2254 + name = "objc2-io-surface" 2255 + version = "0.3.2" 2256 + source = "registry+https://github.com/rust-lang/crates.io-index" 2257 + checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d" 2258 + dependencies = [ 2259 + "bitflags 2.10.0", 2260 + "objc2 0.6.3", 2261 + "objc2-core-foundation", 2262 + ] 2263 + 2264 + [[package]] 2265 + name = "objc2-javascript-core" 2266 + version = "0.3.2" 2267 + source = "registry+https://github.com/rust-lang/crates.io-index" 2268 + checksum = "2a1e6550c4caed348956ce3370c9ffeca70bb1dbed4fa96112e7c6170e074586" 2269 + dependencies = [ 2270 + "objc2 0.6.3", 2271 + "objc2-core-foundation", 2272 + ] 2273 + 2274 + [[package]] 2275 + name = "objc2-metal" 2276 + version = "0.2.2" 2277 + source = "registry+https://github.com/rust-lang/crates.io-index" 2278 + checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6" 2279 + dependencies = [ 2280 + "bitflags 2.10.0", 2281 + "block2 0.5.1", 2282 + "objc2 0.5.2", 2283 + "objc2-foundation 0.2.2", 2284 + ] 2285 + 2286 + [[package]] 2287 + name = "objc2-quartz-core" 2288 + version = "0.2.2" 2289 + source = "registry+https://github.com/rust-lang/crates.io-index" 2290 + checksum = "e42bee7bff906b14b167da2bac5efe6b6a07e6f7c0a21a7308d40c960242dc7a" 2291 + dependencies = [ 2292 + "bitflags 2.10.0", 2293 + "block2 0.5.1", 2294 + "objc2 0.5.2", 2295 + "objc2-foundation 0.2.2", 2296 + "objc2-metal", 2297 + ] 2298 + 2299 + [[package]] 2300 + name = "objc2-quartz-core" 2301 + version = "0.3.2" 2302 + source = "registry+https://github.com/rust-lang/crates.io-index" 2303 + checksum = "96c1358452b371bf9f104e21ec536d37a650eb10f7ee379fff67d2e08d537f1f" 2304 + dependencies = [ 2305 + "bitflags 2.10.0", 2306 + "objc2 0.6.3", 2307 + "objc2-foundation 0.3.2", 2308 + ] 2309 + 2310 + [[package]] 2311 + name = "objc2-security" 2312 + version = "0.3.2" 2313 + source = "registry+https://github.com/rust-lang/crates.io-index" 2314 + checksum = "709fe137109bd1e8b5a99390f77a7d8b2961dafc1a1c5db8f2e60329ad6d895a" 2315 + dependencies = [ 2316 + "bitflags 2.10.0", 2317 + "objc2 0.6.3", 2318 + "objc2-core-foundation", 2319 + ] 2320 + 2321 + [[package]] 2322 + name = "objc2-ui-kit" 2323 + version = "0.3.2" 2324 + source = "registry+https://github.com/rust-lang/crates.io-index" 2325 + checksum = "d87d638e33c06f577498cbcc50491496a3ed4246998a7fbba7ccb98b1e7eab22" 2326 + dependencies = [ 2327 + "bitflags 2.10.0", 2328 + "objc2 0.6.3", 2329 + "objc2-core-foundation", 2330 + "objc2-foundation 0.3.2", 2331 + ] 2332 + 2333 + [[package]] 2334 + name = "objc2-web-kit" 2335 + version = "0.3.2" 2336 + source = "registry+https://github.com/rust-lang/crates.io-index" 2337 + checksum = "b2e5aaab980c433cf470df9d7af96a7b46a9d892d521a2cbbb2f8a4c16751e7f" 2338 + dependencies = [ 2339 + "bitflags 2.10.0", 2340 + "block2 0.6.2", 2341 + "objc2 0.6.3", 2342 + "objc2-app-kit", 2343 + "objc2-core-foundation", 2344 + "objc2-foundation 0.3.2", 2345 + "objc2-javascript-core", 2346 + "objc2-security", 2347 + ] 2348 + 2349 + [[package]] 2350 + name = "once_cell" 2351 + version = "1.21.3" 2352 + source = "registry+https://github.com/rust-lang/crates.io-index" 2353 + checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" 2354 + 2355 + [[package]] 2356 + name = "open" 2357 + version = "5.3.2" 2358 + source = "registry+https://github.com/rust-lang/crates.io-index" 2359 + checksum = "e2483562e62ea94312f3576a7aca397306df7990b8d89033e18766744377ef95" 2360 + dependencies = [ 2361 + "dunce", 2362 + "is-wsl", 2363 + "libc", 2364 + "pathdiff", 2365 + ] 2366 + 2367 + [[package]] 2368 + name = "option-ext" 2369 + version = "0.2.0" 2370 + source = "registry+https://github.com/rust-lang/crates.io-index" 2371 + checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" 2372 + 2373 + [[package]] 2374 + name = "ordered-stream" 2375 + version = "0.2.0" 2376 + source = "registry+https://github.com/rust-lang/crates.io-index" 2377 + checksum = "9aa2b01e1d916879f73a53d01d1d6cee68adbb31d6d9177a8cfce093cced1d50" 2378 + dependencies = [ 2379 + "futures-core", 2380 + "pin-project-lite", 2381 + ] 2382 + 2383 + [[package]] 2384 + name = "pango" 2385 + version = "0.18.3" 2386 + source = "registry+https://github.com/rust-lang/crates.io-index" 2387 + checksum = "7ca27ec1eb0457ab26f3036ea52229edbdb74dee1edd29063f5b9b010e7ebee4" 2388 + dependencies = [ 2389 + "gio", 2390 + "glib", 2391 + "libc", 2392 + "once_cell", 2393 + "pango-sys", 2394 + ] 2395 + 2396 + [[package]] 2397 + name = "pango-sys" 2398 + version = "0.18.0" 2399 + source = "registry+https://github.com/rust-lang/crates.io-index" 2400 + checksum = "436737e391a843e5933d6d9aa102cb126d501e815b83601365a948a518555dc5" 2401 + dependencies = [ 2402 + "glib-sys", 2403 + "gobject-sys", 2404 + "libc", 2405 + "system-deps", 2406 + ] 2407 + 2408 + [[package]] 2409 + name = "parking" 2410 + version = "2.2.1" 2411 + source = "registry+https://github.com/rust-lang/crates.io-index" 2412 + checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" 2413 + 2414 + [[package]] 2415 + name = "parking_lot" 2416 + version = "0.12.5" 2417 + source = "registry+https://github.com/rust-lang/crates.io-index" 2418 + checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" 2419 + dependencies = [ 2420 + "lock_api", 2421 + "parking_lot_core", 2422 + ] 2423 + 2424 + [[package]] 2425 + name = "parking_lot_core" 2426 + version = "0.9.12" 2427 + source = "registry+https://github.com/rust-lang/crates.io-index" 2428 + checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" 2429 + dependencies = [ 2430 + "cfg-if", 2431 + "libc", 2432 + "redox_syscall", 2433 + "smallvec", 2434 + "windows-link 0.2.1", 2435 + ] 2436 + 2437 + [[package]] 2438 + name = "pathdiff" 2439 + version = "0.2.3" 2440 + source = "registry+https://github.com/rust-lang/crates.io-index" 2441 + checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" 2442 + 2443 + [[package]] 2444 + name = "percent-encoding" 2445 + version = "2.3.2" 2446 + source = "registry+https://github.com/rust-lang/crates.io-index" 2447 + checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" 2448 + 2449 + [[package]] 2450 + name = "phf" 2451 + version = "0.8.0" 2452 + source = "registry+https://github.com/rust-lang/crates.io-index" 2453 + checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12" 2454 + dependencies = [ 2455 + "phf_shared 0.8.0", 2456 + ] 2457 + 2458 + [[package]] 2459 + name = "phf" 2460 + version = "0.10.1" 2461 + source = "registry+https://github.com/rust-lang/crates.io-index" 2462 + checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259" 2463 + dependencies = [ 2464 + "phf_macros 0.10.0", 2465 + "phf_shared 0.10.0", 2466 + "proc-macro-hack", 2467 + ] 2468 + 2469 + [[package]] 2470 + name = "phf" 2471 + version = "0.11.3" 2472 + source = "registry+https://github.com/rust-lang/crates.io-index" 2473 + checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078" 2474 + dependencies = [ 2475 + "phf_macros 0.11.3", 2476 + "phf_shared 0.11.3", 2477 + ] 2478 + 2479 + [[package]] 2480 + name = "phf_codegen" 2481 + version = "0.8.0" 2482 + source = "registry+https://github.com/rust-lang/crates.io-index" 2483 + checksum = "cbffee61585b0411840d3ece935cce9cb6321f01c45477d30066498cd5e1a815" 2484 + dependencies = [ 2485 + "phf_generator 0.8.0", 2486 + "phf_shared 0.8.0", 2487 + ] 2488 + 2489 + [[package]] 2490 + name = "phf_codegen" 2491 + version = "0.11.3" 2492 + source = "registry+https://github.com/rust-lang/crates.io-index" 2493 + checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a" 2494 + dependencies = [ 2495 + "phf_generator 0.11.3", 2496 + "phf_shared 0.11.3", 2497 + ] 2498 + 2499 + [[package]] 2500 + name = "phf_generator" 2501 + version = "0.8.0" 2502 + source = "registry+https://github.com/rust-lang/crates.io-index" 2503 + checksum = "17367f0cc86f2d25802b2c26ee58a7b23faeccf78a396094c13dced0d0182526" 2504 + dependencies = [ 2505 + "phf_shared 0.8.0", 2506 + "rand 0.7.3", 2507 + ] 2508 + 2509 + [[package]] 2510 + name = "phf_generator" 2511 + version = "0.10.0" 2512 + source = "registry+https://github.com/rust-lang/crates.io-index" 2513 + checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6" 2514 + dependencies = [ 2515 + "phf_shared 0.10.0", 2516 + "rand 0.8.5", 2517 + ] 2518 + 2519 + [[package]] 2520 + name = "phf_generator" 2521 + version = "0.11.3" 2522 + source = "registry+https://github.com/rust-lang/crates.io-index" 2523 + checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" 2524 + dependencies = [ 2525 + "phf_shared 0.11.3", 2526 + "rand 0.8.5", 2527 + ] 2528 + 2529 + [[package]] 2530 + name = "phf_macros" 2531 + version = "0.10.0" 2532 + source = "registry+https://github.com/rust-lang/crates.io-index" 2533 + checksum = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0" 2534 + dependencies = [ 2535 + "phf_generator 0.10.0", 2536 + "phf_shared 0.10.0", 2537 + "proc-macro-hack", 2538 + "proc-macro2", 2539 + "quote", 2540 + "syn 1.0.109", 2541 + ] 2542 + 2543 + [[package]] 2544 + name = "phf_macros" 2545 + version = "0.11.3" 2546 + source = "registry+https://github.com/rust-lang/crates.io-index" 2547 + checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216" 2548 + dependencies = [ 2549 + "phf_generator 0.11.3", 2550 + "phf_shared 0.11.3", 2551 + "proc-macro2", 2552 + "quote", 2553 + "syn 2.0.109", 2554 + ] 2555 + 2556 + [[package]] 2557 + name = "phf_shared" 2558 + version = "0.8.0" 2559 + source = "registry+https://github.com/rust-lang/crates.io-index" 2560 + checksum = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7" 2561 + dependencies = [ 2562 + "siphasher 0.3.11", 2563 + ] 2564 + 2565 + [[package]] 2566 + name = "phf_shared" 2567 + version = "0.10.0" 2568 + source = "registry+https://github.com/rust-lang/crates.io-index" 2569 + checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" 2570 + dependencies = [ 2571 + "siphasher 0.3.11", 2572 + ] 2573 + 2574 + [[package]] 2575 + name = "phf_shared" 2576 + version = "0.11.3" 2577 + source = "registry+https://github.com/rust-lang/crates.io-index" 2578 + checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5" 2579 + dependencies = [ 2580 + "siphasher 1.0.1", 2581 + ] 2582 + 2583 + [[package]] 2584 + name = "pin-project-lite" 2585 + version = "0.2.16" 2586 + source = "registry+https://github.com/rust-lang/crates.io-index" 2587 + checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" 2588 + 2589 + [[package]] 2590 + name = "pin-utils" 2591 + version = "0.1.0" 2592 + source = "registry+https://github.com/rust-lang/crates.io-index" 2593 + checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 2594 + 2595 + [[package]] 2596 + name = "piper" 2597 + version = "0.2.4" 2598 + source = "registry+https://github.com/rust-lang/crates.io-index" 2599 + checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" 2600 + dependencies = [ 2601 + "atomic-waker", 2602 + "fastrand", 2603 + "futures-io", 2604 + ] 2605 + 2606 + [[package]] 2607 + name = "pkg-config" 2608 + version = "0.3.32" 2609 + source = "registry+https://github.com/rust-lang/crates.io-index" 2610 + checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" 2611 + 2612 + [[package]] 2613 + name = "plist" 2614 + version = "1.8.0" 2615 + source = "registry+https://github.com/rust-lang/crates.io-index" 2616 + checksum = "740ebea15c5d1428f910cd1a5f52cebf8d25006245ed8ade92702f4943d91e07" 2617 + dependencies = [ 2618 + "base64 0.22.1", 2619 + "indexmap 2.12.0", 2620 + "quick-xml", 2621 + "serde", 2622 + "time", 2623 + ] 2624 + 2625 + [[package]] 2626 + name = "png" 2627 + version = "0.17.16" 2628 + source = "registry+https://github.com/rust-lang/crates.io-index" 2629 + checksum = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526" 2630 + dependencies = [ 2631 + "bitflags 1.3.2", 2632 + "crc32fast", 2633 + "fdeflate", 2634 + "flate2", 2635 + "miniz_oxide", 2636 + ] 2637 + 2638 + [[package]] 2639 + name = "polling" 2640 + version = "3.11.0" 2641 + source = "registry+https://github.com/rust-lang/crates.io-index" 2642 + checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218" 2643 + dependencies = [ 2644 + "cfg-if", 2645 + "concurrent-queue", 2646 + "hermit-abi", 2647 + "pin-project-lite", 2648 + "rustix", 2649 + "windows-sys 0.61.2", 2650 + ] 2651 + 2652 + [[package]] 2653 + name = "potential_utf" 2654 + version = "0.1.4" 2655 + source = "registry+https://github.com/rust-lang/crates.io-index" 2656 + checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" 2657 + dependencies = [ 2658 + "zerovec", 2659 + ] 2660 + 2661 + [[package]] 2662 + name = "powerfmt" 2663 + version = "0.2.0" 2664 + source = "registry+https://github.com/rust-lang/crates.io-index" 2665 + checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" 2666 + 2667 + [[package]] 2668 + name = "ppv-lite86" 2669 + version = "0.2.21" 2670 + source = "registry+https://github.com/rust-lang/crates.io-index" 2671 + checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" 2672 + dependencies = [ 2673 + "zerocopy", 2674 + ] 2675 + 2676 + [[package]] 2677 + name = "precomputed-hash" 2678 + version = "0.1.1" 2679 + source = "registry+https://github.com/rust-lang/crates.io-index" 2680 + checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" 2681 + 2682 + [[package]] 2683 + name = "privacypin" 2684 + version = "0.1.0" 2685 + dependencies = [ 2686 + "serde", 2687 + "serde_json", 2688 + "tauri", 2689 + "tauri-build", 2690 + "tauri-plugin-opener", 2691 + "tauri-plugin-store", 2692 + ] 2693 + 2694 + [[package]] 2695 + name = "proc-macro-crate" 2696 + version = "1.3.1" 2697 + source = "registry+https://github.com/rust-lang/crates.io-index" 2698 + checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" 2699 + dependencies = [ 2700 + "once_cell", 2701 + "toml_edit 0.19.15", 2702 + ] 2703 + 2704 + [[package]] 2705 + name = "proc-macro-crate" 2706 + version = "2.0.2" 2707 + source = "registry+https://github.com/rust-lang/crates.io-index" 2708 + checksum = "b00f26d3400549137f92511a46ac1cd8ce37cb5598a96d382381458b992a5d24" 2709 + dependencies = [ 2710 + "toml_datetime 0.6.3", 2711 + "toml_edit 0.20.2", 2712 + ] 2713 + 2714 + [[package]] 2715 + name = "proc-macro-crate" 2716 + version = "3.4.0" 2717 + source = "registry+https://github.com/rust-lang/crates.io-index" 2718 + checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983" 2719 + dependencies = [ 2720 + "toml_edit 0.23.7", 2721 + ] 2722 + 2723 + [[package]] 2724 + name = "proc-macro-error" 2725 + version = "1.0.4" 2726 + source = "registry+https://github.com/rust-lang/crates.io-index" 2727 + checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" 2728 + dependencies = [ 2729 + "proc-macro-error-attr", 2730 + "proc-macro2", 2731 + "quote", 2732 + "syn 1.0.109", 2733 + "version_check", 2734 + ] 2735 + 2736 + [[package]] 2737 + name = "proc-macro-error-attr" 2738 + version = "1.0.4" 2739 + source = "registry+https://github.com/rust-lang/crates.io-index" 2740 + checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" 2741 + dependencies = [ 2742 + "proc-macro2", 2743 + "quote", 2744 + "version_check", 2745 + ] 2746 + 2747 + [[package]] 2748 + name = "proc-macro-hack" 2749 + version = "0.5.20+deprecated" 2750 + source = "registry+https://github.com/rust-lang/crates.io-index" 2751 + checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" 2752 + 2753 + [[package]] 2754 + name = "proc-macro2" 2755 + version = "1.0.103" 2756 + source = "registry+https://github.com/rust-lang/crates.io-index" 2757 + checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" 2758 + dependencies = [ 2759 + "unicode-ident", 2760 + ] 2761 + 2762 + [[package]] 2763 + name = "quick-xml" 2764 + version = "0.38.3" 2765 + source = "registry+https://github.com/rust-lang/crates.io-index" 2766 + checksum = "42a232e7487fc2ef313d96dde7948e7a3c05101870d8985e4fd8d26aedd27b89" 2767 + dependencies = [ 2768 + "memchr", 2769 + ] 2770 + 2771 + [[package]] 2772 + name = "quote" 2773 + version = "1.0.42" 2774 + source = "registry+https://github.com/rust-lang/crates.io-index" 2775 + checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" 2776 + dependencies = [ 2777 + "proc-macro2", 2778 + ] 2779 + 2780 + [[package]] 2781 + name = "r-efi" 2782 + version = "5.3.0" 2783 + source = "registry+https://github.com/rust-lang/crates.io-index" 2784 + checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" 2785 + 2786 + [[package]] 2787 + name = "rand" 2788 + version = "0.7.3" 2789 + source = "registry+https://github.com/rust-lang/crates.io-index" 2790 + checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" 2791 + dependencies = [ 2792 + "getrandom 0.1.16", 2793 + "libc", 2794 + "rand_chacha 0.2.2", 2795 + "rand_core 0.5.1", 2796 + "rand_hc", 2797 + "rand_pcg", 2798 + ] 2799 + 2800 + [[package]] 2801 + name = "rand" 2802 + version = "0.8.5" 2803 + source = "registry+https://github.com/rust-lang/crates.io-index" 2804 + checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 2805 + dependencies = [ 2806 + "libc", 2807 + "rand_chacha 0.3.1", 2808 + "rand_core 0.6.4", 2809 + ] 2810 + 2811 + [[package]] 2812 + name = "rand_chacha" 2813 + version = "0.2.2" 2814 + source = "registry+https://github.com/rust-lang/crates.io-index" 2815 + checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" 2816 + dependencies = [ 2817 + "ppv-lite86", 2818 + "rand_core 0.5.1", 2819 + ] 2820 + 2821 + [[package]] 2822 + name = "rand_chacha" 2823 + version = "0.3.1" 2824 + source = "registry+https://github.com/rust-lang/crates.io-index" 2825 + checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 2826 + dependencies = [ 2827 + "ppv-lite86", 2828 + "rand_core 0.6.4", 2829 + ] 2830 + 2831 + [[package]] 2832 + name = "rand_core" 2833 + version = "0.5.1" 2834 + source = "registry+https://github.com/rust-lang/crates.io-index" 2835 + checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" 2836 + dependencies = [ 2837 + "getrandom 0.1.16", 2838 + ] 2839 + 2840 + [[package]] 2841 + name = "rand_core" 2842 + version = "0.6.4" 2843 + source = "registry+https://github.com/rust-lang/crates.io-index" 2844 + checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 2845 + dependencies = [ 2846 + "getrandom 0.2.16", 2847 + ] 2848 + 2849 + [[package]] 2850 + name = "rand_hc" 2851 + version = "0.2.0" 2852 + source = "registry+https://github.com/rust-lang/crates.io-index" 2853 + checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" 2854 + dependencies = [ 2855 + "rand_core 0.5.1", 2856 + ] 2857 + 2858 + [[package]] 2859 + name = "rand_pcg" 2860 + version = "0.2.1" 2861 + source = "registry+https://github.com/rust-lang/crates.io-index" 2862 + checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" 2863 + dependencies = [ 2864 + "rand_core 0.5.1", 2865 + ] 2866 + 2867 + [[package]] 2868 + name = "raw-window-handle" 2869 + version = "0.6.2" 2870 + source = "registry+https://github.com/rust-lang/crates.io-index" 2871 + checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539" 2872 + 2873 + [[package]] 2874 + name = "redox_syscall" 2875 + version = "0.5.18" 2876 + source = "registry+https://github.com/rust-lang/crates.io-index" 2877 + checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" 2878 + dependencies = [ 2879 + "bitflags 2.10.0", 2880 + ] 2881 + 2882 + [[package]] 2883 + name = "redox_users" 2884 + version = "0.5.2" 2885 + source = "registry+https://github.com/rust-lang/crates.io-index" 2886 + checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" 2887 + dependencies = [ 2888 + "getrandom 0.2.16", 2889 + "libredox", 2890 + "thiserror 2.0.17", 2891 + ] 2892 + 2893 + [[package]] 2894 + name = "ref-cast" 2895 + version = "1.0.25" 2896 + source = "registry+https://github.com/rust-lang/crates.io-index" 2897 + checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d" 2898 + dependencies = [ 2899 + "ref-cast-impl", 2900 + ] 2901 + 2902 + [[package]] 2903 + name = "ref-cast-impl" 2904 + version = "1.0.25" 2905 + source = "registry+https://github.com/rust-lang/crates.io-index" 2906 + checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da" 2907 + dependencies = [ 2908 + "proc-macro2", 2909 + "quote", 2910 + "syn 2.0.109", 2911 + ] 2912 + 2913 + [[package]] 2914 + name = "regex" 2915 + version = "1.12.2" 2916 + source = "registry+https://github.com/rust-lang/crates.io-index" 2917 + checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" 2918 + dependencies = [ 2919 + "aho-corasick", 2920 + "memchr", 2921 + "regex-automata", 2922 + "regex-syntax", 2923 + ] 2924 + 2925 + [[package]] 2926 + name = "regex-automata" 2927 + version = "0.4.13" 2928 + source = "registry+https://github.com/rust-lang/crates.io-index" 2929 + checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" 2930 + dependencies = [ 2931 + "aho-corasick", 2932 + "memchr", 2933 + "regex-syntax", 2934 + ] 2935 + 2936 + [[package]] 2937 + name = "regex-syntax" 2938 + version = "0.8.8" 2939 + source = "registry+https://github.com/rust-lang/crates.io-index" 2940 + checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" 2941 + 2942 + [[package]] 2943 + name = "reqwest" 2944 + version = "0.12.24" 2945 + source = "registry+https://github.com/rust-lang/crates.io-index" 2946 + checksum = "9d0946410b9f7b082a427e4ef5c8ff541a88b357bc6c637c40db3a68ac70a36f" 2947 + dependencies = [ 2948 + "base64 0.22.1", 2949 + "bytes", 2950 + "futures-core", 2951 + "futures-util", 2952 + "http", 2953 + "http-body", 2954 + "http-body-util", 2955 + "hyper", 2956 + "hyper-util", 2957 + "js-sys", 2958 + "log", 2959 + "percent-encoding", 2960 + "pin-project-lite", 2961 + "serde", 2962 + "serde_json", 2963 + "serde_urlencoded", 2964 + "sync_wrapper", 2965 + "tokio", 2966 + "tokio-util", 2967 + "tower", 2968 + "tower-http", 2969 + "tower-service", 2970 + "url", 2971 + "wasm-bindgen", 2972 + "wasm-bindgen-futures", 2973 + "wasm-streams", 2974 + "web-sys", 2975 + ] 2976 + 2977 + [[package]] 2978 + name = "rustc_version" 2979 + version = "0.4.1" 2980 + source = "registry+https://github.com/rust-lang/crates.io-index" 2981 + checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" 2982 + dependencies = [ 2983 + "semver", 2984 + ] 2985 + 2986 + [[package]] 2987 + name = "rustix" 2988 + version = "1.1.2" 2989 + source = "registry+https://github.com/rust-lang/crates.io-index" 2990 + checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" 2991 + dependencies = [ 2992 + "bitflags 2.10.0", 2993 + "errno", 2994 + "libc", 2995 + "linux-raw-sys", 2996 + "windows-sys 0.61.2", 2997 + ] 2998 + 2999 + [[package]] 3000 + name = "rustversion" 3001 + version = "1.0.22" 3002 + source = "registry+https://github.com/rust-lang/crates.io-index" 3003 + checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" 3004 + 3005 + [[package]] 3006 + name = "ryu" 3007 + version = "1.0.20" 3008 + source = "registry+https://github.com/rust-lang/crates.io-index" 3009 + checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" 3010 + 3011 + [[package]] 3012 + name = "same-file" 3013 + version = "1.0.6" 3014 + source = "registry+https://github.com/rust-lang/crates.io-index" 3015 + checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 3016 + dependencies = [ 3017 + "winapi-util", 3018 + ] 3019 + 3020 + [[package]] 3021 + name = "schemars" 3022 + version = "0.8.22" 3023 + source = "registry+https://github.com/rust-lang/crates.io-index" 3024 + checksum = "3fbf2ae1b8bc8e02df939598064d22402220cd5bbcca1c76f7d6a310974d5615" 3025 + dependencies = [ 3026 + "dyn-clone", 3027 + "indexmap 1.9.3", 3028 + "schemars_derive", 3029 + "serde", 3030 + "serde_json", 3031 + "url", 3032 + "uuid", 3033 + ] 3034 + 3035 + [[package]] 3036 + name = "schemars" 3037 + version = "0.9.0" 3038 + source = "registry+https://github.com/rust-lang/crates.io-index" 3039 + checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f" 3040 + dependencies = [ 3041 + "dyn-clone", 3042 + "ref-cast", 3043 + "serde", 3044 + "serde_json", 3045 + ] 3046 + 3047 + [[package]] 3048 + name = "schemars" 3049 + version = "1.1.0" 3050 + source = "registry+https://github.com/rust-lang/crates.io-index" 3051 + checksum = "9558e172d4e8533736ba97870c4b2cd63f84b382a3d6eb063da41b91cce17289" 3052 + dependencies = [ 3053 + "dyn-clone", 3054 + "ref-cast", 3055 + "serde", 3056 + "serde_json", 3057 + ] 3058 + 3059 + [[package]] 3060 + name = "schemars_derive" 3061 + version = "0.8.22" 3062 + source = "registry+https://github.com/rust-lang/crates.io-index" 3063 + checksum = "32e265784ad618884abaea0600a9adf15393368d840e0222d101a072f3f7534d" 3064 + dependencies = [ 3065 + "proc-macro2", 3066 + "quote", 3067 + "serde_derive_internals", 3068 + "syn 2.0.109", 3069 + ] 3070 + 3071 + [[package]] 3072 + name = "scopeguard" 3073 + version = "1.2.0" 3074 + source = "registry+https://github.com/rust-lang/crates.io-index" 3075 + checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 3076 + 3077 + [[package]] 3078 + name = "selectors" 3079 + version = "0.24.0" 3080 + source = "registry+https://github.com/rust-lang/crates.io-index" 3081 + checksum = "0c37578180969d00692904465fb7f6b3d50b9a2b952b87c23d0e2e5cb5013416" 3082 + dependencies = [ 3083 + "bitflags 1.3.2", 3084 + "cssparser", 3085 + "derive_more", 3086 + "fxhash", 3087 + "log", 3088 + "phf 0.8.0", 3089 + "phf_codegen 0.8.0", 3090 + "precomputed-hash", 3091 + "servo_arc", 3092 + "smallvec", 3093 + ] 3094 + 3095 + [[package]] 3096 + name = "semver" 3097 + version = "1.0.27" 3098 + source = "registry+https://github.com/rust-lang/crates.io-index" 3099 + checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" 3100 + dependencies = [ 3101 + "serde", 3102 + "serde_core", 3103 + ] 3104 + 3105 + [[package]] 3106 + name = "serde" 3107 + version = "1.0.228" 3108 + source = "registry+https://github.com/rust-lang/crates.io-index" 3109 + checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" 3110 + dependencies = [ 3111 + "serde_core", 3112 + "serde_derive", 3113 + ] 3114 + 3115 + [[package]] 3116 + name = "serde-untagged" 3117 + version = "0.1.9" 3118 + source = "registry+https://github.com/rust-lang/crates.io-index" 3119 + checksum = "f9faf48a4a2d2693be24c6289dbe26552776eb7737074e6722891fadbe6c5058" 3120 + dependencies = [ 3121 + "erased-serde", 3122 + "serde", 3123 + "serde_core", 3124 + "typeid", 3125 + ] 3126 + 3127 + [[package]] 3128 + name = "serde_core" 3129 + version = "1.0.228" 3130 + source = "registry+https://github.com/rust-lang/crates.io-index" 3131 + checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" 3132 + dependencies = [ 3133 + "serde_derive", 3134 + ] 3135 + 3136 + [[package]] 3137 + name = "serde_derive" 3138 + version = "1.0.228" 3139 + source = "registry+https://github.com/rust-lang/crates.io-index" 3140 + checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" 3141 + dependencies = [ 3142 + "proc-macro2", 3143 + "quote", 3144 + "syn 2.0.109", 3145 + ] 3146 + 3147 + [[package]] 3148 + name = "serde_derive_internals" 3149 + version = "0.29.1" 3150 + source = "registry+https://github.com/rust-lang/crates.io-index" 3151 + checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" 3152 + dependencies = [ 3153 + "proc-macro2", 3154 + "quote", 3155 + "syn 2.0.109", 3156 + ] 3157 + 3158 + [[package]] 3159 + name = "serde_json" 3160 + version = "1.0.145" 3161 + source = "registry+https://github.com/rust-lang/crates.io-index" 3162 + checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" 3163 + dependencies = [ 3164 + "itoa", 3165 + "memchr", 3166 + "ryu", 3167 + "serde", 3168 + "serde_core", 3169 + ] 3170 + 3171 + [[package]] 3172 + name = "serde_repr" 3173 + version = "0.1.20" 3174 + source = "registry+https://github.com/rust-lang/crates.io-index" 3175 + checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" 3176 + dependencies = [ 3177 + "proc-macro2", 3178 + "quote", 3179 + "syn 2.0.109", 3180 + ] 3181 + 3182 + [[package]] 3183 + name = "serde_spanned" 3184 + version = "0.6.9" 3185 + source = "registry+https://github.com/rust-lang/crates.io-index" 3186 + checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3" 3187 + dependencies = [ 3188 + "serde", 3189 + ] 3190 + 3191 + [[package]] 3192 + name = "serde_spanned" 3193 + version = "1.0.3" 3194 + source = "registry+https://github.com/rust-lang/crates.io-index" 3195 + checksum = "e24345aa0fe688594e73770a5f6d1b216508b4f93484c0026d521acd30134392" 3196 + dependencies = [ 3197 + "serde_core", 3198 + ] 3199 + 3200 + [[package]] 3201 + name = "serde_urlencoded" 3202 + version = "0.7.1" 3203 + source = "registry+https://github.com/rust-lang/crates.io-index" 3204 + checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" 3205 + dependencies = [ 3206 + "form_urlencoded", 3207 + "itoa", 3208 + "ryu", 3209 + "serde", 3210 + ] 3211 + 3212 + [[package]] 3213 + name = "serde_with" 3214 + version = "3.15.1" 3215 + source = "registry+https://github.com/rust-lang/crates.io-index" 3216 + checksum = "aa66c845eee442168b2c8134fec70ac50dc20e760769c8ba0ad1319ca1959b04" 3217 + dependencies = [ 3218 + "base64 0.22.1", 3219 + "chrono", 3220 + "hex", 3221 + "indexmap 1.9.3", 3222 + "indexmap 2.12.0", 3223 + "schemars 0.9.0", 3224 + "schemars 1.1.0", 3225 + "serde_core", 3226 + "serde_json", 3227 + "serde_with_macros", 3228 + "time", 3229 + ] 3230 + 3231 + [[package]] 3232 + name = "serde_with_macros" 3233 + version = "3.15.1" 3234 + source = "registry+https://github.com/rust-lang/crates.io-index" 3235 + checksum = "b91a903660542fced4e99881aa481bdbaec1634568ee02e0b8bd57c64cb38955" 3236 + dependencies = [ 3237 + "darling", 3238 + "proc-macro2", 3239 + "quote", 3240 + "syn 2.0.109", 3241 + ] 3242 + 3243 + [[package]] 3244 + name = "serialize-to-javascript" 3245 + version = "0.1.2" 3246 + source = "registry+https://github.com/rust-lang/crates.io-index" 3247 + checksum = "04f3666a07a197cdb77cdf306c32be9b7f598d7060d50cfd4d5aa04bfd92f6c5" 3248 + dependencies = [ 3249 + "serde", 3250 + "serde_json", 3251 + "serialize-to-javascript-impl", 3252 + ] 3253 + 3254 + [[package]] 3255 + name = "serialize-to-javascript-impl" 3256 + version = "0.1.2" 3257 + source = "registry+https://github.com/rust-lang/crates.io-index" 3258 + checksum = "772ee033c0916d670af7860b6e1ef7d658a4629a6d0b4c8c3e67f09b3765b75d" 3259 + dependencies = [ 3260 + "proc-macro2", 3261 + "quote", 3262 + "syn 2.0.109", 3263 + ] 3264 + 3265 + [[package]] 3266 + name = "servo_arc" 3267 + version = "0.2.0" 3268 + source = "registry+https://github.com/rust-lang/crates.io-index" 3269 + checksum = "d52aa42f8fdf0fed91e5ce7f23d8138441002fa31dca008acf47e6fd4721f741" 3270 + dependencies = [ 3271 + "nodrop", 3272 + "stable_deref_trait", 3273 + ] 3274 + 3275 + [[package]] 3276 + name = "sha2" 3277 + version = "0.10.9" 3278 + source = "registry+https://github.com/rust-lang/crates.io-index" 3279 + checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" 3280 + dependencies = [ 3281 + "cfg-if", 3282 + "cpufeatures", 3283 + "digest", 3284 + ] 3285 + 3286 + [[package]] 3287 + name = "shlex" 3288 + version = "1.3.0" 3289 + source = "registry+https://github.com/rust-lang/crates.io-index" 3290 + checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" 3291 + 3292 + [[package]] 3293 + name = "signal-hook-registry" 3294 + version = "1.4.6" 3295 + source = "registry+https://github.com/rust-lang/crates.io-index" 3296 + checksum = "b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b" 3297 + dependencies = [ 3298 + "libc", 3299 + ] 3300 + 3301 + [[package]] 3302 + name = "simd-adler32" 3303 + version = "0.3.7" 3304 + source = "registry+https://github.com/rust-lang/crates.io-index" 3305 + checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" 3306 + 3307 + [[package]] 3308 + name = "siphasher" 3309 + version = "0.3.11" 3310 + source = "registry+https://github.com/rust-lang/crates.io-index" 3311 + checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" 3312 + 3313 + [[package]] 3314 + name = "siphasher" 3315 + version = "1.0.1" 3316 + source = "registry+https://github.com/rust-lang/crates.io-index" 3317 + checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" 3318 + 3319 + [[package]] 3320 + name = "slab" 3321 + version = "0.4.11" 3322 + source = "registry+https://github.com/rust-lang/crates.io-index" 3323 + checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" 3324 + 3325 + [[package]] 3326 + name = "smallvec" 3327 + version = "1.15.1" 3328 + source = "registry+https://github.com/rust-lang/crates.io-index" 3329 + checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" 3330 + 3331 + [[package]] 3332 + name = "socket2" 3333 + version = "0.6.1" 3334 + source = "registry+https://github.com/rust-lang/crates.io-index" 3335 + checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881" 3336 + dependencies = [ 3337 + "libc", 3338 + "windows-sys 0.60.2", 3339 + ] 3340 + 3341 + [[package]] 3342 + name = "softbuffer" 3343 + version = "0.4.6" 3344 + source = "registry+https://github.com/rust-lang/crates.io-index" 3345 + checksum = "18051cdd562e792cad055119e0cdb2cfc137e44e3987532e0f9659a77931bb08" 3346 + dependencies = [ 3347 + "bytemuck", 3348 + "cfg_aliases", 3349 + "core-graphics", 3350 + "foreign-types", 3351 + "js-sys", 3352 + "log", 3353 + "objc2 0.5.2", 3354 + "objc2-foundation 0.2.2", 3355 + "objc2-quartz-core 0.2.2", 3356 + "raw-window-handle", 3357 + "redox_syscall", 3358 + "wasm-bindgen", 3359 + "web-sys", 3360 + "windows-sys 0.59.0", 3361 + ] 3362 + 3363 + [[package]] 3364 + name = "soup3" 3365 + version = "0.5.0" 3366 + source = "registry+https://github.com/rust-lang/crates.io-index" 3367 + checksum = "471f924a40f31251afc77450e781cb26d55c0b650842efafc9c6cbd2f7cc4f9f" 3368 + dependencies = [ 3369 + "futures-channel", 3370 + "gio", 3371 + "glib", 3372 + "libc", 3373 + "soup3-sys", 3374 + ] 3375 + 3376 + [[package]] 3377 + name = "soup3-sys" 3378 + version = "0.5.0" 3379 + source = "registry+https://github.com/rust-lang/crates.io-index" 3380 + checksum = "7ebe8950a680a12f24f15ebe1bf70db7af98ad242d9db43596ad3108aab86c27" 3381 + dependencies = [ 3382 + "gio-sys", 3383 + "glib-sys", 3384 + "gobject-sys", 3385 + "libc", 3386 + "system-deps", 3387 + ] 3388 + 3389 + [[package]] 3390 + name = "stable_deref_trait" 3391 + version = "1.2.1" 3392 + source = "registry+https://github.com/rust-lang/crates.io-index" 3393 + checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" 3394 + 3395 + [[package]] 3396 + name = "static_assertions" 3397 + version = "1.1.0" 3398 + source = "registry+https://github.com/rust-lang/crates.io-index" 3399 + checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 3400 + 3401 + [[package]] 3402 + name = "string_cache" 3403 + version = "0.8.9" 3404 + source = "registry+https://github.com/rust-lang/crates.io-index" 3405 + checksum = "bf776ba3fa74f83bf4b63c3dcbbf82173db2632ed8452cb2d891d33f459de70f" 3406 + dependencies = [ 3407 + "new_debug_unreachable", 3408 + "parking_lot", 3409 + "phf_shared 0.11.3", 3410 + "precomputed-hash", 3411 + "serde", 3412 + ] 3413 + 3414 + [[package]] 3415 + name = "string_cache_codegen" 3416 + version = "0.5.4" 3417 + source = "registry+https://github.com/rust-lang/crates.io-index" 3418 + checksum = "c711928715f1fe0fe509c53b43e993a9a557babc2d0a3567d0a3006f1ac931a0" 3419 + dependencies = [ 3420 + "phf_generator 0.11.3", 3421 + "phf_shared 0.11.3", 3422 + "proc-macro2", 3423 + "quote", 3424 + ] 3425 + 3426 + [[package]] 3427 + name = "strsim" 3428 + version = "0.11.1" 3429 + source = "registry+https://github.com/rust-lang/crates.io-index" 3430 + checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" 3431 + 3432 + [[package]] 3433 + name = "swift-rs" 3434 + version = "1.0.7" 3435 + source = "registry+https://github.com/rust-lang/crates.io-index" 3436 + checksum = "4057c98e2e852d51fdcfca832aac7b571f6b351ad159f9eda5db1655f8d0c4d7" 3437 + dependencies = [ 3438 + "base64 0.21.7", 3439 + "serde", 3440 + "serde_json", 3441 + ] 3442 + 3443 + [[package]] 3444 + name = "syn" 3445 + version = "1.0.109" 3446 + source = "registry+https://github.com/rust-lang/crates.io-index" 3447 + checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 3448 + dependencies = [ 3449 + "proc-macro2", 3450 + "quote", 3451 + "unicode-ident", 3452 + ] 3453 + 3454 + [[package]] 3455 + name = "syn" 3456 + version = "2.0.109" 3457 + source = "registry+https://github.com/rust-lang/crates.io-index" 3458 + checksum = "2f17c7e013e88258aa9543dcbe81aca68a667a9ac37cd69c9fbc07858bfe0e2f" 3459 + dependencies = [ 3460 + "proc-macro2", 3461 + "quote", 3462 + "unicode-ident", 3463 + ] 3464 + 3465 + [[package]] 3466 + name = "sync_wrapper" 3467 + version = "1.0.2" 3468 + source = "registry+https://github.com/rust-lang/crates.io-index" 3469 + checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" 3470 + dependencies = [ 3471 + "futures-core", 3472 + ] 3473 + 3474 + [[package]] 3475 + name = "synstructure" 3476 + version = "0.13.2" 3477 + source = "registry+https://github.com/rust-lang/crates.io-index" 3478 + checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" 3479 + dependencies = [ 3480 + "proc-macro2", 3481 + "quote", 3482 + "syn 2.0.109", 3483 + ] 3484 + 3485 + [[package]] 3486 + name = "system-deps" 3487 + version = "6.2.2" 3488 + source = "registry+https://github.com/rust-lang/crates.io-index" 3489 + checksum = "a3e535eb8dded36d55ec13eddacd30dec501792ff23a0b1682c38601b8cf2349" 3490 + dependencies = [ 3491 + "cfg-expr", 3492 + "heck 0.5.0", 3493 + "pkg-config", 3494 + "toml 0.8.2", 3495 + "version-compare", 3496 + ] 3497 + 3498 + [[package]] 3499 + name = "tao" 3500 + version = "0.34.5" 3501 + source = "registry+https://github.com/rust-lang/crates.io-index" 3502 + checksum = "f3a753bdc39c07b192151523a3f77cd0394aa75413802c883a0f6f6a0e5ee2e7" 3503 + dependencies = [ 3504 + "bitflags 2.10.0", 3505 + "block2 0.6.2", 3506 + "core-foundation", 3507 + "core-graphics", 3508 + "crossbeam-channel", 3509 + "dispatch", 3510 + "dlopen2", 3511 + "dpi", 3512 + "gdkwayland-sys", 3513 + "gdkx11-sys", 3514 + "gtk", 3515 + "jni", 3516 + "lazy_static", 3517 + "libc", 3518 + "log", 3519 + "ndk", 3520 + "ndk-context", 3521 + "ndk-sys", 3522 + "objc2 0.6.3", 3523 + "objc2-app-kit", 3524 + "objc2-foundation 0.3.2", 3525 + "once_cell", 3526 + "parking_lot", 3527 + "raw-window-handle", 3528 + "scopeguard", 3529 + "tao-macros", 3530 + "unicode-segmentation", 3531 + "url", 3532 + "windows", 3533 + "windows-core 0.61.2", 3534 + "windows-version", 3535 + "x11-dl", 3536 + ] 3537 + 3538 + [[package]] 3539 + name = "tao-macros" 3540 + version = "0.1.3" 3541 + source = "registry+https://github.com/rust-lang/crates.io-index" 3542 + checksum = "f4e16beb8b2ac17db28eab8bca40e62dbfbb34c0fcdc6d9826b11b7b5d047dfd" 3543 + dependencies = [ 3544 + "proc-macro2", 3545 + "quote", 3546 + "syn 2.0.109", 3547 + ] 3548 + 3549 + [[package]] 3550 + name = "target-lexicon" 3551 + version = "0.12.16" 3552 + source = "registry+https://github.com/rust-lang/crates.io-index" 3553 + checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" 3554 + 3555 + [[package]] 3556 + name = "tauri" 3557 + version = "2.9.2" 3558 + source = "registry+https://github.com/rust-lang/crates.io-index" 3559 + checksum = "8bceb52453e507c505b330afe3398510e87f428ea42b6e76ecb6bd63b15965b5" 3560 + dependencies = [ 3561 + "anyhow", 3562 + "bytes", 3563 + "cookie", 3564 + "dirs", 3565 + "dunce", 3566 + "embed_plist", 3567 + "getrandom 0.3.4", 3568 + "glob", 3569 + "gtk", 3570 + "heck 0.5.0", 3571 + "http", 3572 + "jni", 3573 + "libc", 3574 + "log", 3575 + "mime", 3576 + "muda", 3577 + "objc2 0.6.3", 3578 + "objc2-app-kit", 3579 + "objc2-foundation 0.3.2", 3580 + "objc2-ui-kit", 3581 + "objc2-web-kit", 3582 + "percent-encoding", 3583 + "plist", 3584 + "raw-window-handle", 3585 + "reqwest", 3586 + "serde", 3587 + "serde_json", 3588 + "serde_repr", 3589 + "serialize-to-javascript", 3590 + "swift-rs", 3591 + "tauri-build", 3592 + "tauri-macros", 3593 + "tauri-runtime", 3594 + "tauri-runtime-wry", 3595 + "tauri-utils", 3596 + "thiserror 2.0.17", 3597 + "tokio", 3598 + "tray-icon", 3599 + "url", 3600 + "webkit2gtk", 3601 + "webview2-com", 3602 + "window-vibrancy", 3603 + "windows", 3604 + ] 3605 + 3606 + [[package]] 3607 + name = "tauri-build" 3608 + version = "2.5.1" 3609 + source = "registry+https://github.com/rust-lang/crates.io-index" 3610 + checksum = "a924b6c50fe83193f0f8b14072afa7c25b7a72752a2a73d9549b463f5fe91a38" 3611 + dependencies = [ 3612 + "anyhow", 3613 + "cargo_toml", 3614 + "dirs", 3615 + "glob", 3616 + "heck 0.5.0", 3617 + "json-patch", 3618 + "schemars 0.8.22", 3619 + "semver", 3620 + "serde", 3621 + "serde_json", 3622 + "tauri-utils", 3623 + "tauri-winres", 3624 + "toml 0.9.8", 3625 + "walkdir", 3626 + ] 3627 + 3628 + [[package]] 3629 + name = "tauri-codegen" 3630 + version = "2.5.0" 3631 + source = "registry+https://github.com/rust-lang/crates.io-index" 3632 + checksum = "6c1fe64c74cc40f90848281a90058a6db931eb400b60205840e09801ee30f190" 3633 + dependencies = [ 3634 + "base64 0.22.1", 3635 + "brotli", 3636 + "ico", 3637 + "json-patch", 3638 + "plist", 3639 + "png", 3640 + "proc-macro2", 3641 + "quote", 3642 + "semver", 3643 + "serde", 3644 + "serde_json", 3645 + "sha2", 3646 + "syn 2.0.109", 3647 + "tauri-utils", 3648 + "thiserror 2.0.17", 3649 + "time", 3650 + "url", 3651 + "uuid", 3652 + "walkdir", 3653 + ] 3654 + 3655 + [[package]] 3656 + name = "tauri-macros" 3657 + version = "2.5.0" 3658 + source = "registry+https://github.com/rust-lang/crates.io-index" 3659 + checksum = "260c5d2eb036b76206b9fca20b7be3614cfd21046c5396f7959e0e64a4b07f2f" 3660 + dependencies = [ 3661 + "heck 0.5.0", 3662 + "proc-macro2", 3663 + "quote", 3664 + "syn 2.0.109", 3665 + "tauri-codegen", 3666 + "tauri-utils", 3667 + ] 3668 + 3669 + [[package]] 3670 + name = "tauri-plugin" 3671 + version = "2.5.1" 3672 + source = "registry+https://github.com/rust-lang/crates.io-index" 3673 + checksum = "076c78a474a7247c90cad0b6e87e593c4c620ed4efdb79cbe0214f0021f6c39d" 3674 + dependencies = [ 3675 + "anyhow", 3676 + "glob", 3677 + "plist", 3678 + "schemars 0.8.22", 3679 + "serde", 3680 + "serde_json", 3681 + "tauri-utils", 3682 + "toml 0.9.8", 3683 + "walkdir", 3684 + ] 3685 + 3686 + [[package]] 3687 + name = "tauri-plugin-opener" 3688 + version = "2.5.2" 3689 + source = "registry+https://github.com/rust-lang/crates.io-index" 3690 + checksum = "c26b72571d25dee25667940027114e60f569fc3974f8cefbe50c2cbc5fd65e3b" 3691 + dependencies = [ 3692 + "dunce", 3693 + "glob", 3694 + "objc2-app-kit", 3695 + "objc2-foundation 0.3.2", 3696 + "open", 3697 + "schemars 0.8.22", 3698 + "serde", 3699 + "serde_json", 3700 + "tauri", 3701 + "tauri-plugin", 3702 + "thiserror 2.0.17", 3703 + "url", 3704 + "windows", 3705 + "zbus", 3706 + ] 3707 + 3708 + [[package]] 3709 + name = "tauri-plugin-store" 3710 + version = "2.4.1" 3711 + source = "registry+https://github.com/rust-lang/crates.io-index" 3712 + checksum = "59a77036340a97eb5bbe1b3209c31e5f27f75e6f92a52fd9dd4b211ef08bf310" 3713 + dependencies = [ 3714 + "dunce", 3715 + "serde", 3716 + "serde_json", 3717 + "tauri", 3718 + "tauri-plugin", 3719 + "thiserror 2.0.17", 3720 + "tokio", 3721 + "tracing", 3722 + ] 3723 + 3724 + [[package]] 3725 + name = "tauri-runtime" 3726 + version = "2.9.1" 3727 + source = "registry+https://github.com/rust-lang/crates.io-index" 3728 + checksum = "9368f09358496f2229313fccb37682ad116b7f46fa76981efe116994a0628926" 3729 + dependencies = [ 3730 + "cookie", 3731 + "dpi", 3732 + "gtk", 3733 + "http", 3734 + "jni", 3735 + "objc2 0.6.3", 3736 + "objc2-ui-kit", 3737 + "objc2-web-kit", 3738 + "raw-window-handle", 3739 + "serde", 3740 + "serde_json", 3741 + "tauri-utils", 3742 + "thiserror 2.0.17", 3743 + "url", 3744 + "webkit2gtk", 3745 + "webview2-com", 3746 + "windows", 3747 + ] 3748 + 3749 + [[package]] 3750 + name = "tauri-runtime-wry" 3751 + version = "2.9.1" 3752 + source = "registry+https://github.com/rust-lang/crates.io-index" 3753 + checksum = "929f5df216f5c02a9e894554401bcdab6eec3e39ec6a4a7731c7067fc8688a93" 3754 + dependencies = [ 3755 + "gtk", 3756 + "http", 3757 + "jni", 3758 + "log", 3759 + "objc2 0.6.3", 3760 + "objc2-app-kit", 3761 + "objc2-foundation 0.3.2", 3762 + "once_cell", 3763 + "percent-encoding", 3764 + "raw-window-handle", 3765 + "softbuffer", 3766 + "tao", 3767 + "tauri-runtime", 3768 + "tauri-utils", 3769 + "url", 3770 + "webkit2gtk", 3771 + "webview2-com", 3772 + "windows", 3773 + "wry", 3774 + ] 3775 + 3776 + [[package]] 3777 + name = "tauri-utils" 3778 + version = "2.8.0" 3779 + source = "registry+https://github.com/rust-lang/crates.io-index" 3780 + checksum = "f6b8bbe426abdbf52d050e52ed693130dbd68375b9ad82a3fb17efb4c8d85673" 3781 + dependencies = [ 3782 + "anyhow", 3783 + "brotli", 3784 + "cargo_metadata", 3785 + "ctor", 3786 + "dunce", 3787 + "glob", 3788 + "html5ever", 3789 + "http", 3790 + "infer", 3791 + "json-patch", 3792 + "kuchikiki", 3793 + "log", 3794 + "memchr", 3795 + "phf 0.11.3", 3796 + "proc-macro2", 3797 + "quote", 3798 + "regex", 3799 + "schemars 0.8.22", 3800 + "semver", 3801 + "serde", 3802 + "serde-untagged", 3803 + "serde_json", 3804 + "serde_with", 3805 + "swift-rs", 3806 + "thiserror 2.0.17", 3807 + "toml 0.9.8", 3808 + "url", 3809 + "urlpattern", 3810 + "uuid", 3811 + "walkdir", 3812 + ] 3813 + 3814 + [[package]] 3815 + name = "tauri-winres" 3816 + version = "0.3.3" 3817 + source = "registry+https://github.com/rust-lang/crates.io-index" 3818 + checksum = "fd21509dd1fa9bd355dc29894a6ff10635880732396aa38c0066c1e6c1ab8074" 3819 + dependencies = [ 3820 + "embed-resource", 3821 + "toml 0.9.8", 3822 + ] 3823 + 3824 + [[package]] 3825 + name = "tempfile" 3826 + version = "3.23.0" 3827 + source = "registry+https://github.com/rust-lang/crates.io-index" 3828 + checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" 3829 + dependencies = [ 3830 + "fastrand", 3831 + "getrandom 0.3.4", 3832 + "once_cell", 3833 + "rustix", 3834 + "windows-sys 0.61.2", 3835 + ] 3836 + 3837 + [[package]] 3838 + name = "tendril" 3839 + version = "0.4.3" 3840 + source = "registry+https://github.com/rust-lang/crates.io-index" 3841 + checksum = "d24a120c5fc464a3458240ee02c299ebcb9d67b5249c8848b09d639dca8d7bb0" 3842 + dependencies = [ 3843 + "futf", 3844 + "mac", 3845 + "utf-8", 3846 + ] 3847 + 3848 + [[package]] 3849 + name = "thiserror" 3850 + version = "1.0.69" 3851 + source = "registry+https://github.com/rust-lang/crates.io-index" 3852 + checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" 3853 + dependencies = [ 3854 + "thiserror-impl 1.0.69", 3855 + ] 3856 + 3857 + [[package]] 3858 + name = "thiserror" 3859 + version = "2.0.17" 3860 + source = "registry+https://github.com/rust-lang/crates.io-index" 3861 + checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" 3862 + dependencies = [ 3863 + "thiserror-impl 2.0.17", 3864 + ] 3865 + 3866 + [[package]] 3867 + name = "thiserror-impl" 3868 + version = "1.0.69" 3869 + source = "registry+https://github.com/rust-lang/crates.io-index" 3870 + checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" 3871 + dependencies = [ 3872 + "proc-macro2", 3873 + "quote", 3874 + "syn 2.0.109", 3875 + ] 3876 + 3877 + [[package]] 3878 + name = "thiserror-impl" 3879 + version = "2.0.17" 3880 + source = "registry+https://github.com/rust-lang/crates.io-index" 3881 + checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" 3882 + dependencies = [ 3883 + "proc-macro2", 3884 + "quote", 3885 + "syn 2.0.109", 3886 + ] 3887 + 3888 + [[package]] 3889 + name = "time" 3890 + version = "0.3.44" 3891 + source = "registry+https://github.com/rust-lang/crates.io-index" 3892 + checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" 3893 + dependencies = [ 3894 + "deranged", 3895 + "itoa", 3896 + "num-conv", 3897 + "powerfmt", 3898 + "serde", 3899 + "time-core", 3900 + "time-macros", 3901 + ] 3902 + 3903 + [[package]] 3904 + name = "time-core" 3905 + version = "0.1.6" 3906 + source = "registry+https://github.com/rust-lang/crates.io-index" 3907 + checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" 3908 + 3909 + [[package]] 3910 + name = "time-macros" 3911 + version = "0.2.24" 3912 + source = "registry+https://github.com/rust-lang/crates.io-index" 3913 + checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" 3914 + dependencies = [ 3915 + "num-conv", 3916 + "time-core", 3917 + ] 3918 + 3919 + [[package]] 3920 + name = "tinystr" 3921 + version = "0.8.2" 3922 + source = "registry+https://github.com/rust-lang/crates.io-index" 3923 + checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" 3924 + dependencies = [ 3925 + "displaydoc", 3926 + "zerovec", 3927 + ] 3928 + 3929 + [[package]] 3930 + name = "tokio" 3931 + version = "1.48.0" 3932 + source = "registry+https://github.com/rust-lang/crates.io-index" 3933 + checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" 3934 + dependencies = [ 3935 + "bytes", 3936 + "libc", 3937 + "mio", 3938 + "pin-project-lite", 3939 + "socket2", 3940 + "tokio-macros", 3941 + "windows-sys 0.61.2", 3942 + ] 3943 + 3944 + [[package]] 3945 + name = "tokio-macros" 3946 + version = "2.6.0" 3947 + source = "registry+https://github.com/rust-lang/crates.io-index" 3948 + checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5" 3949 + dependencies = [ 3950 + "proc-macro2", 3951 + "quote", 3952 + "syn 2.0.109", 3953 + ] 3954 + 3955 + [[package]] 3956 + name = "tokio-util" 3957 + version = "0.7.17" 3958 + source = "registry+https://github.com/rust-lang/crates.io-index" 3959 + checksum = "2efa149fe76073d6e8fd97ef4f4eca7b67f599660115591483572e406e165594" 3960 + dependencies = [ 3961 + "bytes", 3962 + "futures-core", 3963 + "futures-sink", 3964 + "pin-project-lite", 3965 + "tokio", 3966 + ] 3967 + 3968 + [[package]] 3969 + name = "toml" 3970 + version = "0.8.2" 3971 + source = "registry+https://github.com/rust-lang/crates.io-index" 3972 + checksum = "185d8ab0dfbb35cf1399a6344d8484209c088f75f8f68230da55d48d95d43e3d" 3973 + dependencies = [ 3974 + "serde", 3975 + "serde_spanned 0.6.9", 3976 + "toml_datetime 0.6.3", 3977 + "toml_edit 0.20.2", 3978 + ] 3979 + 3980 + [[package]] 3981 + name = "toml" 3982 + version = "0.9.8" 3983 + source = "registry+https://github.com/rust-lang/crates.io-index" 3984 + checksum = "f0dc8b1fb61449e27716ec0e1bdf0f6b8f3e8f6b05391e8497b8b6d7804ea6d8" 3985 + dependencies = [ 3986 + "indexmap 2.12.0", 3987 + "serde_core", 3988 + "serde_spanned 1.0.3", 3989 + "toml_datetime 0.7.3", 3990 + "toml_parser", 3991 + "toml_writer", 3992 + "winnow 0.7.13", 3993 + ] 3994 + 3995 + [[package]] 3996 + name = "toml_datetime" 3997 + version = "0.6.3" 3998 + source = "registry+https://github.com/rust-lang/crates.io-index" 3999 + checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" 4000 + dependencies = [ 4001 + "serde", 4002 + ] 4003 + 4004 + [[package]] 4005 + name = "toml_datetime" 4006 + version = "0.7.3" 4007 + source = "registry+https://github.com/rust-lang/crates.io-index" 4008 + checksum = "f2cdb639ebbc97961c51720f858597f7f24c4fc295327923af55b74c3c724533" 4009 + dependencies = [ 4010 + "serde_core", 4011 + ] 4012 + 4013 + [[package]] 4014 + name = "toml_edit" 4015 + version = "0.19.15" 4016 + source = "registry+https://github.com/rust-lang/crates.io-index" 4017 + checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" 4018 + dependencies = [ 4019 + "indexmap 2.12.0", 4020 + "toml_datetime 0.6.3", 4021 + "winnow 0.5.40", 4022 + ] 4023 + 4024 + [[package]] 4025 + name = "toml_edit" 4026 + version = "0.20.2" 4027 + source = "registry+https://github.com/rust-lang/crates.io-index" 4028 + checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" 4029 + dependencies = [ 4030 + "indexmap 2.12.0", 4031 + "serde", 4032 + "serde_spanned 0.6.9", 4033 + "toml_datetime 0.6.3", 4034 + "winnow 0.5.40", 4035 + ] 4036 + 4037 + [[package]] 4038 + name = "toml_edit" 4039 + version = "0.23.7" 4040 + source = "registry+https://github.com/rust-lang/crates.io-index" 4041 + checksum = "6485ef6d0d9b5d0ec17244ff7eb05310113c3f316f2d14200d4de56b3cb98f8d" 4042 + dependencies = [ 4043 + "indexmap 2.12.0", 4044 + "toml_datetime 0.7.3", 4045 + "toml_parser", 4046 + "winnow 0.7.13", 4047 + ] 4048 + 4049 + [[package]] 4050 + name = "toml_parser" 4051 + version = "1.0.4" 4052 + source = "registry+https://github.com/rust-lang/crates.io-index" 4053 + checksum = "c0cbe268d35bdb4bb5a56a2de88d0ad0eb70af5384a99d648cd4b3d04039800e" 4054 + dependencies = [ 4055 + "winnow 0.7.13", 4056 + ] 4057 + 4058 + [[package]] 4059 + name = "toml_writer" 4060 + version = "1.0.4" 4061 + source = "registry+https://github.com/rust-lang/crates.io-index" 4062 + checksum = "df8b2b54733674ad286d16267dcfc7a71ed5c776e4ac7aa3c3e2561f7c637bf2" 4063 + 4064 + [[package]] 4065 + name = "tower" 4066 + version = "0.5.2" 4067 + source = "registry+https://github.com/rust-lang/crates.io-index" 4068 + checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" 4069 + dependencies = [ 4070 + "futures-core", 4071 + "futures-util", 4072 + "pin-project-lite", 4073 + "sync_wrapper", 4074 + "tokio", 4075 + "tower-layer", 4076 + "tower-service", 4077 + ] 4078 + 4079 + [[package]] 4080 + name = "tower-http" 4081 + version = "0.6.6" 4082 + source = "registry+https://github.com/rust-lang/crates.io-index" 4083 + checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2" 4084 + dependencies = [ 4085 + "bitflags 2.10.0", 4086 + "bytes", 4087 + "futures-util", 4088 + "http", 4089 + "http-body", 4090 + "iri-string", 4091 + "pin-project-lite", 4092 + "tower", 4093 + "tower-layer", 4094 + "tower-service", 4095 + ] 4096 + 4097 + [[package]] 4098 + name = "tower-layer" 4099 + version = "0.3.3" 4100 + source = "registry+https://github.com/rust-lang/crates.io-index" 4101 + checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" 4102 + 4103 + [[package]] 4104 + name = "tower-service" 4105 + version = "0.3.3" 4106 + source = "registry+https://github.com/rust-lang/crates.io-index" 4107 + checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" 4108 + 4109 + [[package]] 4110 + name = "tracing" 4111 + version = "0.1.41" 4112 + source = "registry+https://github.com/rust-lang/crates.io-index" 4113 + checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" 4114 + dependencies = [ 4115 + "pin-project-lite", 4116 + "tracing-attributes", 4117 + "tracing-core", 4118 + ] 4119 + 4120 + [[package]] 4121 + name = "tracing-attributes" 4122 + version = "0.1.30" 4123 + source = "registry+https://github.com/rust-lang/crates.io-index" 4124 + checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903" 4125 + dependencies = [ 4126 + "proc-macro2", 4127 + "quote", 4128 + "syn 2.0.109", 4129 + ] 4130 + 4131 + [[package]] 4132 + name = "tracing-core" 4133 + version = "0.1.34" 4134 + source = "registry+https://github.com/rust-lang/crates.io-index" 4135 + checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678" 4136 + dependencies = [ 4137 + "once_cell", 4138 + ] 4139 + 4140 + [[package]] 4141 + name = "tray-icon" 4142 + version = "0.21.2" 4143 + source = "registry+https://github.com/rust-lang/crates.io-index" 4144 + checksum = "e3d5572781bee8e3f994d7467084e1b1fd7a93ce66bd480f8156ba89dee55a2b" 4145 + dependencies = [ 4146 + "crossbeam-channel", 4147 + "dirs", 4148 + "libappindicator", 4149 + "muda", 4150 + "objc2 0.6.3", 4151 + "objc2-app-kit", 4152 + "objc2-core-foundation", 4153 + "objc2-core-graphics", 4154 + "objc2-foundation 0.3.2", 4155 + "once_cell", 4156 + "png", 4157 + "serde", 4158 + "thiserror 2.0.17", 4159 + "windows-sys 0.60.2", 4160 + ] 4161 + 4162 + [[package]] 4163 + name = "try-lock" 4164 + version = "0.2.5" 4165 + source = "registry+https://github.com/rust-lang/crates.io-index" 4166 + checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" 4167 + 4168 + [[package]] 4169 + name = "typeid" 4170 + version = "1.0.3" 4171 + source = "registry+https://github.com/rust-lang/crates.io-index" 4172 + checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" 4173 + 4174 + [[package]] 4175 + name = "typenum" 4176 + version = "1.19.0" 4177 + source = "registry+https://github.com/rust-lang/crates.io-index" 4178 + checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" 4179 + 4180 + [[package]] 4181 + name = "uds_windows" 4182 + version = "1.1.0" 4183 + source = "registry+https://github.com/rust-lang/crates.io-index" 4184 + checksum = "89daebc3e6fd160ac4aa9fc8b3bf71e1f74fbf92367ae71fb83a037e8bf164b9" 4185 + dependencies = [ 4186 + "memoffset", 4187 + "tempfile", 4188 + "winapi", 4189 + ] 4190 + 4191 + [[package]] 4192 + name = "unic-char-property" 4193 + version = "0.9.0" 4194 + source = "registry+https://github.com/rust-lang/crates.io-index" 4195 + checksum = "a8c57a407d9b6fa02b4795eb81c5b6652060a15a7903ea981f3d723e6c0be221" 4196 + dependencies = [ 4197 + "unic-char-range", 4198 + ] 4199 + 4200 + [[package]] 4201 + name = "unic-char-range" 4202 + version = "0.9.0" 4203 + source = "registry+https://github.com/rust-lang/crates.io-index" 4204 + checksum = "0398022d5f700414f6b899e10b8348231abf9173fa93144cbc1a43b9793c1fbc" 4205 + 4206 + [[package]] 4207 + name = "unic-common" 4208 + version = "0.9.0" 4209 + source = "registry+https://github.com/rust-lang/crates.io-index" 4210 + checksum = "80d7ff825a6a654ee85a63e80f92f054f904f21e7d12da4e22f9834a4aaa35bc" 4211 + 4212 + [[package]] 4213 + name = "unic-ucd-ident" 4214 + version = "0.9.0" 4215 + source = "registry+https://github.com/rust-lang/crates.io-index" 4216 + checksum = "e230a37c0381caa9219d67cf063aa3a375ffed5bf541a452db16e744bdab6987" 4217 + dependencies = [ 4218 + "unic-char-property", 4219 + "unic-char-range", 4220 + "unic-ucd-version", 4221 + ] 4222 + 4223 + [[package]] 4224 + name = "unic-ucd-version" 4225 + version = "0.9.0" 4226 + source = "registry+https://github.com/rust-lang/crates.io-index" 4227 + checksum = "96bd2f2237fe450fcd0a1d2f5f4e91711124f7857ba2e964247776ebeeb7b0c4" 4228 + dependencies = [ 4229 + "unic-common", 4230 + ] 4231 + 4232 + [[package]] 4233 + name = "unicode-ident" 4234 + version = "1.0.22" 4235 + source = "registry+https://github.com/rust-lang/crates.io-index" 4236 + checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" 4237 + 4238 + [[package]] 4239 + name = "unicode-segmentation" 4240 + version = "1.12.0" 4241 + source = "registry+https://github.com/rust-lang/crates.io-index" 4242 + checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" 4243 + 4244 + [[package]] 4245 + name = "url" 4246 + version = "2.5.7" 4247 + source = "registry+https://github.com/rust-lang/crates.io-index" 4248 + checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" 4249 + dependencies = [ 4250 + "form_urlencoded", 4251 + "idna", 4252 + "percent-encoding", 4253 + "serde", 4254 + ] 4255 + 4256 + [[package]] 4257 + name = "urlpattern" 4258 + version = "0.3.0" 4259 + source = "registry+https://github.com/rust-lang/crates.io-index" 4260 + checksum = "70acd30e3aa1450bc2eece896ce2ad0d178e9c079493819301573dae3c37ba6d" 4261 + dependencies = [ 4262 + "regex", 4263 + "serde", 4264 + "unic-ucd-ident", 4265 + "url", 4266 + ] 4267 + 4268 + [[package]] 4269 + name = "utf-8" 4270 + version = "0.7.6" 4271 + source = "registry+https://github.com/rust-lang/crates.io-index" 4272 + checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" 4273 + 4274 + [[package]] 4275 + name = "utf8_iter" 4276 + version = "1.0.4" 4277 + source = "registry+https://github.com/rust-lang/crates.io-index" 4278 + checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" 4279 + 4280 + [[package]] 4281 + name = "uuid" 4282 + version = "1.18.1" 4283 + source = "registry+https://github.com/rust-lang/crates.io-index" 4284 + checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2" 4285 + dependencies = [ 4286 + "getrandom 0.3.4", 4287 + "js-sys", 4288 + "serde", 4289 + "wasm-bindgen", 4290 + ] 4291 + 4292 + [[package]] 4293 + name = "version-compare" 4294 + version = "0.2.1" 4295 + source = "registry+https://github.com/rust-lang/crates.io-index" 4296 + checksum = "03c2856837ef78f57382f06b2b8563a2f512f7185d732608fd9176cb3b8edf0e" 4297 + 4298 + [[package]] 4299 + name = "version_check" 4300 + version = "0.9.5" 4301 + source = "registry+https://github.com/rust-lang/crates.io-index" 4302 + checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" 4303 + 4304 + [[package]] 4305 + name = "vswhom" 4306 + version = "0.1.0" 4307 + source = "registry+https://github.com/rust-lang/crates.io-index" 4308 + checksum = "be979b7f07507105799e854203b470ff7c78a1639e330a58f183b5fea574608b" 4309 + dependencies = [ 4310 + "libc", 4311 + "vswhom-sys", 4312 + ] 4313 + 4314 + [[package]] 4315 + name = "vswhom-sys" 4316 + version = "0.1.3" 4317 + source = "registry+https://github.com/rust-lang/crates.io-index" 4318 + checksum = "fb067e4cbd1ff067d1df46c9194b5de0e98efd2810bbc95c5d5e5f25a3231150" 4319 + dependencies = [ 4320 + "cc", 4321 + "libc", 4322 + ] 4323 + 4324 + [[package]] 4325 + name = "walkdir" 4326 + version = "2.5.0" 4327 + source = "registry+https://github.com/rust-lang/crates.io-index" 4328 + checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" 4329 + dependencies = [ 4330 + "same-file", 4331 + "winapi-util", 4332 + ] 4333 + 4334 + [[package]] 4335 + name = "want" 4336 + version = "0.3.1" 4337 + source = "registry+https://github.com/rust-lang/crates.io-index" 4338 + checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" 4339 + dependencies = [ 4340 + "try-lock", 4341 + ] 4342 + 4343 + [[package]] 4344 + name = "wasi" 4345 + version = "0.9.0+wasi-snapshot-preview1" 4346 + source = "registry+https://github.com/rust-lang/crates.io-index" 4347 + checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" 4348 + 4349 + [[package]] 4350 + name = "wasi" 4351 + version = "0.11.1+wasi-snapshot-preview1" 4352 + source = "registry+https://github.com/rust-lang/crates.io-index" 4353 + checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" 4354 + 4355 + [[package]] 4356 + name = "wasip2" 4357 + version = "1.0.1+wasi-0.2.4" 4358 + source = "registry+https://github.com/rust-lang/crates.io-index" 4359 + checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" 4360 + dependencies = [ 4361 + "wit-bindgen", 4362 + ] 4363 + 4364 + [[package]] 4365 + name = "wasm-bindgen" 4366 + version = "0.2.105" 4367 + source = "registry+https://github.com/rust-lang/crates.io-index" 4368 + checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60" 4369 + dependencies = [ 4370 + "cfg-if", 4371 + "once_cell", 4372 + "rustversion", 4373 + "wasm-bindgen-macro", 4374 + "wasm-bindgen-shared", 4375 + ] 4376 + 4377 + [[package]] 4378 + name = "wasm-bindgen-futures" 4379 + version = "0.4.55" 4380 + source = "registry+https://github.com/rust-lang/crates.io-index" 4381 + checksum = "551f88106c6d5e7ccc7cd9a16f312dd3b5d36ea8b4954304657d5dfba115d4a0" 4382 + dependencies = [ 4383 + "cfg-if", 4384 + "js-sys", 4385 + "once_cell", 4386 + "wasm-bindgen", 4387 + "web-sys", 4388 + ] 4389 + 4390 + [[package]] 4391 + name = "wasm-bindgen-macro" 4392 + version = "0.2.105" 4393 + source = "registry+https://github.com/rust-lang/crates.io-index" 4394 + checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2" 4395 + dependencies = [ 4396 + "quote", 4397 + "wasm-bindgen-macro-support", 4398 + ] 4399 + 4400 + [[package]] 4401 + name = "wasm-bindgen-macro-support" 4402 + version = "0.2.105" 4403 + source = "registry+https://github.com/rust-lang/crates.io-index" 4404 + checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc" 4405 + dependencies = [ 4406 + "bumpalo", 4407 + "proc-macro2", 4408 + "quote", 4409 + "syn 2.0.109", 4410 + "wasm-bindgen-shared", 4411 + ] 4412 + 4413 + [[package]] 4414 + name = "wasm-bindgen-shared" 4415 + version = "0.2.105" 4416 + source = "registry+https://github.com/rust-lang/crates.io-index" 4417 + checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76" 4418 + dependencies = [ 4419 + "unicode-ident", 4420 + ] 4421 + 4422 + [[package]] 4423 + name = "wasm-streams" 4424 + version = "0.4.2" 4425 + source = "registry+https://github.com/rust-lang/crates.io-index" 4426 + checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65" 4427 + dependencies = [ 4428 + "futures-util", 4429 + "js-sys", 4430 + "wasm-bindgen", 4431 + "wasm-bindgen-futures", 4432 + "web-sys", 4433 + ] 4434 + 4435 + [[package]] 4436 + name = "web-sys" 4437 + version = "0.3.82" 4438 + source = "registry+https://github.com/rust-lang/crates.io-index" 4439 + checksum = "3a1f95c0d03a47f4ae1f7a64643a6bb97465d9b740f0fa8f90ea33915c99a9a1" 4440 + dependencies = [ 4441 + "js-sys", 4442 + "wasm-bindgen", 4443 + ] 4444 + 4445 + [[package]] 4446 + name = "webkit2gtk" 4447 + version = "2.0.1" 4448 + source = "registry+https://github.com/rust-lang/crates.io-index" 4449 + checksum = "76b1bc1e54c581da1e9f179d0b38512ba358fb1af2d634a1affe42e37172361a" 4450 + dependencies = [ 4451 + "bitflags 1.3.2", 4452 + "cairo-rs", 4453 + "gdk", 4454 + "gdk-sys", 4455 + "gio", 4456 + "gio-sys", 4457 + "glib", 4458 + "glib-sys", 4459 + "gobject-sys", 4460 + "gtk", 4461 + "gtk-sys", 4462 + "javascriptcore-rs", 4463 + "libc", 4464 + "once_cell", 4465 + "soup3", 4466 + "webkit2gtk-sys", 4467 + ] 4468 + 4469 + [[package]] 4470 + name = "webkit2gtk-sys" 4471 + version = "2.0.1" 4472 + source = "registry+https://github.com/rust-lang/crates.io-index" 4473 + checksum = "62daa38afc514d1f8f12b8693d30d5993ff77ced33ce30cd04deebc267a6d57c" 4474 + dependencies = [ 4475 + "bitflags 1.3.2", 4476 + "cairo-sys-rs", 4477 + "gdk-sys", 4478 + "gio-sys", 4479 + "glib-sys", 4480 + "gobject-sys", 4481 + "gtk-sys", 4482 + "javascriptcore-rs-sys", 4483 + "libc", 4484 + "pkg-config", 4485 + "soup3-sys", 4486 + "system-deps", 4487 + ] 4488 + 4489 + [[package]] 4490 + name = "webview2-com" 4491 + version = "0.38.0" 4492 + source = "registry+https://github.com/rust-lang/crates.io-index" 4493 + checksum = "d4ba622a989277ef3886dd5afb3e280e3dd6d974b766118950a08f8f678ad6a4" 4494 + dependencies = [ 4495 + "webview2-com-macros", 4496 + "webview2-com-sys", 4497 + "windows", 4498 + "windows-core 0.61.2", 4499 + "windows-implement", 4500 + "windows-interface", 4501 + ] 4502 + 4503 + [[package]] 4504 + name = "webview2-com-macros" 4505 + version = "0.8.0" 4506 + source = "registry+https://github.com/rust-lang/crates.io-index" 4507 + checksum = "1d228f15bba3b9d56dde8bddbee66fa24545bd17b48d5128ccf4a8742b18e431" 4508 + dependencies = [ 4509 + "proc-macro2", 4510 + "quote", 4511 + "syn 2.0.109", 4512 + ] 4513 + 4514 + [[package]] 4515 + name = "webview2-com-sys" 4516 + version = "0.38.0" 4517 + source = "registry+https://github.com/rust-lang/crates.io-index" 4518 + checksum = "36695906a1b53a3bf5c4289621efedac12b73eeb0b89e7e1a89b517302d5d75c" 4519 + dependencies = [ 4520 + "thiserror 2.0.17", 4521 + "windows", 4522 + "windows-core 0.61.2", 4523 + ] 4524 + 4525 + [[package]] 4526 + name = "winapi" 4527 + version = "0.3.9" 4528 + source = "registry+https://github.com/rust-lang/crates.io-index" 4529 + checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 4530 + dependencies = [ 4531 + "winapi-i686-pc-windows-gnu", 4532 + "winapi-x86_64-pc-windows-gnu", 4533 + ] 4534 + 4535 + [[package]] 4536 + name = "winapi-i686-pc-windows-gnu" 4537 + version = "0.4.0" 4538 + source = "registry+https://github.com/rust-lang/crates.io-index" 4539 + checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 4540 + 4541 + [[package]] 4542 + name = "winapi-util" 4543 + version = "0.1.11" 4544 + source = "registry+https://github.com/rust-lang/crates.io-index" 4545 + checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" 4546 + dependencies = [ 4547 + "windows-sys 0.61.2", 4548 + ] 4549 + 4550 + [[package]] 4551 + name = "winapi-x86_64-pc-windows-gnu" 4552 + version = "0.4.0" 4553 + source = "registry+https://github.com/rust-lang/crates.io-index" 4554 + checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 4555 + 4556 + [[package]] 4557 + name = "window-vibrancy" 4558 + version = "0.6.0" 4559 + source = "registry+https://github.com/rust-lang/crates.io-index" 4560 + checksum = "d9bec5a31f3f9362f2258fd0e9c9dd61a9ca432e7306cc78c444258f0dce9a9c" 4561 + dependencies = [ 4562 + "objc2 0.6.3", 4563 + "objc2-app-kit", 4564 + "objc2-core-foundation", 4565 + "objc2-foundation 0.3.2", 4566 + "raw-window-handle", 4567 + "windows-sys 0.59.0", 4568 + "windows-version", 4569 + ] 4570 + 4571 + [[package]] 4572 + name = "windows" 4573 + version = "0.61.3" 4574 + source = "registry+https://github.com/rust-lang/crates.io-index" 4575 + checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" 4576 + dependencies = [ 4577 + "windows-collections", 4578 + "windows-core 0.61.2", 4579 + "windows-future", 4580 + "windows-link 0.1.3", 4581 + "windows-numerics", 4582 + ] 4583 + 4584 + [[package]] 4585 + name = "windows-collections" 4586 + version = "0.2.0" 4587 + source = "registry+https://github.com/rust-lang/crates.io-index" 4588 + checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8" 4589 + dependencies = [ 4590 + "windows-core 0.61.2", 4591 + ] 4592 + 4593 + [[package]] 4594 + name = "windows-core" 4595 + version = "0.61.2" 4596 + source = "registry+https://github.com/rust-lang/crates.io-index" 4597 + checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" 4598 + dependencies = [ 4599 + "windows-implement", 4600 + "windows-interface", 4601 + "windows-link 0.1.3", 4602 + "windows-result 0.3.4", 4603 + "windows-strings 0.4.2", 4604 + ] 4605 + 4606 + [[package]] 4607 + name = "windows-core" 4608 + version = "0.62.2" 4609 + source = "registry+https://github.com/rust-lang/crates.io-index" 4610 + checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" 4611 + dependencies = [ 4612 + "windows-implement", 4613 + "windows-interface", 4614 + "windows-link 0.2.1", 4615 + "windows-result 0.4.1", 4616 + "windows-strings 0.5.1", 4617 + ] 4618 + 4619 + [[package]] 4620 + name = "windows-future" 4621 + version = "0.2.1" 4622 + source = "registry+https://github.com/rust-lang/crates.io-index" 4623 + checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" 4624 + dependencies = [ 4625 + "windows-core 0.61.2", 4626 + "windows-link 0.1.3", 4627 + "windows-threading", 4628 + ] 4629 + 4630 + [[package]] 4631 + name = "windows-implement" 4632 + version = "0.60.2" 4633 + source = "registry+https://github.com/rust-lang/crates.io-index" 4634 + checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" 4635 + dependencies = [ 4636 + "proc-macro2", 4637 + "quote", 4638 + "syn 2.0.109", 4639 + ] 4640 + 4641 + [[package]] 4642 + name = "windows-interface" 4643 + version = "0.59.3" 4644 + source = "registry+https://github.com/rust-lang/crates.io-index" 4645 + checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" 4646 + dependencies = [ 4647 + "proc-macro2", 4648 + "quote", 4649 + "syn 2.0.109", 4650 + ] 4651 + 4652 + [[package]] 4653 + name = "windows-link" 4654 + version = "0.1.3" 4655 + source = "registry+https://github.com/rust-lang/crates.io-index" 4656 + checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" 4657 + 4658 + [[package]] 4659 + name = "windows-link" 4660 + version = "0.2.1" 4661 + source = "registry+https://github.com/rust-lang/crates.io-index" 4662 + checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" 4663 + 4664 + [[package]] 4665 + name = "windows-numerics" 4666 + version = "0.2.0" 4667 + source = "registry+https://github.com/rust-lang/crates.io-index" 4668 + checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" 4669 + dependencies = [ 4670 + "windows-core 0.61.2", 4671 + "windows-link 0.1.3", 4672 + ] 4673 + 4674 + [[package]] 4675 + name = "windows-result" 4676 + version = "0.3.4" 4677 + source = "registry+https://github.com/rust-lang/crates.io-index" 4678 + checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" 4679 + dependencies = [ 4680 + "windows-link 0.1.3", 4681 + ] 4682 + 4683 + [[package]] 4684 + name = "windows-result" 4685 + version = "0.4.1" 4686 + source = "registry+https://github.com/rust-lang/crates.io-index" 4687 + checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" 4688 + dependencies = [ 4689 + "windows-link 0.2.1", 4690 + ] 4691 + 4692 + [[package]] 4693 + name = "windows-strings" 4694 + version = "0.4.2" 4695 + source = "registry+https://github.com/rust-lang/crates.io-index" 4696 + checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" 4697 + dependencies = [ 4698 + "windows-link 0.1.3", 4699 + ] 4700 + 4701 + [[package]] 4702 + name = "windows-strings" 4703 + version = "0.5.1" 4704 + source = "registry+https://github.com/rust-lang/crates.io-index" 4705 + checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" 4706 + dependencies = [ 4707 + "windows-link 0.2.1", 4708 + ] 4709 + 4710 + [[package]] 4711 + name = "windows-sys" 4712 + version = "0.45.0" 4713 + source = "registry+https://github.com/rust-lang/crates.io-index" 4714 + checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" 4715 + dependencies = [ 4716 + "windows-targets 0.42.2", 4717 + ] 4718 + 4719 + [[package]] 4720 + name = "windows-sys" 4721 + version = "0.59.0" 4722 + source = "registry+https://github.com/rust-lang/crates.io-index" 4723 + checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" 4724 + dependencies = [ 4725 + "windows-targets 0.52.6", 4726 + ] 4727 + 4728 + [[package]] 4729 + name = "windows-sys" 4730 + version = "0.60.2" 4731 + source = "registry+https://github.com/rust-lang/crates.io-index" 4732 + checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" 4733 + dependencies = [ 4734 + "windows-targets 0.53.5", 4735 + ] 4736 + 4737 + [[package]] 4738 + name = "windows-sys" 4739 + version = "0.61.2" 4740 + source = "registry+https://github.com/rust-lang/crates.io-index" 4741 + checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" 4742 + dependencies = [ 4743 + "windows-link 0.2.1", 4744 + ] 4745 + 4746 + [[package]] 4747 + name = "windows-targets" 4748 + version = "0.42.2" 4749 + source = "registry+https://github.com/rust-lang/crates.io-index" 4750 + checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" 4751 + dependencies = [ 4752 + "windows_aarch64_gnullvm 0.42.2", 4753 + "windows_aarch64_msvc 0.42.2", 4754 + "windows_i686_gnu 0.42.2", 4755 + "windows_i686_msvc 0.42.2", 4756 + "windows_x86_64_gnu 0.42.2", 4757 + "windows_x86_64_gnullvm 0.42.2", 4758 + "windows_x86_64_msvc 0.42.2", 4759 + ] 4760 + 4761 + [[package]] 4762 + name = "windows-targets" 4763 + version = "0.52.6" 4764 + source = "registry+https://github.com/rust-lang/crates.io-index" 4765 + checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" 4766 + dependencies = [ 4767 + "windows_aarch64_gnullvm 0.52.6", 4768 + "windows_aarch64_msvc 0.52.6", 4769 + "windows_i686_gnu 0.52.6", 4770 + "windows_i686_gnullvm 0.52.6", 4771 + "windows_i686_msvc 0.52.6", 4772 + "windows_x86_64_gnu 0.52.6", 4773 + "windows_x86_64_gnullvm 0.52.6", 4774 + "windows_x86_64_msvc 0.52.6", 4775 + ] 4776 + 4777 + [[package]] 4778 + name = "windows-targets" 4779 + version = "0.53.5" 4780 + source = "registry+https://github.com/rust-lang/crates.io-index" 4781 + checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" 4782 + dependencies = [ 4783 + "windows-link 0.2.1", 4784 + "windows_aarch64_gnullvm 0.53.1", 4785 + "windows_aarch64_msvc 0.53.1", 4786 + "windows_i686_gnu 0.53.1", 4787 + "windows_i686_gnullvm 0.53.1", 4788 + "windows_i686_msvc 0.53.1", 4789 + "windows_x86_64_gnu 0.53.1", 4790 + "windows_x86_64_gnullvm 0.53.1", 4791 + "windows_x86_64_msvc 0.53.1", 4792 + ] 4793 + 4794 + [[package]] 4795 + name = "windows-threading" 4796 + version = "0.1.0" 4797 + source = "registry+https://github.com/rust-lang/crates.io-index" 4798 + checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" 4799 + dependencies = [ 4800 + "windows-link 0.1.3", 4801 + ] 4802 + 4803 + [[package]] 4804 + name = "windows-version" 4805 + version = "0.1.7" 4806 + source = "registry+https://github.com/rust-lang/crates.io-index" 4807 + checksum = "e4060a1da109b9d0326b7262c8e12c84df67cc0dbc9e33cf49e01ccc2eb63631" 4808 + dependencies = [ 4809 + "windows-link 0.2.1", 4810 + ] 4811 + 4812 + [[package]] 4813 + name = "windows_aarch64_gnullvm" 4814 + version = "0.42.2" 4815 + source = "registry+https://github.com/rust-lang/crates.io-index" 4816 + checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" 4817 + 4818 + [[package]] 4819 + name = "windows_aarch64_gnullvm" 4820 + version = "0.52.6" 4821 + source = "registry+https://github.com/rust-lang/crates.io-index" 4822 + checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" 4823 + 4824 + [[package]] 4825 + name = "windows_aarch64_gnullvm" 4826 + version = "0.53.1" 4827 + source = "registry+https://github.com/rust-lang/crates.io-index" 4828 + checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" 4829 + 4830 + [[package]] 4831 + name = "windows_aarch64_msvc" 4832 + version = "0.42.2" 4833 + source = "registry+https://github.com/rust-lang/crates.io-index" 4834 + checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" 4835 + 4836 + [[package]] 4837 + name = "windows_aarch64_msvc" 4838 + version = "0.52.6" 4839 + source = "registry+https://github.com/rust-lang/crates.io-index" 4840 + checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" 4841 + 4842 + [[package]] 4843 + name = "windows_aarch64_msvc" 4844 + version = "0.53.1" 4845 + source = "registry+https://github.com/rust-lang/crates.io-index" 4846 + checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" 4847 + 4848 + [[package]] 4849 + name = "windows_i686_gnu" 4850 + version = "0.42.2" 4851 + source = "registry+https://github.com/rust-lang/crates.io-index" 4852 + checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" 4853 + 4854 + [[package]] 4855 + name = "windows_i686_gnu" 4856 + version = "0.52.6" 4857 + source = "registry+https://github.com/rust-lang/crates.io-index" 4858 + checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" 4859 + 4860 + [[package]] 4861 + name = "windows_i686_gnu" 4862 + version = "0.53.1" 4863 + source = "registry+https://github.com/rust-lang/crates.io-index" 4864 + checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" 4865 + 4866 + [[package]] 4867 + name = "windows_i686_gnullvm" 4868 + version = "0.52.6" 4869 + source = "registry+https://github.com/rust-lang/crates.io-index" 4870 + checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" 4871 + 4872 + [[package]] 4873 + name = "windows_i686_gnullvm" 4874 + version = "0.53.1" 4875 + source = "registry+https://github.com/rust-lang/crates.io-index" 4876 + checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" 4877 + 4878 + [[package]] 4879 + name = "windows_i686_msvc" 4880 + version = "0.42.2" 4881 + source = "registry+https://github.com/rust-lang/crates.io-index" 4882 + checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" 4883 + 4884 + [[package]] 4885 + name = "windows_i686_msvc" 4886 + version = "0.52.6" 4887 + source = "registry+https://github.com/rust-lang/crates.io-index" 4888 + checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" 4889 + 4890 + [[package]] 4891 + name = "windows_i686_msvc" 4892 + version = "0.53.1" 4893 + source = "registry+https://github.com/rust-lang/crates.io-index" 4894 + checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" 4895 + 4896 + [[package]] 4897 + name = "windows_x86_64_gnu" 4898 + version = "0.42.2" 4899 + source = "registry+https://github.com/rust-lang/crates.io-index" 4900 + checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" 4901 + 4902 + [[package]] 4903 + name = "windows_x86_64_gnu" 4904 + version = "0.52.6" 4905 + source = "registry+https://github.com/rust-lang/crates.io-index" 4906 + checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" 4907 + 4908 + [[package]] 4909 + name = "windows_x86_64_gnu" 4910 + version = "0.53.1" 4911 + source = "registry+https://github.com/rust-lang/crates.io-index" 4912 + checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" 4913 + 4914 + [[package]] 4915 + name = "windows_x86_64_gnullvm" 4916 + version = "0.42.2" 4917 + source = "registry+https://github.com/rust-lang/crates.io-index" 4918 + checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" 4919 + 4920 + [[package]] 4921 + name = "windows_x86_64_gnullvm" 4922 + version = "0.52.6" 4923 + source = "registry+https://github.com/rust-lang/crates.io-index" 4924 + checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" 4925 + 4926 + [[package]] 4927 + name = "windows_x86_64_gnullvm" 4928 + version = "0.53.1" 4929 + source = "registry+https://github.com/rust-lang/crates.io-index" 4930 + checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" 4931 + 4932 + [[package]] 4933 + name = "windows_x86_64_msvc" 4934 + version = "0.42.2" 4935 + source = "registry+https://github.com/rust-lang/crates.io-index" 4936 + checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" 4937 + 4938 + [[package]] 4939 + name = "windows_x86_64_msvc" 4940 + version = "0.52.6" 4941 + source = "registry+https://github.com/rust-lang/crates.io-index" 4942 + checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" 4943 + 4944 + [[package]] 4945 + name = "windows_x86_64_msvc" 4946 + version = "0.53.1" 4947 + source = "registry+https://github.com/rust-lang/crates.io-index" 4948 + checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" 4949 + 4950 + [[package]] 4951 + name = "winnow" 4952 + version = "0.5.40" 4953 + source = "registry+https://github.com/rust-lang/crates.io-index" 4954 + checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" 4955 + dependencies = [ 4956 + "memchr", 4957 + ] 4958 + 4959 + [[package]] 4960 + name = "winnow" 4961 + version = "0.7.13" 4962 + source = "registry+https://github.com/rust-lang/crates.io-index" 4963 + checksum = "21a0236b59786fed61e2a80582dd500fe61f18b5dca67a4a067d0bc9039339cf" 4964 + dependencies = [ 4965 + "memchr", 4966 + ] 4967 + 4968 + [[package]] 4969 + name = "winreg" 4970 + version = "0.55.0" 4971 + source = "registry+https://github.com/rust-lang/crates.io-index" 4972 + checksum = "cb5a765337c50e9ec252c2069be9bf91c7df47afb103b642ba3a53bf8101be97" 4973 + dependencies = [ 4974 + "cfg-if", 4975 + "windows-sys 0.59.0", 4976 + ] 4977 + 4978 + [[package]] 4979 + name = "wit-bindgen" 4980 + version = "0.46.0" 4981 + source = "registry+https://github.com/rust-lang/crates.io-index" 4982 + checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" 4983 + 4984 + [[package]] 4985 + name = "writeable" 4986 + version = "0.6.2" 4987 + source = "registry+https://github.com/rust-lang/crates.io-index" 4988 + checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" 4989 + 4990 + [[package]] 4991 + name = "wry" 4992 + version = "0.53.5" 4993 + source = "registry+https://github.com/rust-lang/crates.io-index" 4994 + checksum = "728b7d4c8ec8d81cab295e0b5b8a4c263c0d41a785fb8f8c4df284e5411140a2" 4995 + dependencies = [ 4996 + "base64 0.22.1", 4997 + "block2 0.6.2", 4998 + "cookie", 4999 + "crossbeam-channel", 5000 + "dirs", 5001 + "dpi", 5002 + "dunce", 5003 + "gdkx11", 5004 + "gtk", 5005 + "html5ever", 5006 + "http", 5007 + "javascriptcore-rs", 5008 + "jni", 5009 + "kuchikiki", 5010 + "libc", 5011 + "ndk", 5012 + "objc2 0.6.3", 5013 + "objc2-app-kit", 5014 + "objc2-core-foundation", 5015 + "objc2-foundation 0.3.2", 5016 + "objc2-ui-kit", 5017 + "objc2-web-kit", 5018 + "once_cell", 5019 + "percent-encoding", 5020 + "raw-window-handle", 5021 + "sha2", 5022 + "soup3", 5023 + "tao-macros", 5024 + "thiserror 2.0.17", 5025 + "url", 5026 + "webkit2gtk", 5027 + "webkit2gtk-sys", 5028 + "webview2-com", 5029 + "windows", 5030 + "windows-core 0.61.2", 5031 + "windows-version", 5032 + "x11-dl", 5033 + ] 5034 + 5035 + [[package]] 5036 + name = "x11" 5037 + version = "2.21.0" 5038 + source = "registry+https://github.com/rust-lang/crates.io-index" 5039 + checksum = "502da5464ccd04011667b11c435cb992822c2c0dbde1770c988480d312a0db2e" 5040 + dependencies = [ 5041 + "libc", 5042 + "pkg-config", 5043 + ] 5044 + 5045 + [[package]] 5046 + name = "x11-dl" 5047 + version = "2.21.0" 5048 + source = "registry+https://github.com/rust-lang/crates.io-index" 5049 + checksum = "38735924fedd5314a6e548792904ed8c6de6636285cb9fec04d5b1db85c1516f" 5050 + dependencies = [ 5051 + "libc", 5052 + "once_cell", 5053 + "pkg-config", 5054 + ] 5055 + 5056 + [[package]] 5057 + name = "yoke" 5058 + version = "0.8.1" 5059 + source = "registry+https://github.com/rust-lang/crates.io-index" 5060 + checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954" 5061 + dependencies = [ 5062 + "stable_deref_trait", 5063 + "yoke-derive", 5064 + "zerofrom", 5065 + ] 5066 + 5067 + [[package]] 5068 + name = "yoke-derive" 5069 + version = "0.8.1" 5070 + source = "registry+https://github.com/rust-lang/crates.io-index" 5071 + checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d" 5072 + dependencies = [ 5073 + "proc-macro2", 5074 + "quote", 5075 + "syn 2.0.109", 5076 + "synstructure", 5077 + ] 5078 + 5079 + [[package]] 5080 + name = "zbus" 5081 + version = "5.12.0" 5082 + source = "registry+https://github.com/rust-lang/crates.io-index" 5083 + checksum = "b622b18155f7a93d1cd2dc8c01d2d6a44e08fb9ebb7b3f9e6ed101488bad6c91" 5084 + dependencies = [ 5085 + "async-broadcast", 5086 + "async-executor", 5087 + "async-io", 5088 + "async-lock", 5089 + "async-process", 5090 + "async-recursion", 5091 + "async-task", 5092 + "async-trait", 5093 + "blocking", 5094 + "enumflags2", 5095 + "event-listener", 5096 + "futures-core", 5097 + "futures-lite", 5098 + "hex", 5099 + "nix", 5100 + "ordered-stream", 5101 + "serde", 5102 + "serde_repr", 5103 + "tracing", 5104 + "uds_windows", 5105 + "uuid", 5106 + "windows-sys 0.61.2", 5107 + "winnow 0.7.13", 5108 + "zbus_macros", 5109 + "zbus_names", 5110 + "zvariant", 5111 + ] 5112 + 5113 + [[package]] 5114 + name = "zbus_macros" 5115 + version = "5.12.0" 5116 + source = "registry+https://github.com/rust-lang/crates.io-index" 5117 + checksum = "1cdb94821ca8a87ca9c298b5d1cbd80e2a8b67115d99f6e4551ac49e42b6a314" 5118 + dependencies = [ 5119 + "proc-macro-crate 3.4.0", 5120 + "proc-macro2", 5121 + "quote", 5122 + "syn 2.0.109", 5123 + "zbus_names", 5124 + "zvariant", 5125 + "zvariant_utils", 5126 + ] 5127 + 5128 + [[package]] 5129 + name = "zbus_names" 5130 + version = "4.2.0" 5131 + source = "registry+https://github.com/rust-lang/crates.io-index" 5132 + checksum = "7be68e64bf6ce8db94f63e72f0c7eb9a60d733f7e0499e628dfab0f84d6bcb97" 5133 + dependencies = [ 5134 + "serde", 5135 + "static_assertions", 5136 + "winnow 0.7.13", 5137 + "zvariant", 5138 + ] 5139 + 5140 + [[package]] 5141 + name = "zerocopy" 5142 + version = "0.8.27" 5143 + source = "registry+https://github.com/rust-lang/crates.io-index" 5144 + checksum = "0894878a5fa3edfd6da3f88c4805f4c8558e2b996227a3d864f47fe11e38282c" 5145 + dependencies = [ 5146 + "zerocopy-derive", 5147 + ] 5148 + 5149 + [[package]] 5150 + name = "zerocopy-derive" 5151 + version = "0.8.27" 5152 + source = "registry+https://github.com/rust-lang/crates.io-index" 5153 + checksum = "88d2b8d9c68ad2b9e4340d7832716a4d21a22a1154777ad56ea55c51a9cf3831" 5154 + dependencies = [ 5155 + "proc-macro2", 5156 + "quote", 5157 + "syn 2.0.109", 5158 + ] 5159 + 5160 + [[package]] 5161 + name = "zerofrom" 5162 + version = "0.1.6" 5163 + source = "registry+https://github.com/rust-lang/crates.io-index" 5164 + checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" 5165 + dependencies = [ 5166 + "zerofrom-derive", 5167 + ] 5168 + 5169 + [[package]] 5170 + name = "zerofrom-derive" 5171 + version = "0.1.6" 5172 + source = "registry+https://github.com/rust-lang/crates.io-index" 5173 + checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" 5174 + dependencies = [ 5175 + "proc-macro2", 5176 + "quote", 5177 + "syn 2.0.109", 5178 + "synstructure", 5179 + ] 5180 + 5181 + [[package]] 5182 + name = "zerotrie" 5183 + version = "0.2.3" 5184 + source = "registry+https://github.com/rust-lang/crates.io-index" 5185 + checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851" 5186 + dependencies = [ 5187 + "displaydoc", 5188 + "yoke", 5189 + "zerofrom", 5190 + ] 5191 + 5192 + [[package]] 5193 + name = "zerovec" 5194 + version = "0.11.5" 5195 + source = "registry+https://github.com/rust-lang/crates.io-index" 5196 + checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002" 5197 + dependencies = [ 5198 + "yoke", 5199 + "zerofrom", 5200 + "zerovec-derive", 5201 + ] 5202 + 5203 + [[package]] 5204 + name = "zerovec-derive" 5205 + version = "0.11.2" 5206 + source = "registry+https://github.com/rust-lang/crates.io-index" 5207 + checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3" 5208 + dependencies = [ 5209 + "proc-macro2", 5210 + "quote", 5211 + "syn 2.0.109", 5212 + ] 5213 + 5214 + [[package]] 5215 + name = "zvariant" 5216 + version = "5.8.0" 5217 + source = "registry+https://github.com/rust-lang/crates.io-index" 5218 + checksum = "2be61892e4f2b1772727be11630a62664a1826b62efa43a6fe7449521cb8744c" 5219 + dependencies = [ 5220 + "endi", 5221 + "enumflags2", 5222 + "serde", 5223 + "winnow 0.7.13", 5224 + "zvariant_derive", 5225 + "zvariant_utils", 5226 + ] 5227 + 5228 + [[package]] 5229 + name = "zvariant_derive" 5230 + version = "5.8.0" 5231 + source = "registry+https://github.com/rust-lang/crates.io-index" 5232 + checksum = "da58575a1b2b20766513b1ec59d8e2e68db2745379f961f86650655e862d2006" 5233 + dependencies = [ 5234 + "proc-macro-crate 3.4.0", 5235 + "proc-macro2", 5236 + "quote", 5237 + "syn 2.0.109", 5238 + "zvariant_utils", 5239 + ] 5240 + 5241 + [[package]] 5242 + name = "zvariant_utils" 5243 + version = "3.2.1" 5244 + source = "registry+https://github.com/rust-lang/crates.io-index" 5245 + checksum = "c6949d142f89f6916deca2232cf26a8afacf2b9fdc35ce766105e104478be599" 5246 + dependencies = [ 5247 + "proc-macro2", 5248 + "quote", 5249 + "serde", 5250 + "syn 2.0.109", 5251 + "winnow 0.7.13", 5252 + ]
+25
app/src-tauri/Cargo.toml
··· 1 + [package] 2 + name = "privacypin" 3 + version = "0.1.0" 4 + description = "A Tauri App" 5 + authors = ["you"] 6 + edition = "2021" 7 + 8 + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 9 + 10 + [lib] 11 + # The `_lib` suffix may seem redundant but it is necessary 12 + # to make the lib name unique and wouldn't conflict with the bin name. 13 + # This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519 14 + name = "privacypin_lib" 15 + crate-type = ["staticlib", "cdylib", "rlib"] 16 + 17 + [build-dependencies] 18 + tauri-build = { version = "2", features = [] } 19 + 20 + [dependencies] 21 + tauri = { version = "2", features = [] } 22 + tauri-plugin-opener = "2" 23 + tauri-plugin-store = "2.4.1" 24 + serde = { version = "1", features = ["derive"] } 25 + serde_json = "1"
+3
app/src-tauri/build.rs
··· 1 + fn main() { 2 + tauri_build::build() 3 + }
+10
app/src-tauri/capabilities/default.json
··· 1 + { 2 + "$schema": "../gen/schemas/desktop-schema.json", 3 + "identifier": "default", 4 + "description": "Capability for the main window", 5 + "windows": ["main"], 6 + "permissions": [ 7 + "core:default", 8 + "opener:default" 9 + ] 10 + }
app/src-tauri/icons/128x128.png

This is a binary file and will not be displayed.

app/src-tauri/icons/128x128@2x.png

This is a binary file and will not be displayed.

app/src-tauri/icons/32x32.png

This is a binary file and will not be displayed.

app/src-tauri/icons/Square107x107Logo.png

This is a binary file and will not be displayed.

app/src-tauri/icons/Square142x142Logo.png

This is a binary file and will not be displayed.

app/src-tauri/icons/Square150x150Logo.png

This is a binary file and will not be displayed.

app/src-tauri/icons/Square284x284Logo.png

This is a binary file and will not be displayed.

app/src-tauri/icons/Square30x30Logo.png

This is a binary file and will not be displayed.

app/src-tauri/icons/Square310x310Logo.png

This is a binary file and will not be displayed.

app/src-tauri/icons/Square44x44Logo.png

This is a binary file and will not be displayed.

app/src-tauri/icons/Square71x71Logo.png

This is a binary file and will not be displayed.

app/src-tauri/icons/Square89x89Logo.png

This is a binary file and will not be displayed.

app/src-tauri/icons/StoreLogo.png

This is a binary file and will not be displayed.

app/src-tauri/icons/icon.icns

This is a binary file and will not be displayed.

app/src-tauri/icons/icon.ico

This is a binary file and will not be displayed.

app/src-tauri/icons/icon.png

This is a binary file and will not be displayed.

+14
app/src-tauri/src/lib.rs
··· 1 + // Learn more about Tauri commands at https://tauri.app/develop/calling-rust/ 2 + #[tauri::command] 3 + fn greet(name: &str) -> String { 4 + format!("Hello, {}! You've been greeted from Rust!", name) 5 + } 6 + 7 + #[cfg_attr(mobile, tauri::mobile_entry_point)] 8 + pub fn run() { 9 + tauri::Builder::default() 10 + .plugin(tauri_plugin_opener::init()) 11 + .invoke_handler(tauri::generate_handler![greet]) 12 + .run(tauri::generate_context!()) 13 + .expect("error while running tauri application"); 14 + }
+6
app/src-tauri/src/main.rs
··· 1 + // Prevents additional console window on Windows in release, DO NOT REMOVE!! 2 + #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] 3 + 4 + fn main() { 5 + privacypin_lib::run() 6 + }
+31
app/src-tauri/tauri.conf.json
··· 1 + { 2 + "$schema": "https://schema.tauri.app/config/2", 3 + "productName": "privacypin", 4 + "version": "0.1.0", 5 + "identifier": "dev.azom.privacypin", 6 + "build": { 7 + "beforeDevCommand": "bun run dev", 8 + "devUrl": "http://localhost:1420", 9 + "beforeBuildCommand": "bun run build", 10 + "frontendDist": "../dist" 11 + }, 12 + "app": { 13 + "withGlobalTauri": true, 14 + "windows": [ 15 + { 16 + "title": "privacypin", 17 + "width": 412, 18 + "height": 915, 19 + "resizable": false 20 + } 21 + ], 22 + "security": { 23 + "csp": null 24 + } 25 + }, 26 + "bundle": { 27 + "active": true, 28 + "targets": "all", 29 + "icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico"] 30 + } 31 + }
+69
app/src/api.ts
··· 1 + import { Store } from "./store.ts"; 2 + 3 + // TODO: test if this is still needed: 4 + // Don't mind this piece of code, it's a polyfill until chromium decides to merge it (it's been so long) 5 + // @ts-ignore 6 + // Uint8Array.prototype.toBase64 = function () { 7 + // let binary = ""; 8 + // for (let i = 0; i < this.length; i++) { 9 + // const byte = this[i]; 10 + // if (byte !== undefined) { 11 + // binary += String.fromCharCode(byte); 12 + // } 13 + // } 14 + // return btoa(binary); 15 + // }; 16 + 17 + export async function createAccount(signup_key: string): Promise<{ user_id: string; is_admin: boolean }> { 18 + try { 19 + const server_url = await Store.get("server_url"); 20 + 21 + const response = await fetch(server_url + "/create-account", { 22 + method: "POST", 23 + body: signup_key, 24 + }); 25 + 26 + if (!response.ok) { 27 + throw new Error(`${await response.text()}`); 28 + } 29 + return await response.json(); 30 + } catch (err) { 31 + alert(`${err}`); 32 + throw err; 33 + } 34 + } 35 + 36 + export async function post(endpoint: string, data: Object | string | undefined): Promise<any> { 37 + try { 38 + const user_id = await Store.get("user_id"); 39 + const server_url = await Store.get("server_url"); 40 + 41 + const headers: Record<string, string> = { 42 + "x-auth": JSON.stringify({ user_id }), 43 + }; 44 + 45 + let stringified_data: string | undefined; 46 + 47 + if (typeof data === "object") { 48 + stringified_data = JSON.stringify(data); 49 + headers["Content-Type"] = "application/json"; 50 + } else { 51 + stringified_data = data; 52 + } 53 + 54 + const res = await fetch(`${server_url}/${endpoint}`, { 55 + method: "POST", 56 + headers, 57 + body: stringified_data, 58 + }); 59 + 60 + if (!res.ok) { 61 + throw new Error(`${await res.text()}`); 62 + } 63 + 64 + return await res.text(); 65 + } catch (err) { 66 + alert(`${err}`); 67 + throw err; 68 + } 69 + }
+4
app/src/assets/pin.svg
··· 1 + <?xml version="1.0" encoding="utf-8"?> 2 + <svg width="800px" height="800px" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> 3 + <path fill-rule="evenodd" clip-rule="evenodd" d="M3.37892 10.2236L8 16L12.6211 10.2236C13.5137 9.10788 14 7.72154 14 6.29266V6C14 2.68629 11.3137 0 8 0C4.68629 0 2 2.68629 2 6V6.29266C2 7.72154 2.4863 9.10788 3.37892 10.2236ZM8 8C9.10457 8 10 7.10457 10 6C10 4.89543 9.10457 4 8 4C6.89543 4 6 4.89543 6 6C6 7.10457 6.89543 8 8 8Z" fill="#000000"/> 4 + </svg>
+13
app/src/assets/qr.svg
··· 1 + <?xml version="1.0" encoding="utf-8"?> 2 + 3 + <svg fill="#000000" width="800px" height="800px" viewBox="0 -0.09 122.88 122.88" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="enable-background:new 0 0 122.88 122.7" xml:space="preserve"> 4 + 5 + <style type="text/css">.st0{fill-rule:evenodd;clip-rule:evenodd;}</style> 6 + 7 + <g> 8 + 9 + <path class="st0" d="M0.18,0h44.63v44.45H0.18V0L0.18,0z M111.5,111.5h11.38v11.2H111.5V111.5L111.5,111.5z M89.63,111.48h11.38 v10.67H89.63h-0.01H78.25v-21.82h11.02V89.27h11.21V67.22h11.38v10.84h10.84v11.2h-10.84v11.2h-11.21h-0.17H89.63V111.48 L89.63,111.48z M55.84,89.09h11.02v-11.2H56.2v-11.2h10.66v-11.2H56.02v11.2H44.63v-11.2h11.2V22.23h11.38v33.25h11.02v11.2h10.84 v-11.2h11.38v11.2H89.63v11.2H78.25v22.05H67.22v22.23H55.84V89.09L55.84,89.09z M111.31,55.48h11.38v11.2h-11.38V55.48 L111.31,55.48z M22.41,55.48h11.38v11.2H22.41V55.48L22.41,55.48z M0.18,55.48h11.38v11.2H0.18V55.48L0.18,55.48z M55.84,0h11.38 v11.2H55.84V0L55.84,0z M0,78.06h44.63v44.45H0V78.06L0,78.06z M10.84,88.86h22.95v22.86H10.84V88.86L10.84,88.86z M78.06,0h44.63 v44.45H78.06V0L78.06,0z M88.91,10.8h22.95v22.86H88.91V10.8L88.91,10.8z M11.02,10.8h22.95v22.86H11.02V10.8L11.02,10.8z"/> 10 + 11 + </g> 12 + 13 + </svg>
+1
app/src/main.ts
··· 1 + // idk empty for now, might use later
+33
app/src/store.ts
··· 1 + import { Store as TauriStore } from "@tauri-apps/plugin-store"; 2 + 3 + type Settings = { 4 + server_url: string; 5 + user_id: string; 6 + private_key: JsonWebKey; 7 + friends: ClientFriend[]; 8 + is_admin: boolean; 9 + }; 10 + 11 + export const Store = { 12 + async get<T extends keyof Settings>(key: T): Promise<Settings[T]> { 13 + const store = await TauriStore.load("settings.json"); 14 + const value = await store.get<Settings[T]>(key); 15 + if (value === undefined) { 16 + alert(`Key ${key} not found in store`); 17 + throw new Error(`Key ${key} not found in store`); 18 + } 19 + return value; 20 + }, 21 + 22 + async set<T extends keyof Settings>(key: T, value: Settings[T]): Promise<void> { 23 + const store = await TauriStore.load("settings.json"); 24 + await store.set(key, value); 25 + await store.save(); 26 + }, 27 + 28 + async isLoggedIn(): Promise<boolean> { 29 + const store = await TauriStore.load("settings.json"); 30 + const user_id = await store.get<string>("user_id"); 31 + return user_id !== undefined; 32 + }, 33 + };
+124
app/src/styles.css
··· 1 + body { 2 + font-family: system-ui, sans-serif; 3 + background: #f9fafb; 4 + display: flex; 5 + align-items: center; 6 + justify-content: center; 7 + height: 100vh; 8 + margin: 0; 9 + } 10 + 11 + .card { 12 + width: 100%; 13 + max-width: 360px; 14 + background: white; 15 + border: 1px solid #d1d5db; 16 + border-radius: 8px; 17 + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); 18 + padding: 1.5rem; 19 + box-sizing: border-box; 20 + } 21 + 22 + .header { 23 + text-align: center; 24 + margin-bottom: 1.5rem; 25 + } 26 + 27 + .icon-circle { 28 + width: 64px; 29 + height: 64px; 30 + background: #dbeafe; 31 + border-radius: 50%; 32 + display: flex; 33 + align-items: center; 34 + justify-content: center; 35 + margin: 0 auto 1rem; 36 + } 37 + 38 + .icon-circle img { 39 + width: 32px; 40 + height: 32px; 41 + } 42 + 43 + h1 { 44 + font-size: 1.5rem; 45 + margin: 0; 46 + font-weight: 700; 47 + } 48 + 49 + p { 50 + font-size: 0.9rem; 51 + color: #6b7280; 52 + } 53 + 54 + .actions { 55 + display: flex; 56 + flex-direction: column; 57 + gap: 1rem; 58 + } 59 + 60 + label { 61 + display: block; 62 + font-size: 0.85rem; 63 + font-weight: 600; 64 + margin-bottom: 0.25rem; 65 + } 66 + 67 + input { 68 + width: 100%; 69 + padding: 0.5rem 0.75rem; 70 + border: 1px solid #d1d5db; 71 + border-radius: 4px; 72 + font-size: 0.95rem; 73 + box-sizing: border-box; 74 + } 75 + 76 + input:focus { 77 + outline: none; 78 + border-color: #2563eb; 79 + box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2); 80 + } 81 + 82 + button { 83 + width: 100%; 84 + padding: 0.6rem; 85 + font-size: 0.95rem; 86 + border-radius: 4px; 87 + cursor: pointer; 88 + transition: background 0.2s ease; 89 + display: flex; 90 + align-items: center; 91 + justify-content: center; 92 + gap: 0.5rem; 93 + } 94 + 95 + .btn-primary { 96 + background: #2563eb; 97 + color: white; 98 + border: none; 99 + } 100 + 101 + .btn-primary:hover { 102 + background: #1d4ed8; 103 + } 104 + 105 + .btn-qr { 106 + background: white; 107 + border: 1px solid #d1d5db; 108 + color: #374151; 109 + } 110 + 111 + .btn-qr:hover { 112 + background: #f3f4f6; 113 + } 114 + 115 + .btn-qr img { 116 + width: 16px; 117 + height: 16px; 118 + } 119 + 120 + .hint { 121 + font-size: 0.75rem; 122 + color: #6b7280; 123 + margin-top: 0.25rem; 124 + }
+6
app/tauri.svg
··· 1 + <svg width="206" height="231" viewBox="0 0 206 231" fill="none" xmlns="http://www.w3.org/2000/svg"> 2 + <path d="M143.143 84C143.143 96.1503 133.293 106 121.143 106C108.992 106 99.1426 96.1503 99.1426 84C99.1426 71.8497 108.992 62 121.143 62C133.293 62 143.143 71.8497 143.143 84Z" fill="#FFC131"/> 3 + <ellipse cx="84.1426" cy="147" rx="22" ry="22" transform="rotate(180 84.1426 147)" fill="#24C8DB"/> 4 + <path fill-rule="evenodd" clip-rule="evenodd" d="M166.738 154.548C157.86 160.286 148.023 164.269 137.757 166.341C139.858 160.282 141 153.774 141 147C141 144.543 140.85 142.121 140.558 139.743C144.975 138.204 149.215 136.139 153.183 133.575C162.73 127.404 170.292 118.608 174.961 108.244C179.63 97.8797 181.207 86.3876 179.502 75.1487C177.798 63.9098 172.884 53.4021 165.352 44.8883C157.82 36.3744 147.99 30.2165 137.042 27.1546C126.095 24.0926 114.496 24.2568 103.64 27.6274C92.7839 30.998 83.1319 37.4317 75.8437 46.1553C74.9102 47.2727 74.0206 48.4216 73.176 49.5993C61.9292 50.8488 51.0363 54.0318 40.9629 58.9556C44.2417 48.4586 49.5653 38.6591 56.679 30.1442C67.0505 17.7298 80.7861 8.57426 96.2354 3.77762C111.685 -1.01901 128.19 -1.25267 143.769 3.10474C159.348 7.46215 173.337 16.2252 184.056 28.3411C194.775 40.457 201.767 55.4101 204.193 71.404C206.619 87.3978 204.374 103.752 197.73 118.501C191.086 133.25 180.324 145.767 166.738 154.548ZM41.9631 74.275L62.5557 76.8042C63.0459 72.813 63.9401 68.9018 65.2138 65.1274C57.0465 67.0016 49.2088 70.087 41.9631 74.275Z" fill="#FFC131"/> 5 + <path fill-rule="evenodd" clip-rule="evenodd" d="M38.4045 76.4519C47.3493 70.6709 57.2677 66.6712 67.6171 64.6132C65.2774 70.9669 64 77.8343 64 85.0001C64 87.1434 64.1143 89.26 64.3371 91.3442C60.0093 92.8732 55.8533 94.9092 51.9599 97.4256C42.4128 103.596 34.8505 112.392 30.1816 122.756C25.5126 133.12 23.9357 144.612 25.6403 155.851C27.3449 167.09 32.2584 177.598 39.7906 186.112C47.3227 194.626 57.153 200.784 68.1003 203.846C79.0476 206.907 90.6462 206.743 101.502 203.373C112.359 200.002 122.011 193.568 129.299 184.845C130.237 183.722 131.131 182.567 131.979 181.383C143.235 180.114 154.132 176.91 164.205 171.962C160.929 182.49 155.596 192.319 148.464 200.856C138.092 213.27 124.357 222.426 108.907 227.222C93.458 232.019 76.9524 232.253 61.3736 227.895C45.7948 223.538 31.8055 214.775 21.0867 202.659C10.3679 190.543 3.37557 175.59 0.949823 159.596C-1.47592 143.602 0.768139 127.248 7.41237 112.499C14.0566 97.7497 24.8183 85.2327 38.4045 76.4519ZM163.062 156.711L163.062 156.711C162.954 156.773 162.846 156.835 162.738 156.897C162.846 156.835 162.954 156.773 163.062 156.711Z" fill="#24C8DB"/> 6 + </svg>
+23
app/tsconfig.json
··· 1 + { 2 + "compilerOptions": { 3 + "target": "ES2020", 4 + "useDefineForClassFields": true, 5 + "module": "ESNext", 6 + "lib": ["ES2020", "DOM", "DOM.Iterable"], 7 + "skipLibCheck": true, 8 + 9 + /* Bundler mode */ 10 + "moduleResolution": "bundler", 11 + "allowImportingTsExtensions": true, 12 + "resolveJsonModule": true, 13 + "isolatedModules": true, 14 + "noEmit": true, 15 + 16 + /* Linting */ 17 + "strict": true, 18 + "noUnusedLocals": true, 19 + "noUnusedParameters": true, 20 + "noFallthroughCasesInSwitch": true 21 + }, 22 + "include": ["src"] 23 + }
+25
app/typescript.svg
··· 1 + <?xml version="1.0" standalone="no"?> 2 + <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" 3 + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> 4 + <svg version="1.0" xmlns="http://www.w3.org/2000/svg" 5 + width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000" 6 + preserveAspectRatio="xMidYMid meet"> 7 + 8 + <g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)" 9 + fill="#2D79C7" stroke="none"> 10 + <path d="M430 5109 c-130 -19 -248 -88 -325 -191 -53 -71 -83 -147 -96 -247 11 + -6 -49 -9 -813 -7 -2166 l3 -2090 22 -65 c54 -159 170 -273 328 -323 l70 -22 12 + 2140 0 2140 0 66 23 c160 55 272 169 322 327 l22 70 0 2135 0 2135 -22 70 13 + c-49 157 -155 265 -319 327 l-59 23 -2115 1 c-1163 1 -2140 -2 -2170 -7z 14 + m3931 -2383 c48 -9 120 -26 160 -39 l74 -23 3 -237 c1 -130 0 -237 -2 -237 -3 15 + 0 -26 14 -53 30 -61 38 -197 84 -310 106 -110 20 -293 15 -368 -12 -111 -39 16 + -175 -110 -175 -193 0 -110 97 -197 335 -300 140 -61 309 -146 375 -189 30 17 + -20 87 -68 126 -107 119 -117 164 -234 164 -426 0 -310 -145 -518 -430 -613 18 + -131 -43 -248 -59 -445 -60 -243 -1 -405 24 -577 90 l-68 26 0 242 c0 175 -3 19 + 245 -12 254 -9 9 -9 12 0 12 7 0 12 -4 12 -9 0 -17 139 -102 223 -138 136 -57 20 + 233 -77 382 -76 145 0 224 19 295 68 75 52 100 156 59 242 -41 84 -135 148 21 + -374 253 -367 161 -522 300 -581 520 -23 86 -23 253 -1 337 73 275 312 448 22 + 682 492 109 13 401 6 506 -13z m-1391 -241 l0 -205 -320 0 -320 0 0 -915 0 23 + -915 -255 0 -255 0 0 915 0 915 -320 0 -320 0 0 205 0 205 895 0 895 0 0 -205z"/> 24 + </g> 25 + </svg>
+29
app/vite.config.ts
··· 1 + import { defineConfig } from "vite"; 2 + 3 + // @ts-expect-error process is a nodejs global 4 + const host = process.env.TAURI_DEV_HOST; 5 + 6 + // https://vitejs.dev/config/ 7 + export default defineConfig(async () => ({ 8 + // Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build` 9 + // 10 + // 1. prevent vite from obscuring rust errors 11 + clearScreen: false, 12 + // 2. tauri expects a fixed port, fail if that port is not available 13 + server: { 14 + port: 1420, 15 + strictPort: true, 16 + host: host || false, 17 + hmr: host 18 + ? { 19 + protocol: "ws", 20 + host, 21 + port: 1421, 22 + } 23 + : undefined, 24 + watch: { 25 + // 3. tell vite to ignore watching `src-tauri` 26 + ignored: ["**/src-tauri/**"], 27 + }, 28 + }, 29 + }));
+1
server/.rustfmt.toml
··· 1 + hard_tabs = true
+921
server/Cargo.lock
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + version = 4 4 + 5 + [[package]] 6 + name = "atomic-waker" 7 + version = "1.1.2" 8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" 10 + 11 + [[package]] 12 + name = "axum" 13 + version = "0.8.6" 14 + source = "registry+https://github.com/rust-lang/crates.io-index" 15 + checksum = "8a18ed336352031311f4e0b4dd2ff392d4fbb370777c9d18d7fc9d7359f73871" 16 + dependencies = [ 17 + "axum-core", 18 + "bytes", 19 + "form_urlencoded", 20 + "futures-util", 21 + "http", 22 + "http-body", 23 + "http-body-util", 24 + "hyper", 25 + "hyper-util", 26 + "itoa", 27 + "matchit", 28 + "memchr", 29 + "mime", 30 + "percent-encoding", 31 + "pin-project-lite", 32 + "serde_core", 33 + "serde_json", 34 + "serde_path_to_error", 35 + "serde_urlencoded", 36 + "sync_wrapper", 37 + "tokio", 38 + "tower", 39 + "tower-layer", 40 + "tower-service", 41 + "tracing", 42 + ] 43 + 44 + [[package]] 45 + name = "axum-core" 46 + version = "0.5.5" 47 + source = "registry+https://github.com/rust-lang/crates.io-index" 48 + checksum = "59446ce19cd142f8833f856eb31f3eb097812d1479ab224f54d72428ca21ea22" 49 + dependencies = [ 50 + "bytes", 51 + "futures-core", 52 + "http", 53 + "http-body", 54 + "http-body-util", 55 + "mime", 56 + "pin-project-lite", 57 + "sync_wrapper", 58 + "tower-layer", 59 + "tower-service", 60 + "tracing", 61 + ] 62 + 63 + [[package]] 64 + name = "base64" 65 + version = "0.22.1" 66 + source = "registry+https://github.com/rust-lang/crates.io-index" 67 + checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" 68 + 69 + [[package]] 70 + name = "bitflags" 71 + version = "2.10.0" 72 + source = "registry+https://github.com/rust-lang/crates.io-index" 73 + checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" 74 + 75 + [[package]] 76 + name = "block-buffer" 77 + version = "0.11.0" 78 + source = "registry+https://github.com/rust-lang/crates.io-index" 79 + checksum = "96eb4cdd6cf1b31d671e9efe75c5d1ec614776856cefbe109ca373554a6d514f" 80 + dependencies = [ 81 + "hybrid-array", 82 + ] 83 + 84 + [[package]] 85 + name = "bytes" 86 + version = "1.10.1" 87 + source = "registry+https://github.com/rust-lang/crates.io-index" 88 + checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" 89 + 90 + [[package]] 91 + name = "cfg-if" 92 + version = "1.0.4" 93 + source = "registry+https://github.com/rust-lang/crates.io-index" 94 + checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" 95 + 96 + [[package]] 97 + name = "const-oid" 98 + version = "0.10.1" 99 + source = "registry+https://github.com/rust-lang/crates.io-index" 100 + checksum = "0dabb6555f92fb9ee4140454eb5dcd14c7960e1225c6d1a6cc361f032947713e" 101 + 102 + [[package]] 103 + name = "cpufeatures" 104 + version = "0.2.17" 105 + source = "registry+https://github.com/rust-lang/crates.io-index" 106 + checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" 107 + dependencies = [ 108 + "libc", 109 + ] 110 + 111 + [[package]] 112 + name = "crypto-common" 113 + version = "0.2.0-rc.5" 114 + source = "registry+https://github.com/rust-lang/crates.io-index" 115 + checksum = "919bd05924682a5480aec713596b9e2aabed3a0a6022fab6847f85a99e5f190a" 116 + dependencies = [ 117 + "hybrid-array", 118 + ] 119 + 120 + [[package]] 121 + name = "curve25519-dalek" 122 + version = "5.0.0-pre.1" 123 + source = "registry+https://github.com/rust-lang/crates.io-index" 124 + checksum = "6f9200d1d13637f15a6acb71e758f64624048d85b31a5fdbfd8eca1e2687d0b7" 125 + dependencies = [ 126 + "cfg-if", 127 + "cpufeatures", 128 + "curve25519-dalek-derive", 129 + "digest", 130 + "fiat-crypto", 131 + "rustc_version", 132 + "subtle", 133 + "zeroize", 134 + ] 135 + 136 + [[package]] 137 + name = "curve25519-dalek-derive" 138 + version = "0.1.1" 139 + source = "registry+https://github.com/rust-lang/crates.io-index" 140 + checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" 141 + dependencies = [ 142 + "proc-macro2", 143 + "quote", 144 + "syn", 145 + ] 146 + 147 + [[package]] 148 + name = "der" 149 + version = "0.8.0-rc.9" 150 + source = "registry+https://github.com/rust-lang/crates.io-index" 151 + checksum = "e9d8dd2f26c86b27a2a8ea2767ec7f9df7a89516e4794e54ac01ee618dda3aa4" 152 + dependencies = [ 153 + "const-oid", 154 + ] 155 + 156 + [[package]] 157 + name = "digest" 158 + version = "0.11.0-rc.4" 159 + source = "registry+https://github.com/rust-lang/crates.io-index" 160 + checksum = "ea390c940e465846d64775e55e3115d5dc934acb953de6f6e6360bc232fe2bf7" 161 + dependencies = [ 162 + "block-buffer", 163 + "crypto-common", 164 + ] 165 + 166 + [[package]] 167 + name = "ed25519" 168 + version = "3.0.0-rc.2" 169 + source = "registry+https://github.com/rust-lang/crates.io-index" 170 + checksum = "594435fe09e345ee388e4e8422072ff7dfeca8729389fbd997b3f5504c44cd47" 171 + dependencies = [ 172 + "pkcs8", 173 + "signature", 174 + ] 175 + 176 + [[package]] 177 + name = "ed25519-dalek" 178 + version = "3.0.0-pre.1" 179 + source = "registry+https://github.com/rust-lang/crates.io-index" 180 + checksum = "ad207ed88a133091f83224265eac21109930db09bedcad05d5252f2af2de20a1" 181 + dependencies = [ 182 + "curve25519-dalek", 183 + "ed25519", 184 + "sha2", 185 + "subtle", 186 + "zeroize", 187 + ] 188 + 189 + [[package]] 190 + name = "fiat-crypto" 191 + version = "0.3.0" 192 + source = "registry+https://github.com/rust-lang/crates.io-index" 193 + checksum = "64cd1e32ddd350061ae6edb1b082d7c54915b5c672c389143b9a63403a109f24" 194 + 195 + [[package]] 196 + name = "fnv" 197 + version = "1.0.7" 198 + source = "registry+https://github.com/rust-lang/crates.io-index" 199 + checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 200 + 201 + [[package]] 202 + name = "form_urlencoded" 203 + version = "1.2.2" 204 + source = "registry+https://github.com/rust-lang/crates.io-index" 205 + checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" 206 + dependencies = [ 207 + "percent-encoding", 208 + ] 209 + 210 + [[package]] 211 + name = "futures-channel" 212 + version = "0.3.31" 213 + source = "registry+https://github.com/rust-lang/crates.io-index" 214 + checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" 215 + dependencies = [ 216 + "futures-core", 217 + ] 218 + 219 + [[package]] 220 + name = "futures-core" 221 + version = "0.3.31" 222 + source = "registry+https://github.com/rust-lang/crates.io-index" 223 + checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" 224 + 225 + [[package]] 226 + name = "futures-task" 227 + version = "0.3.31" 228 + source = "registry+https://github.com/rust-lang/crates.io-index" 229 + checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" 230 + 231 + [[package]] 232 + name = "futures-util" 233 + version = "0.3.31" 234 + source = "registry+https://github.com/rust-lang/crates.io-index" 235 + checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" 236 + dependencies = [ 237 + "futures-core", 238 + "futures-task", 239 + "pin-project-lite", 240 + "pin-utils", 241 + ] 242 + 243 + [[package]] 244 + name = "getrandom" 245 + version = "0.2.16" 246 + source = "registry+https://github.com/rust-lang/crates.io-index" 247 + checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" 248 + dependencies = [ 249 + "cfg-if", 250 + "libc", 251 + "wasi", 252 + ] 253 + 254 + [[package]] 255 + name = "http" 256 + version = "1.3.1" 257 + source = "registry+https://github.com/rust-lang/crates.io-index" 258 + checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" 259 + dependencies = [ 260 + "bytes", 261 + "fnv", 262 + "itoa", 263 + ] 264 + 265 + [[package]] 266 + name = "http-body" 267 + version = "1.0.1" 268 + source = "registry+https://github.com/rust-lang/crates.io-index" 269 + checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" 270 + dependencies = [ 271 + "bytes", 272 + "http", 273 + ] 274 + 275 + [[package]] 276 + name = "http-body-util" 277 + version = "0.1.3" 278 + source = "registry+https://github.com/rust-lang/crates.io-index" 279 + checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" 280 + dependencies = [ 281 + "bytes", 282 + "futures-core", 283 + "http", 284 + "http-body", 285 + "pin-project-lite", 286 + ] 287 + 288 + [[package]] 289 + name = "httparse" 290 + version = "1.10.1" 291 + source = "registry+https://github.com/rust-lang/crates.io-index" 292 + checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" 293 + 294 + [[package]] 295 + name = "httpdate" 296 + version = "1.0.3" 297 + source = "registry+https://github.com/rust-lang/crates.io-index" 298 + checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" 299 + 300 + [[package]] 301 + name = "hybrid-array" 302 + version = "0.4.5" 303 + source = "registry+https://github.com/rust-lang/crates.io-index" 304 + checksum = "f471e0a81b2f90ffc0cb2f951ae04da57de8baa46fa99112b062a5173a5088d0" 305 + dependencies = [ 306 + "typenum", 307 + ] 308 + 309 + [[package]] 310 + name = "hyper" 311 + version = "1.7.0" 312 + source = "registry+https://github.com/rust-lang/crates.io-index" 313 + checksum = "eb3aa54a13a0dfe7fbe3a59e0c76093041720fdc77b110cc0fc260fafb4dc51e" 314 + dependencies = [ 315 + "atomic-waker", 316 + "bytes", 317 + "futures-channel", 318 + "futures-core", 319 + "http", 320 + "http-body", 321 + "httparse", 322 + "httpdate", 323 + "itoa", 324 + "pin-project-lite", 325 + "pin-utils", 326 + "smallvec", 327 + "tokio", 328 + ] 329 + 330 + [[package]] 331 + name = "hyper-util" 332 + version = "0.1.17" 333 + source = "registry+https://github.com/rust-lang/crates.io-index" 334 + checksum = "3c6995591a8f1380fcb4ba966a252a4b29188d51d2b89e3a252f5305be65aea8" 335 + dependencies = [ 336 + "bytes", 337 + "futures-core", 338 + "http", 339 + "http-body", 340 + "hyper", 341 + "pin-project-lite", 342 + "tokio", 343 + "tower-service", 344 + ] 345 + 346 + [[package]] 347 + name = "itoa" 348 + version = "1.0.15" 349 + source = "registry+https://github.com/rust-lang/crates.io-index" 350 + checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" 351 + 352 + [[package]] 353 + name = "libc" 354 + version = "0.2.177" 355 + source = "registry+https://github.com/rust-lang/crates.io-index" 356 + checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" 357 + 358 + [[package]] 359 + name = "lock_api" 360 + version = "0.4.14" 361 + source = "registry+https://github.com/rust-lang/crates.io-index" 362 + checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" 363 + dependencies = [ 364 + "scopeguard", 365 + ] 366 + 367 + [[package]] 368 + name = "log" 369 + version = "0.4.28" 370 + source = "registry+https://github.com/rust-lang/crates.io-index" 371 + checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" 372 + 373 + [[package]] 374 + name = "matchit" 375 + version = "0.8.4" 376 + source = "registry+https://github.com/rust-lang/crates.io-index" 377 + checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" 378 + 379 + [[package]] 380 + name = "memchr" 381 + version = "2.7.6" 382 + source = "registry+https://github.com/rust-lang/crates.io-index" 383 + checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" 384 + 385 + [[package]] 386 + name = "mime" 387 + version = "0.3.17" 388 + source = "registry+https://github.com/rust-lang/crates.io-index" 389 + checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 390 + 391 + [[package]] 392 + name = "mio" 393 + version = "1.1.0" 394 + source = "registry+https://github.com/rust-lang/crates.io-index" 395 + checksum = "69d83b0086dc8ecf3ce9ae2874b2d1290252e2a30720bea58a5c6639b0092873" 396 + dependencies = [ 397 + "libc", 398 + "wasi", 399 + "windows-sys 0.61.2", 400 + ] 401 + 402 + [[package]] 403 + name = "nanoid" 404 + version = "0.4.0" 405 + source = "registry+https://github.com/rust-lang/crates.io-index" 406 + checksum = "3ffa00dec017b5b1a8b7cf5e2c008bfda1aa7e0697ac1508b491fdf2622fb4d8" 407 + dependencies = [ 408 + "rand", 409 + ] 410 + 411 + [[package]] 412 + name = "once_cell" 413 + version = "1.21.3" 414 + source = "registry+https://github.com/rust-lang/crates.io-index" 415 + checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" 416 + 417 + [[package]] 418 + name = "parking_lot" 419 + version = "0.12.5" 420 + source = "registry+https://github.com/rust-lang/crates.io-index" 421 + checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" 422 + dependencies = [ 423 + "lock_api", 424 + "parking_lot_core", 425 + ] 426 + 427 + [[package]] 428 + name = "parking_lot_core" 429 + version = "0.9.12" 430 + source = "registry+https://github.com/rust-lang/crates.io-index" 431 + checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" 432 + dependencies = [ 433 + "cfg-if", 434 + "libc", 435 + "redox_syscall", 436 + "smallvec", 437 + "windows-link", 438 + ] 439 + 440 + [[package]] 441 + name = "percent-encoding" 442 + version = "2.3.2" 443 + source = "registry+https://github.com/rust-lang/crates.io-index" 444 + checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" 445 + 446 + [[package]] 447 + name = "pin-project-lite" 448 + version = "0.2.16" 449 + source = "registry+https://github.com/rust-lang/crates.io-index" 450 + checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" 451 + 452 + [[package]] 453 + name = "pin-utils" 454 + version = "0.1.0" 455 + source = "registry+https://github.com/rust-lang/crates.io-index" 456 + checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 457 + 458 + [[package]] 459 + name = "pkcs8" 460 + version = "0.11.0-rc.8" 461 + source = "registry+https://github.com/rust-lang/crates.io-index" 462 + checksum = "77089aec8290d0b7bb01b671b091095cf1937670725af4fd73d47249f03b12c0" 463 + dependencies = [ 464 + "der", 465 + "spki", 466 + ] 467 + 468 + [[package]] 469 + name = "ppv-lite86" 470 + version = "0.2.21" 471 + source = "registry+https://github.com/rust-lang/crates.io-index" 472 + checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" 473 + dependencies = [ 474 + "zerocopy", 475 + ] 476 + 477 + [[package]] 478 + name = "proc-macro2" 479 + version = "1.0.103" 480 + source = "registry+https://github.com/rust-lang/crates.io-index" 481 + checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" 482 + dependencies = [ 483 + "unicode-ident", 484 + ] 485 + 486 + [[package]] 487 + name = "quote" 488 + version = "1.0.42" 489 + source = "registry+https://github.com/rust-lang/crates.io-index" 490 + checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" 491 + dependencies = [ 492 + "proc-macro2", 493 + ] 494 + 495 + [[package]] 496 + name = "rand" 497 + version = "0.8.5" 498 + source = "registry+https://github.com/rust-lang/crates.io-index" 499 + checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 500 + dependencies = [ 501 + "libc", 502 + "rand_chacha", 503 + "rand_core", 504 + ] 505 + 506 + [[package]] 507 + name = "rand_chacha" 508 + version = "0.3.1" 509 + source = "registry+https://github.com/rust-lang/crates.io-index" 510 + checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 511 + dependencies = [ 512 + "ppv-lite86", 513 + "rand_core", 514 + ] 515 + 516 + [[package]] 517 + name = "rand_core" 518 + version = "0.6.4" 519 + source = "registry+https://github.com/rust-lang/crates.io-index" 520 + checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 521 + dependencies = [ 522 + "getrandom", 523 + ] 524 + 525 + [[package]] 526 + name = "redox_syscall" 527 + version = "0.5.18" 528 + source = "registry+https://github.com/rust-lang/crates.io-index" 529 + checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" 530 + dependencies = [ 531 + "bitflags", 532 + ] 533 + 534 + [[package]] 535 + name = "rust-server" 536 + version = "0.1.0" 537 + dependencies = [ 538 + "axum", 539 + "base64", 540 + "ed25519-dalek", 541 + "nanoid", 542 + "serde", 543 + "serde_json", 544 + "tokio", 545 + ] 546 + 547 + [[package]] 548 + name = "rustc_version" 549 + version = "0.4.1" 550 + source = "registry+https://github.com/rust-lang/crates.io-index" 551 + checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" 552 + dependencies = [ 553 + "semver", 554 + ] 555 + 556 + [[package]] 557 + name = "ryu" 558 + version = "1.0.20" 559 + source = "registry+https://github.com/rust-lang/crates.io-index" 560 + checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" 561 + 562 + [[package]] 563 + name = "scopeguard" 564 + version = "1.2.0" 565 + source = "registry+https://github.com/rust-lang/crates.io-index" 566 + checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 567 + 568 + [[package]] 569 + name = "semver" 570 + version = "1.0.27" 571 + source = "registry+https://github.com/rust-lang/crates.io-index" 572 + checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" 573 + 574 + [[package]] 575 + name = "serde" 576 + version = "1.0.228" 577 + source = "registry+https://github.com/rust-lang/crates.io-index" 578 + checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" 579 + dependencies = [ 580 + "serde_core", 581 + "serde_derive", 582 + ] 583 + 584 + [[package]] 585 + name = "serde_core" 586 + version = "1.0.228" 587 + source = "registry+https://github.com/rust-lang/crates.io-index" 588 + checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" 589 + dependencies = [ 590 + "serde_derive", 591 + ] 592 + 593 + [[package]] 594 + name = "serde_derive" 595 + version = "1.0.228" 596 + source = "registry+https://github.com/rust-lang/crates.io-index" 597 + checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" 598 + dependencies = [ 599 + "proc-macro2", 600 + "quote", 601 + "syn", 602 + ] 603 + 604 + [[package]] 605 + name = "serde_json" 606 + version = "1.0.145" 607 + source = "registry+https://github.com/rust-lang/crates.io-index" 608 + checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" 609 + dependencies = [ 610 + "itoa", 611 + "memchr", 612 + "ryu", 613 + "serde", 614 + "serde_core", 615 + ] 616 + 617 + [[package]] 618 + name = "serde_path_to_error" 619 + version = "0.1.20" 620 + source = "registry+https://github.com/rust-lang/crates.io-index" 621 + checksum = "10a9ff822e371bb5403e391ecd83e182e0e77ba7f6fe0160b795797109d1b457" 622 + dependencies = [ 623 + "itoa", 624 + "serde", 625 + "serde_core", 626 + ] 627 + 628 + [[package]] 629 + name = "serde_urlencoded" 630 + version = "0.7.1" 631 + source = "registry+https://github.com/rust-lang/crates.io-index" 632 + checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" 633 + dependencies = [ 634 + "form_urlencoded", 635 + "itoa", 636 + "ryu", 637 + "serde", 638 + ] 639 + 640 + [[package]] 641 + name = "sha2" 642 + version = "0.11.0-rc.3" 643 + source = "registry+https://github.com/rust-lang/crates.io-index" 644 + checksum = "19d43dc0354d88b791216bb5c1bfbb60c0814460cc653ae0ebd71f286d0bd927" 645 + dependencies = [ 646 + "cfg-if", 647 + "cpufeatures", 648 + "digest", 649 + ] 650 + 651 + [[package]] 652 + name = "signal-hook-registry" 653 + version = "1.4.6" 654 + source = "registry+https://github.com/rust-lang/crates.io-index" 655 + checksum = "b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b" 656 + dependencies = [ 657 + "libc", 658 + ] 659 + 660 + [[package]] 661 + name = "signature" 662 + version = "3.0.0-rc.5" 663 + source = "registry+https://github.com/rust-lang/crates.io-index" 664 + checksum = "2a0251c9d6468f4ba853b6352b190fb7c1e405087779917c238445eb03993826" 665 + 666 + [[package]] 667 + name = "smallvec" 668 + version = "1.15.1" 669 + source = "registry+https://github.com/rust-lang/crates.io-index" 670 + checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" 671 + 672 + [[package]] 673 + name = "socket2" 674 + version = "0.6.1" 675 + source = "registry+https://github.com/rust-lang/crates.io-index" 676 + checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881" 677 + dependencies = [ 678 + "libc", 679 + "windows-sys 0.60.2", 680 + ] 681 + 682 + [[package]] 683 + name = "spki" 684 + version = "0.8.0-rc.4" 685 + source = "registry+https://github.com/rust-lang/crates.io-index" 686 + checksum = "8baeff88f34ed0691978ec34440140e1572b68c7dd4a495fd14a3dc1944daa80" 687 + dependencies = [ 688 + "der", 689 + ] 690 + 691 + [[package]] 692 + name = "subtle" 693 + version = "2.6.1" 694 + source = "registry+https://github.com/rust-lang/crates.io-index" 695 + checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" 696 + 697 + [[package]] 698 + name = "syn" 699 + version = "2.0.109" 700 + source = "registry+https://github.com/rust-lang/crates.io-index" 701 + checksum = "2f17c7e013e88258aa9543dcbe81aca68a667a9ac37cd69c9fbc07858bfe0e2f" 702 + dependencies = [ 703 + "proc-macro2", 704 + "quote", 705 + "unicode-ident", 706 + ] 707 + 708 + [[package]] 709 + name = "sync_wrapper" 710 + version = "1.0.2" 711 + source = "registry+https://github.com/rust-lang/crates.io-index" 712 + checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" 713 + 714 + [[package]] 715 + name = "tokio" 716 + version = "1.48.0" 717 + source = "registry+https://github.com/rust-lang/crates.io-index" 718 + checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" 719 + dependencies = [ 720 + "bytes", 721 + "libc", 722 + "mio", 723 + "parking_lot", 724 + "pin-project-lite", 725 + "signal-hook-registry", 726 + "socket2", 727 + "tokio-macros", 728 + "windows-sys 0.61.2", 729 + ] 730 + 731 + [[package]] 732 + name = "tokio-macros" 733 + version = "2.6.0" 734 + source = "registry+https://github.com/rust-lang/crates.io-index" 735 + checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5" 736 + dependencies = [ 737 + "proc-macro2", 738 + "quote", 739 + "syn", 740 + ] 741 + 742 + [[package]] 743 + name = "tower" 744 + version = "0.5.2" 745 + source = "registry+https://github.com/rust-lang/crates.io-index" 746 + checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" 747 + dependencies = [ 748 + "futures-core", 749 + "futures-util", 750 + "pin-project-lite", 751 + "sync_wrapper", 752 + "tokio", 753 + "tower-layer", 754 + "tower-service", 755 + "tracing", 756 + ] 757 + 758 + [[package]] 759 + name = "tower-layer" 760 + version = "0.3.3" 761 + source = "registry+https://github.com/rust-lang/crates.io-index" 762 + checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" 763 + 764 + [[package]] 765 + name = "tower-service" 766 + version = "0.3.3" 767 + source = "registry+https://github.com/rust-lang/crates.io-index" 768 + checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" 769 + 770 + [[package]] 771 + name = "tracing" 772 + version = "0.1.41" 773 + source = "registry+https://github.com/rust-lang/crates.io-index" 774 + checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" 775 + dependencies = [ 776 + "log", 777 + "pin-project-lite", 778 + "tracing-core", 779 + ] 780 + 781 + [[package]] 782 + name = "tracing-core" 783 + version = "0.1.34" 784 + source = "registry+https://github.com/rust-lang/crates.io-index" 785 + checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678" 786 + dependencies = [ 787 + "once_cell", 788 + ] 789 + 790 + [[package]] 791 + name = "typenum" 792 + version = "1.19.0" 793 + source = "registry+https://github.com/rust-lang/crates.io-index" 794 + checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" 795 + 796 + [[package]] 797 + name = "unicode-ident" 798 + version = "1.0.22" 799 + source = "registry+https://github.com/rust-lang/crates.io-index" 800 + checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" 801 + 802 + [[package]] 803 + name = "wasi" 804 + version = "0.11.1+wasi-snapshot-preview1" 805 + source = "registry+https://github.com/rust-lang/crates.io-index" 806 + checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" 807 + 808 + [[package]] 809 + name = "windows-link" 810 + version = "0.2.1" 811 + source = "registry+https://github.com/rust-lang/crates.io-index" 812 + checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" 813 + 814 + [[package]] 815 + name = "windows-sys" 816 + version = "0.60.2" 817 + source = "registry+https://github.com/rust-lang/crates.io-index" 818 + checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" 819 + dependencies = [ 820 + "windows-targets", 821 + ] 822 + 823 + [[package]] 824 + name = "windows-sys" 825 + version = "0.61.2" 826 + source = "registry+https://github.com/rust-lang/crates.io-index" 827 + checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" 828 + dependencies = [ 829 + "windows-link", 830 + ] 831 + 832 + [[package]] 833 + name = "windows-targets" 834 + version = "0.53.5" 835 + source = "registry+https://github.com/rust-lang/crates.io-index" 836 + checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" 837 + dependencies = [ 838 + "windows-link", 839 + "windows_aarch64_gnullvm", 840 + "windows_aarch64_msvc", 841 + "windows_i686_gnu", 842 + "windows_i686_gnullvm", 843 + "windows_i686_msvc", 844 + "windows_x86_64_gnu", 845 + "windows_x86_64_gnullvm", 846 + "windows_x86_64_msvc", 847 + ] 848 + 849 + [[package]] 850 + name = "windows_aarch64_gnullvm" 851 + version = "0.53.1" 852 + source = "registry+https://github.com/rust-lang/crates.io-index" 853 + checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" 854 + 855 + [[package]] 856 + name = "windows_aarch64_msvc" 857 + version = "0.53.1" 858 + source = "registry+https://github.com/rust-lang/crates.io-index" 859 + checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" 860 + 861 + [[package]] 862 + name = "windows_i686_gnu" 863 + version = "0.53.1" 864 + source = "registry+https://github.com/rust-lang/crates.io-index" 865 + checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" 866 + 867 + [[package]] 868 + name = "windows_i686_gnullvm" 869 + version = "0.53.1" 870 + source = "registry+https://github.com/rust-lang/crates.io-index" 871 + checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" 872 + 873 + [[package]] 874 + name = "windows_i686_msvc" 875 + version = "0.53.1" 876 + source = "registry+https://github.com/rust-lang/crates.io-index" 877 + checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" 878 + 879 + [[package]] 880 + name = "windows_x86_64_gnu" 881 + version = "0.53.1" 882 + source = "registry+https://github.com/rust-lang/crates.io-index" 883 + checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" 884 + 885 + [[package]] 886 + name = "windows_x86_64_gnullvm" 887 + version = "0.53.1" 888 + source = "registry+https://github.com/rust-lang/crates.io-index" 889 + checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" 890 + 891 + [[package]] 892 + name = "windows_x86_64_msvc" 893 + version = "0.53.1" 894 + source = "registry+https://github.com/rust-lang/crates.io-index" 895 + checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" 896 + 897 + [[package]] 898 + name = "zerocopy" 899 + version = "0.8.27" 900 + source = "registry+https://github.com/rust-lang/crates.io-index" 901 + checksum = "0894878a5fa3edfd6da3f88c4805f4c8558e2b996227a3d864f47fe11e38282c" 902 + dependencies = [ 903 + "zerocopy-derive", 904 + ] 905 + 906 + [[package]] 907 + name = "zerocopy-derive" 908 + version = "0.8.27" 909 + source = "registry+https://github.com/rust-lang/crates.io-index" 910 + checksum = "88d2b8d9c68ad2b9e4340d7832716a4d21a22a1154777ad56ea55c51a9cf3831" 911 + dependencies = [ 912 + "proc-macro2", 913 + "quote", 914 + "syn", 915 + ] 916 + 917 + [[package]] 918 + name = "zeroize" 919 + version = "1.8.2" 920 + source = "registry+https://github.com/rust-lang/crates.io-index" 921 + checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0"
+13
server/Cargo.toml
··· 1 + [package] 2 + name = "rust-server" 3 + version = "0.1.0" 4 + edition = "2024" 5 + 6 + [dependencies] 7 + axum = "0.8.6" 8 + base64 = "0.22.1" 9 + ed25519-dalek = {version = "3.0.0-pre.0", features = ["pkcs8"]} 10 + nanoid = "0.4.0" 11 + serde = { version = "1.0.228", features = ["derive"] } 12 + serde_json = "1.0.145" 13 + tokio = { version = "1.48.0", features = ["full"] }
+165
server/src/handlers.rs
··· 1 + use axum::{Extension, Json, extract::State, response::Result}; 2 + use base64::{Engine, prelude::BASE64_STANDARD}; 3 + use ed25519_dalek::VerifyingKey; 4 + use nanoid::nanoid; 5 + 6 + use crate::types::*; 7 + 8 + macro_rules! my_err { 9 + ($msg:expr) => { 10 + Err(MyErr($msg)) 11 + }; 12 + } 13 + 14 + pub async fn create_user( 15 + State(state): State<AppState>, // TODO: some time ago, I change this (and all other handlers) to State(state): State<Arc<AppState>> no idea if I actually need it 16 + Json(payload): Json<CreateUserRequest>, 17 + ) -> Result<Json<CreateAccountResponse>, MyErr> { 18 + let key_used = { state.signup_keys.lock().await.remove(&payload.signup_key) }; 19 + 20 + if !key_used { 21 + return my_err!("Signup key was not there"); 22 + } 23 + 24 + // todo check 25 + let pub_key_bytes = match BASE64_STANDARD.decode(&payload.pub_key_b64) { 26 + Ok(b) => b, 27 + Err(_) => return my_err!("Invalid base64 public key"), 28 + }; 29 + 30 + // todo check 31 + let pub_key = match VerifyingKey::from_bytes( 32 + &pub_key_bytes 33 + .try_into() 34 + .map_err(|_| MyErr("Invalid pubkey length".into()))?, 35 + ) { 36 + Ok(pk) => pk, 37 + Err(_) => return my_err!("Invalid public key bytes"), 38 + }; 39 + 40 + let user_id = nanoid!(5); 41 + let mut is_admin = false; 42 + let mut users = state.users.lock().await; 43 + if users.is_empty() { 44 + is_admin = true; 45 + let mut admin_id_guard = state.admin_id.lock().await; 46 + admin_id_guard.replace(user_id.clone()); 47 + } 48 + 49 + users.push(User { 50 + id: user_id.clone(), 51 + pub_key, 52 + }); 53 + 54 + return Ok(Json(CreateAccountResponse { user_id, is_admin })); 55 + } 56 + 57 + pub async fn generate_signup_key(State(state): State<AppState>) -> Result<String, MyErr> { 58 + let new_signup_key = nanoid!(5); 59 + let mut signup_keys = state.signup_keys.lock().await; 60 + 61 + // Assume new_signup_key will not collide 62 + signup_keys.insert(new_signup_key.clone()); 63 + 64 + return Ok(new_signup_key); 65 + } 66 + 67 + pub async fn create_friend_request( 68 + State(state): State<AppState>, 69 + Extension(user_id): Extension<String>, 70 + accepter_id: String, 71 + ) -> Result<(), MyErr> { 72 + if accepter_id == user_id { 73 + return my_err!("Cannot friend yourself"); 74 + } 75 + 76 + let mut friend_requests = state.friend_requests.lock().await; 77 + let link = Link::new(accepter_id, user_id); 78 + if friend_requests.contains(&link) { 79 + return my_err!("Friend request already exists"); 80 + } 81 + friend_requests.insert(link); 82 + return Ok(()); 83 + } 84 + 85 + pub async fn accept_friend_request( 86 + State(state): State<AppState>, 87 + Extension(user_id): Extension<String>, 88 + sender_id: String, 89 + ) -> Result<(), MyErr> { 90 + let link = Link::new(user_id, sender_id); 91 + 92 + let friend_request_accepted = { state.friend_requests.lock().await.remove(&link) }; 93 + 94 + if !friend_request_accepted { 95 + return my_err!("Friend request not found"); 96 + } 97 + 98 + let mut pings_state = state.positions.lock().await; 99 + pings_state.insert(link.clone(), RingBuffer::new(state.ring_buffer_cap)); 100 + drop(pings_state); 101 + 102 + let mut links = state.links.lock().await; 103 + links.insert(link); 104 + 105 + return Ok(()); 106 + } 107 + 108 + pub async fn is_friend_request_accepted( 109 + State(state): State<AppState>, 110 + Extension(user_id): Extension<String>, 111 + friend_id: String, 112 + ) -> Result<PlainBool, MyErr> { 113 + let link = Link::new(friend_id, user_id); 114 + let links = state.links.lock().await; 115 + let accepted = links.contains(&link); 116 + return Ok(PlainBool(accepted)); 117 + } 118 + 119 + pub async fn send_pings( 120 + State(state): State<AppState>, 121 + Extension(user_id): Extension<String>, 122 + Json(pings): Json<Vec<PingPayload>>, 123 + ) -> Result<(), MyErr> { 124 + let links = state.links.lock().await; 125 + for ping in &pings { 126 + let link = Link::new(user_id.clone(), ping.receiver_id.clone()); 127 + if !links.contains(&link) { 128 + return my_err!("Ping receiver is not linked to sender"); 129 + } 130 + } 131 + drop(links); 132 + 133 + let mut pings_state = state.positions.lock().await; 134 + 135 + for ping in pings { 136 + let link = Link::new(user_id.clone(), ping.receiver_id.clone()); 137 + pings_state 138 + .get_mut(&link) 139 + .unwrap() 140 + .add(EncryptedPing(ping.encrypted_ping)); // We assured that a ringbuffer exists because it was created when the link was created, hence the .unwrap() 141 + } 142 + 143 + return Ok(()); 144 + } 145 + 146 + pub async fn get_pings( 147 + State(state): State<AppState>, 148 + Extension(user_id): Extension<String>, 149 + sender_id: String, 150 + ) -> Result<EncryptedPingVec, MyErr> { 151 + let link = Link::new(user_id, sender_id); 152 + let links = state.links.lock().await; 153 + 154 + if !links.contains(&link) { 155 + return my_err!("No link exists between these users"); 156 + } 157 + drop(links); 158 + 159 + let pings = state.positions.lock().await; 160 + 161 + return Ok(EncryptedPingVec(pings.get(&link).unwrap().flatten())); // We assured that a ringbuffer exists because it was created when the link was created, hence the .unwrap() 162 + } 163 + 164 + // TODO: random idea, but use numbers instead of strings for user ids because no need to clone (but longer to read if needed) 165 + // ANSWER: use number, but when showing or intputing on frontend, use base64 with frontend translation
+150
server/src/main.rs
··· 1 + use std::{collections::HashMap, sync::Arc}; 2 + 3 + use axum::{ 4 + Router, 5 + body::{Body, to_bytes}, 6 + extract::{Request, State}, 7 + middleware::Next, 8 + response::IntoResponse, 9 + routing::post, 10 + }; 11 + use base64::{Engine, prelude::BASE64_STANDARD}; 12 + use ed25519_dalek::Signature; 13 + use nanoid::nanoid; 14 + use serde::Deserialize; 15 + use tokio::sync::Mutex; 16 + 17 + use std::collections::HashSet; 18 + 19 + mod handlers; 20 + mod types; 21 + 22 + use handlers::*; 23 + use types::*; 24 + 25 + #[tokio::main] 26 + async fn main() { 27 + // initialize tracing 28 + // tracing_subscriber::fmt::init(); 29 + 30 + // TODO: should this be inside an Arc? 31 + let state = AppState { 32 + users: Arc::new(Mutex::new(Vec::new())), 33 + signup_keys: Arc::new(Mutex::new(HashSet::new())), 34 + friend_requests: Arc::new(Mutex::new(HashSet::new())), 35 + links: Arc::new(Mutex::new(HashSet::new())), 36 + positions: Arc::new(Mutex::new(HashMap::new())), 37 + admin_id: Arc::new(Mutex::new(None)), 38 + ring_buffer_cap: 5, 39 + }; 40 + 41 + // Until we have disk saves, always generate a admin signup key since there will be no admin set at launch 42 + let admin_signup_key = nanoid!(5); 43 + println!("Admin signup key: {admin_signup_key}"); 44 + state.signup_keys.lock().await.insert(admin_signup_key); 45 + 46 + // build our application with a route 47 + let app = Router::new() 48 + .route("/", post(|| async { "You just sent a POST to /" })) // for testing 49 + .route("/create-account", post(create_user)) 50 + .route("/generate-signup-key", post(generate_signup_key)) 51 + .route("/create-friend-request", post(create_friend_request)) 52 + .route("/accept-friend-request", post(accept_friend_request)) 53 + .route( 54 + "/is-friend-request-accepted", 55 + post(is_friend_request_accepted), 56 + ) 57 + .route("/send-pings", post(send_pings)) 58 + .route("/get-pings", post(get_pings)) 59 + .with_state(state.clone()) 60 + .layer(axum::middleware::from_fn_with_state(state, auth_test)); 61 + 62 + // run our app with hyper, listening globally on port 3000 63 + let listener = tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap(); 64 + axum::serve(listener, app).await.unwrap(); 65 + } 66 + 67 + async fn auth_test(State(state): State<AppState>, req: Request, next: Next) -> impl IntoResponse { 68 + let endpoint = req.uri().path().to_owned(); 69 + if endpoint != "/create-account" { 70 + // CURSED STUFF BEGIN 71 + let (parts, body) = req.into_parts(); 72 + let body_bytes = to_bytes(body, usize::MAX).await.unwrap(); 73 + let new_body = Body::from(body_bytes.clone()); 74 + let mut req = Request::from_parts(parts, new_body); 75 + // CURSED STUFF END 76 + 77 + // let auth_header = match req.headers().get("x-auth").and_then(|v| v.to_str().ok()) { 78 + // Some(h) => h, 79 + // None => todo!("header issues"), 80 + // }; 81 + // println!("Headers before from_str: {auth_header}"); 82 + 83 + // let auth_data: Auth = match serde_json::from_str(&auth_header) { 84 + // Ok(v) => v, 85 + // Err(_) => todo!("parsing json issues"), 86 + // }; 87 + let auth_header = req 88 + .headers() 89 + .get("x-auth") 90 + .and_then(|v| v.to_str().ok()) 91 + .unwrap_or_else(|| panic!("missing x-auth header")); 92 + 93 + let decoded_auth = BASE64_STANDARD 94 + .decode(auth_header) 95 + .unwrap_or_else(|_| panic!("invalid base64 in x-auth header")); 96 + 97 + let auth_str = String::from_utf8(decoded_auth) 98 + .unwrap_or_else(|_| panic!("invalid utf8 in x-auth header")); 99 + 100 + let auth_data: Auth = serde_json::from_str(&auth_str) 101 + .unwrap_or_else(|e| panic!("failed to parse x-auth JSON: {e}")); 102 + 103 + let users = state.users.lock().await; 104 + let user_id = auth_data.user_id; 105 + let user = users 106 + .iter() 107 + .find(|u| u.id == user_id) 108 + .unwrap_or_else(|| panic!("User not found")); 109 + let verifying_key = user.pub_key.clone(); 110 + drop(users); 111 + 112 + //////////////////////////////////// 113 + //////////////////////////////////// unsure 114 + //////////////////////////////////// 115 + 116 + let sig_vec = BASE64_STANDARD.decode(&auth_data.signature).unwrap(); 117 + let sig_bytes: [u8; 64] = sig_vec.try_into().expect("invalid signature length"); 118 + let signature = Signature::from_bytes(&sig_bytes); 119 + 120 + if let Err(err) = verifying_key.verify_strict(&body_bytes, &signature) { 121 + panic!("Signature verification failed: {err}"); 122 + } 123 + // println!("Signature verified!"); 124 + 125 + //////////////////////////////////// 126 + //////////////////////////////////// 127 + //////////////////////////////////// 128 + 129 + // TODO: Maybe make the endpoints an enum 130 + if endpoint == "/generate-signup-key" { 131 + let admin_id = state.admin_id.lock().await; 132 + if admin_id.as_ref() != Some(&user_id) { 133 + todo!("not allowed") 134 + } 135 + } 136 + 137 + req.extensions_mut().insert(user_id); 138 + 139 + return next.run(req).await; 140 + } 141 + 142 + return next.run(req).await; 143 + } 144 + 145 + // For now, only user_id for identification 146 + #[derive(Debug, Deserialize, Clone)] 147 + struct Auth { 148 + user_id: String, 149 + signature: String, // base 64 150 + }
+130
server/src/types.rs
··· 1 + use axum::{ 2 + http::StatusCode, 3 + response::{IntoResponse, Response}, 4 + }; 5 + use ed25519_dalek::VerifyingKey; 6 + use serde::{Deserialize, Serialize}; 7 + use std::{ 8 + collections::{HashMap, HashSet}, 9 + sync::Arc, 10 + }; 11 + use tokio::sync::Mutex; 12 + 13 + // doing everything in memory for now 14 + #[derive(Clone)] 15 + pub struct AppState { 16 + pub users: Arc<Mutex<Vec<User>>>, 17 + pub signup_keys: Arc<Mutex<HashSet<String>>>, 18 + pub friend_requests: Arc<Mutex<HashSet<Link>>>, 19 + pub links: Arc<Mutex<HashSet<Link>>>, 20 + pub positions: Arc<Mutex<HashMap<Link, RingBuffer>>>, 21 + pub admin_id: Arc<Mutex<Option<String>>>, 22 + pub ring_buffer_cap: usize, 23 + } 24 + 25 + pub struct RingBuffer { 26 + pub ring: Box<[Option<EncryptedPing>]>, 27 + pub idx: usize, 28 + } 29 + 30 + #[derive(Clone, Serialize)] 31 + pub struct EncryptedPing(pub String); 32 + 33 + // represents a ring buffer for a directed friend connection (ex.: user1 sending to user2, which in that case it's only user1's positions) 34 + impl RingBuffer { 35 + pub fn new(capacity: usize) -> Self { 36 + return Self { 37 + ring: vec![None; capacity].into_boxed_slice(), 38 + idx: 0, 39 + }; 40 + } 41 + 42 + pub fn add(&mut self, p: EncryptedPing) { 43 + self.idx = (self.idx + 1) % self.ring.len(); 44 + self.ring[self.idx] = Some(p); 45 + } 46 + 47 + /// Returns a `Vec<String>` of all the `encrypted_ping` values in the ring buffer, 48 + /// starting from `self.idx` and iterating **backwards**, wrapping around to the end, 49 + /// skipping `None` entries. 50 + /// 51 + /// # Notes 52 + /// - The first element in the returned vector corresponds to the current index (`self.idx`). 53 + /// - `None` entries are ignored. 54 + pub fn flatten(&self) -> Vec<EncryptedPing> { 55 + let len = self.ring.len(); 56 + 57 + let mut result = Vec::with_capacity(len); 58 + 59 + for i in 0..len { 60 + let temp = (self.idx + len - i) % len; 61 + let position = &self.ring[temp]; 62 + match position { 63 + Some(p) => result.push(p.clone()), 64 + None => continue, 65 + } 66 + } 67 + 68 + return result; 69 + } 70 + } 71 + 72 + #[derive(serde::Deserialize)] 73 + pub struct CreateUserRequest { 74 + pub signup_key: String, 75 + pub pub_key_b64: String, // base64-encoded public key 76 + } 77 + 78 + #[derive(Debug, PartialEq, Eq)] 79 + pub struct User { 80 + pub id: String, 81 + pub pub_key: VerifyingKey, 82 + } 83 + // pub struct User(pub String); 84 + 85 + #[derive(Debug, Clone, PartialEq, Eq, Hash)] 86 + pub struct Link(String, String); 87 + 88 + impl Link { 89 + pub fn new(a: String, b: String) -> Self { 90 + if a < b { Link(a, b) } else { Link(b, a) } // normalize order 91 + } 92 + } 93 + 94 + #[derive(Serialize)] 95 + pub struct CreateAccountResponse { 96 + pub user_id: String, 97 + pub is_admin: bool, 98 + } 99 + 100 + #[derive(Deserialize)] 101 + pub struct PingPayload { 102 + pub receiver_id: String, 103 + pub encrypted_ping: String, 104 + } 105 + 106 + pub struct PlainBool(pub bool); 107 + 108 + impl IntoResponse for PlainBool { 109 + fn into_response(self) -> Response { 110 + self.0.to_string().into_response() 111 + } 112 + } 113 + 114 + #[derive(Serialize)] 115 + pub struct EncryptedPingVec(pub Vec<EncryptedPing>); 116 + 117 + impl IntoResponse for EncryptedPingVec { 118 + fn into_response(self) -> Response { 119 + axum::Json(self.0).into_response() // TODO: check if this is correct 120 + } 121 + } 122 + 123 + pub struct MyErr(pub &'static str); 124 + 125 + impl IntoResponse for MyErr { 126 + fn into_response(self) -> Response { 127 + let body = format!(r#"{{"error":"{}"}}"#, self.0); // example: {"error":"something went wrong"} 128 + return (StatusCode::INTERNAL_SERVER_ERROR, body).into_response(); 129 + } 130 + }
+1
server/test.sh
··· 1 + for i in {1..100}; do bun test; [ $? -eq 1 ] && echo "Stopped on run $i" && break; done
+54
server/test/autils.ts
··· 1 + import { expect } from "bun:test"; 2 + 3 + export const URL = "http://localhost:3000"; 4 + 5 + export async function generateUser( 6 + signup_key: string | undefined, 7 + should_be_admin: boolean = false, 8 + ): Promise<string> { 9 + if (signup_key === undefined) { 10 + throw new Error("signup_key was not provided or captured from server output"); 11 + } 12 + 13 + const res = await fetch(`${URL}/create-account`, { 14 + method: "POST", 15 + body: signup_key, 16 + }); 17 + const json = await res.json(); 18 + expect(res.status).toBe(200); 19 + expect(json).toEqual({ 20 + user_id: expect.any(String), 21 + is_admin: should_be_admin, 22 + }); 23 + 24 + return json.user_id; 25 + } 26 + 27 + export async function post( 28 + endpoint: string, 29 + user_id: string, 30 + data: Object | string | undefined, 31 + ): Promise<any> { 32 + const headers: Record<string, string> = { 33 + "x-auth": JSON.stringify({ user_id }), 34 + }; 35 + 36 + let stringified_data: string | undefined; 37 + 38 + if (typeof data === "object") { 39 + stringified_data = JSON.stringify(data); 40 + headers["Content-Type"] = "application/json"; 41 + } else { 42 + stringified_data = data; 43 + } 44 + 45 + const res = await fetch(`${URL}/${endpoint}`, { 46 + method: "POST", 47 + headers, 48 + body: stringified_data, 49 + }); 50 + 51 + expect(res.status).toBe(200); 52 + 53 + return await res.text(); 54 + }
+57
server/test/srv.ts
··· 1 + export let server: ReturnType<typeof Bun.spawn> | null = null; 2 + 3 + export const SERVER_DIR = `${import.meta.dir}/..`; 4 + 5 + export async function startOrRestartServer(): Promise<string | undefined> { 6 + if (server !== null) { 7 + server.kill(); 8 + server = null; 9 + } 10 + 11 + server = Bun.spawn({ 12 + cmd: ["cargo", "run"], 13 + cwd: SERVER_DIR, 14 + stdout: "pipe", 15 + stderr: "inherit", 16 + }); 17 + 18 + const log_reader = server.stdout.getReader(); 19 + const decoder = new TextDecoder(); 20 + 21 + // Key‑finder with timeout 22 + const timeoutMs = 1000; 23 + const start = Date.now(); 24 + let signupKey: string | undefined; 25 + 26 + while (Date.now() - start < timeoutMs) { 27 + const { value, done } = await log_reader.read(); 28 + if (done) break; // stream closed 29 + const text = decoder.decode(value); 30 + const match = text.match(/Admin signup key:\s*([^\s]+)/); 31 + if (match) { 32 + signupKey = match[1]; 33 + break; 34 + } 35 + if (text.includes("Server started")) { 36 + break; 37 + } 38 + } 39 + 40 + // Background logger. This runs until the server is stopped. 41 + (async () => { 42 + while (true) { 43 + const { value, done } = await log_reader.read(); 44 + if (done) break; 45 + process.stdout.write(decoder.decode(value)); 46 + } 47 + })(); 48 + 49 + return signupKey; 50 + } 51 + 52 + export function stopServer() { 53 + if (server !== null) { 54 + server.kill(); 55 + server = null; 56 + } 57 + }
+52
server/test/test.test.ts
··· 1 + import { SERVER_DIR, startOrRestartServer, stopServer } from "./srv.ts"; 2 + import { rm } from "node:fs/promises"; 3 + import { describe, test, expect, beforeAll, afterAll, beforeEach } from "bun:test"; 4 + import { generateUser, post, URL } from "./utils.ts"; 5 + 6 + console.log(`SERVER_DIR: ${SERVER_DIR}`); 7 + let signup_key: string | undefined = undefined; 8 + 9 + beforeEach(async () => { 10 + signup_key = await startOrRestartServer(); 11 + await Bun.sleep(100); 12 + }); 13 + 14 + afterAll(async () => { 15 + stopServer(); 16 + }); 17 + 18 + describe("API tests", () => { 19 + test("Main usage test", async () => { 20 + const admin = await generateUser(signup_key, true); 21 + 22 + const res1 = await post("generate-signup-key", admin, undefined); 23 + expect(res1).toEqual(expect.any(String)); 24 + 25 + const user = await generateUser(res1); 26 + 27 + await post("create-friend-request", admin, user.user_id); 28 + 29 + await post("accept-friend-request", user, admin.user_id); 30 + 31 + const res2 = await post("is-friend-request-accepted", admin, user.user_id); 32 + expect(JSON.parse(res2)).toBe(true); 33 + 34 + await post("send-pings", admin, [ 35 + { 36 + receiver_id: user.user_id, 37 + encrypted_ping: "this is definitely encrypted trust #1", 38 + }, 39 + ]); 40 + 41 + await post("send-pings", admin, [ 42 + { 43 + receiver_id: user.user_id, 44 + encrypted_ping: "this is definitely encrypted trust #2", 45 + }, 46 + ]); 47 + 48 + const res3 = await post("get-pings", user, admin.user_id); 49 + 50 + expect(JSON.parse(res3)).toEqual(["this is definitely encrypted trust #2", "this is definitely encrypted trust #1"]); 51 + }); 52 + });
+75
server/test/utils.ts
··· 1 + import { expect } from "bun:test"; 2 + 3 + export const URL = "http://localhost:3000"; 4 + 5 + // Generate an Ed25519 keypair and register it with the server. 6 + export async function generateUser(signup_key: string | undefined, should_be_admin: boolean = false): Promise<{ user_id: string; pubKey: Uint8Array; privKey: Uint8Array }> { 7 + if (!signup_key) { 8 + throw new Error("signup_key was not provided or captured from server output"); 9 + } 10 + 11 + // Create Ed25519 keypair 12 + const keyPair = await crypto.subtle.generateKey({ name: "Ed25519" }, true, ["sign", "verify"]); 13 + 14 + // Export raw public key 15 + const pubKey = new Uint8Array(await crypto.subtle.exportKey("raw", keyPair.publicKey)); 16 + const privKey = new Uint8Array(await crypto.subtle.exportKey("pkcs8", keyPair.privateKey)); 17 + 18 + // Base64 encode the public key 19 + const pub_key_b64 = btoa(String.fromCharCode(...pubKey)); 20 + 21 + // Send signup_key and pubkey to server 22 + const res = await fetch(`${URL}/create-account`, { 23 + method: "POST", 24 + headers: { "Content-Type": "application/json" }, 25 + body: JSON.stringify({ signup_key, pub_key_b64 }), 26 + }); 27 + 28 + expect(res.status).toBe(200); 29 + const json = await res.json(); 30 + expect(json).toEqual({ 31 + user_id: expect.any(String), 32 + is_admin: should_be_admin, 33 + }); 34 + 35 + return { user_id: json.user_id, pubKey, privKey }; 36 + } 37 + 38 + export async function post(endpoint: string, user: { user_id: string; privKey: Uint8Array }, data: Object | string | undefined): Promise<any> { 39 + let bodyBytes: Uint8Array; 40 + 41 + if (typeof data === "object") { 42 + const json = JSON.stringify(data); 43 + bodyBytes = new TextEncoder().encode(json); 44 + } else if (typeof data === "string") { 45 + bodyBytes = new TextEncoder().encode(data); 46 + } else { 47 + bodyBytes = new Uint8Array(); 48 + } 49 + 50 + // Sign body using private key 51 + const privateKey = await crypto.subtle.importKey("pkcs8", user.privKey.buffer, { name: "Ed25519" }, false, ["sign"]); 52 + 53 + const signature = new Uint8Array(await crypto.subtle.sign("Ed25519", privateKey, bodyBytes)); 54 + const signature_b64 = btoa(String.fromCharCode(...signature)); 55 + 56 + const authJson = JSON.stringify({ 57 + user_id: user.user_id, 58 + signature: signature_b64, // changed key 59 + }); 60 + const authHeader = btoa(authJson); 61 + 62 + const headers: Record<string, string> = { 63 + "x-auth": authHeader, 64 + "Content-Type": "application/json", 65 + }; 66 + 67 + const res = await fetch(`${URL}/${endpoint}`, { 68 + method: "POST", 69 + headers, 70 + body: bodyBytes.length > 0 ? new TextDecoder().decode(bodyBytes) : undefined, 71 + }); 72 + 73 + expect(res.status).toBe(200); 74 + return await res.text(); 75 + }