├── .devcontainer └── devcontainer.json ├── README.md ├── counter-contract ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── Forc.lock ├── Forc.toml ├── src │ └── main.sw └── tests │ └── harness.rs └── frontend ├── .gitignore ├── README.md ├── fuels.config.ts ├── package-lock.json ├── package.json ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt ├── src ├── App.test.tsx ├── App.tsx ├── index.css ├── index.tsx ├── logo.svg ├── react-app-env.d.ts ├── reportWebVitals.ts ├── setupTests.ts └── sway-api │ ├── contracts │ ├── CounterContractAbi.d.ts │ ├── CounterContractAbi.hex.ts │ ├── factories │ │ └── CounterContractAbi__factory.ts │ └── index.ts │ └── index.ts └── tsconfig.json /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | "image": "mcr.microsoft.com/devcontainers/universal:2", 3 | "features": { 4 | "ghcr.io/devcontainers/features/common-utils:1": {}, 5 | "ghcr.io/FuelLabs/devcontainer-features/fuelup:1.0.2": { 6 | "toolchain": "beta-5" 7 | }, 8 | "ghcr.io/devcontainers-contrib/features/typescript:2": {}, 9 | "ghcr.io/devcontainers/features/rust:1": {}, 10 | "ghcr.io/devcontainers/features/node:1": {} 11 | }, 12 | "customizations": { 13 | "codespaces": { 14 | "openFiles": ["README.md"] 15 | }, 16 | "vscode": { 17 | "extensions": [ 18 | "fuellabs.sway-vscode-plugin", 19 | "ms-vscode.vscode-typescript-next", 20 | "rust-lang.rust-analyzer" 21 | ] 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Developer Quickstart 2 | 3 | This is a step-by-step guide to building a fullstack dapp on Fuel. This guide walks developers through installation and setup, writing a smart contract, testing the contract, deploying the contract, and creating a frontend. 4 | 5 | Please refer to the [Developer Quickstart](https://docs.fuel.network/guides/quickstart/) for the most up-to-date quickstart guide for building with Fuel. 6 | -------------------------------------------------------------------------------- /counter-contract/.gitignore: -------------------------------------------------------------------------------- 1 | out 2 | target 3 | -------------------------------------------------------------------------------- /counter-contract/Cargo.lock: -------------------------------------------------------------------------------- 1 | # This file is automatically @generated by Cargo. 2 | # It is not intended for manual editing. 3 | version = 3 4 | 5 | [[package]] 6 | name = "Inflector" 7 | version = "0.11.4" 8 | source = "registry+https://github.com/rust-lang/crates.io-index" 9 | checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" 10 | dependencies = [ 11 | "lazy_static", 12 | "regex", 13 | ] 14 | 15 | [[package]] 16 | name = "addr2line" 17 | version = "0.21.0" 18 | source = "registry+https://github.com/rust-lang/crates.io-index" 19 | checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" 20 | dependencies = [ 21 | "gimli", 22 | ] 23 | 24 | [[package]] 25 | name = "adler" 26 | version = "1.0.2" 27 | source = "registry+https://github.com/rust-lang/crates.io-index" 28 | checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" 29 | 30 | [[package]] 31 | name = "aes" 32 | version = "0.8.3" 33 | source = "registry+https://github.com/rust-lang/crates.io-index" 34 | checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" 35 | dependencies = [ 36 | "cfg-if", 37 | "cipher", 38 | "cpufeatures", 39 | ] 40 | 41 | [[package]] 42 | name = "ahash" 43 | version = "0.8.7" 44 | source = "registry+https://github.com/rust-lang/crates.io-index" 45 | checksum = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01" 46 | dependencies = [ 47 | "cfg-if", 48 | "once_cell", 49 | "version_check", 50 | "zerocopy", 51 | ] 52 | 53 | [[package]] 54 | name = "aho-corasick" 55 | version = "1.1.2" 56 | source = "registry+https://github.com/rust-lang/crates.io-index" 57 | checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" 58 | dependencies = [ 59 | "memchr", 60 | ] 61 | 62 | [[package]] 63 | name = "allocator-api2" 64 | version = "0.2.16" 65 | source = "registry+https://github.com/rust-lang/crates.io-index" 66 | checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" 67 | 68 | [[package]] 69 | name = "android-tzdata" 70 | version = "0.1.1" 71 | source = "registry+https://github.com/rust-lang/crates.io-index" 72 | checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" 73 | 74 | [[package]] 75 | name = "android_system_properties" 76 | version = "0.1.5" 77 | source = "registry+https://github.com/rust-lang/crates.io-index" 78 | checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" 79 | dependencies = [ 80 | "libc", 81 | ] 82 | 83 | [[package]] 84 | name = "anstream" 85 | version = "0.6.5" 86 | source = "registry+https://github.com/rust-lang/crates.io-index" 87 | checksum = "d664a92ecae85fd0a7392615844904654d1d5f5514837f471ddef4a057aba1b6" 88 | dependencies = [ 89 | "anstyle", 90 | "anstyle-parse", 91 | "anstyle-query", 92 | "anstyle-wincon", 93 | "colorchoice", 94 | "utf8parse", 95 | ] 96 | 97 | [[package]] 98 | name = "anstyle" 99 | version = "1.0.4" 100 | source = "registry+https://github.com/rust-lang/crates.io-index" 101 | checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" 102 | 103 | [[package]] 104 | name = "anstyle-parse" 105 | version = "0.2.3" 106 | source = "registry+https://github.com/rust-lang/crates.io-index" 107 | checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" 108 | dependencies = [ 109 | "utf8parse", 110 | ] 111 | 112 | [[package]] 113 | name = "anstyle-query" 114 | version = "1.0.2" 115 | source = "registry+https://github.com/rust-lang/crates.io-index" 116 | checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" 117 | dependencies = [ 118 | "windows-sys 0.52.0", 119 | ] 120 | 121 | [[package]] 122 | name = "anstyle-wincon" 123 | version = "3.0.2" 124 | source = "registry+https://github.com/rust-lang/crates.io-index" 125 | checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" 126 | dependencies = [ 127 | "anstyle", 128 | "windows-sys 0.52.0", 129 | ] 130 | 131 | [[package]] 132 | name = "anyhow" 133 | version = "1.0.79" 134 | source = "registry+https://github.com/rust-lang/crates.io-index" 135 | checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" 136 | 137 | [[package]] 138 | name = "arrayvec" 139 | version = "0.7.4" 140 | source = "registry+https://github.com/rust-lang/crates.io-index" 141 | checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" 142 | 143 | [[package]] 144 | name = "ascii" 145 | version = "0.9.3" 146 | source = "registry+https://github.com/rust-lang/crates.io-index" 147 | checksum = "eab1c04a571841102f5345a8fc0f6bb3d31c315dec879b5c6e42e40ce7ffa34e" 148 | 149 | [[package]] 150 | name = "async-graphql" 151 | version = "4.0.16" 152 | source = "registry+https://github.com/rust-lang/crates.io-index" 153 | checksum = "d9ed522678d412d77effe47b3c82314ac36952a35e6e852093dd48287c421f80" 154 | dependencies = [ 155 | "async-graphql-derive", 156 | "async-graphql-parser", 157 | "async-graphql-value", 158 | "async-stream", 159 | "async-trait", 160 | "base64 0.13.1", 161 | "bytes", 162 | "fnv", 163 | "futures-util", 164 | "http", 165 | "indexmap 1.9.3", 166 | "mime", 167 | "multer", 168 | "num-traits", 169 | "once_cell", 170 | "pin-project-lite", 171 | "regex", 172 | "serde", 173 | "serde_json", 174 | "serde_urlencoded", 175 | "static_assertions", 176 | "tempfile", 177 | "thiserror", 178 | "tracing", 179 | "tracing-futures", 180 | ] 181 | 182 | [[package]] 183 | name = "async-graphql-derive" 184 | version = "4.0.16" 185 | source = "registry+https://github.com/rust-lang/crates.io-index" 186 | checksum = "c121a894495d7d3fc3d4e15e0a9843e422e4d1d9e3c514d8062a1c94b35b005d" 187 | dependencies = [ 188 | "Inflector", 189 | "async-graphql-parser", 190 | "darling 0.14.4", 191 | "proc-macro-crate 1.3.1", 192 | "proc-macro2", 193 | "quote", 194 | "syn 1.0.109", 195 | "thiserror", 196 | ] 197 | 198 | [[package]] 199 | name = "async-graphql-parser" 200 | version = "4.0.16" 201 | source = "registry+https://github.com/rust-lang/crates.io-index" 202 | checksum = "6b6c386f398145c6180206c1869c2279f5a3d45db5be4e0266148c6ac5c6ad68" 203 | dependencies = [ 204 | "async-graphql-value", 205 | "pest", 206 | "serde", 207 | "serde_json", 208 | ] 209 | 210 | [[package]] 211 | name = "async-graphql-value" 212 | version = "4.0.16" 213 | source = "registry+https://github.com/rust-lang/crates.io-index" 214 | checksum = "7a941b499fead4a3fb5392cabf42446566d18c86313f69f2deab69560394d65f" 215 | dependencies = [ 216 | "bytes", 217 | "indexmap 1.9.3", 218 | "serde", 219 | "serde_json", 220 | ] 221 | 222 | [[package]] 223 | name = "async-stream" 224 | version = "0.3.5" 225 | source = "registry+https://github.com/rust-lang/crates.io-index" 226 | checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51" 227 | dependencies = [ 228 | "async-stream-impl", 229 | "futures-core", 230 | "pin-project-lite", 231 | ] 232 | 233 | [[package]] 234 | name = "async-stream-impl" 235 | version = "0.3.5" 236 | source = "registry+https://github.com/rust-lang/crates.io-index" 237 | checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" 238 | dependencies = [ 239 | "proc-macro2", 240 | "quote", 241 | "syn 2.0.46", 242 | ] 243 | 244 | [[package]] 245 | name = "async-trait" 246 | version = "0.1.77" 247 | source = "registry+https://github.com/rust-lang/crates.io-index" 248 | checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9" 249 | dependencies = [ 250 | "proc-macro2", 251 | "quote", 252 | "syn 2.0.46", 253 | ] 254 | 255 | [[package]] 256 | name = "atomic-polyfill" 257 | version = "1.0.3" 258 | source = "registry+https://github.com/rust-lang/crates.io-index" 259 | checksum = "8cf2bce30dfe09ef0bfaef228b9d414faaf7e563035494d7fe092dba54b300f4" 260 | dependencies = [ 261 | "critical-section", 262 | ] 263 | 264 | [[package]] 265 | name = "autocfg" 266 | version = "1.1.0" 267 | source = "registry+https://github.com/rust-lang/crates.io-index" 268 | checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 269 | 270 | [[package]] 271 | name = "axum" 272 | version = "0.5.17" 273 | source = "registry+https://github.com/rust-lang/crates.io-index" 274 | checksum = "acee9fd5073ab6b045a275b3e709c163dd36c90685219cb21804a147b58dba43" 275 | dependencies = [ 276 | "async-trait", 277 | "axum-core", 278 | "bitflags 1.3.2", 279 | "bytes", 280 | "futures-util", 281 | "http", 282 | "http-body", 283 | "hyper", 284 | "itoa", 285 | "matchit", 286 | "memchr", 287 | "mime", 288 | "percent-encoding", 289 | "pin-project-lite", 290 | "serde", 291 | "serde_json", 292 | "serde_urlencoded", 293 | "sync_wrapper", 294 | "tokio", 295 | "tower", 296 | "tower-http", 297 | "tower-layer", 298 | "tower-service", 299 | ] 300 | 301 | [[package]] 302 | name = "axum-core" 303 | version = "0.2.9" 304 | source = "registry+https://github.com/rust-lang/crates.io-index" 305 | checksum = "37e5939e02c56fecd5c017c37df4238c0a839fa76b7f97acdd7efb804fd181cc" 306 | dependencies = [ 307 | "async-trait", 308 | "bytes", 309 | "futures-util", 310 | "http", 311 | "http-body", 312 | "mime", 313 | "tower-layer", 314 | "tower-service", 315 | ] 316 | 317 | [[package]] 318 | name = "backtrace" 319 | version = "0.3.69" 320 | source = "registry+https://github.com/rust-lang/crates.io-index" 321 | checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" 322 | dependencies = [ 323 | "addr2line", 324 | "cc", 325 | "cfg-if", 326 | "libc", 327 | "miniz_oxide", 328 | "object", 329 | "rustc-demangle", 330 | "serde", 331 | ] 332 | 333 | [[package]] 334 | name = "base16ct" 335 | version = "0.2.0" 336 | source = "registry+https://github.com/rust-lang/crates.io-index" 337 | checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" 338 | 339 | [[package]] 340 | name = "base64" 341 | version = "0.13.1" 342 | source = "registry+https://github.com/rust-lang/crates.io-index" 343 | checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" 344 | 345 | [[package]] 346 | name = "base64" 347 | version = "0.21.5" 348 | source = "registry+https://github.com/rust-lang/crates.io-index" 349 | checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" 350 | 351 | [[package]] 352 | name = "base64ct" 353 | version = "1.6.0" 354 | source = "registry+https://github.com/rust-lang/crates.io-index" 355 | checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" 356 | 357 | [[package]] 358 | name = "bech32" 359 | version = "0.9.1" 360 | source = "registry+https://github.com/rust-lang/crates.io-index" 361 | checksum = "d86b93f97252c47b41663388e6d155714a9d0c398b99f1005cbc5f978b29f445" 362 | 363 | [[package]] 364 | name = "bitflags" 365 | version = "1.3.2" 366 | source = "registry+https://github.com/rust-lang/crates.io-index" 367 | checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 368 | 369 | [[package]] 370 | name = "bitflags" 371 | version = "2.4.1" 372 | source = "registry+https://github.com/rust-lang/crates.io-index" 373 | checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" 374 | dependencies = [ 375 | "serde", 376 | ] 377 | 378 | [[package]] 379 | name = "bitvec" 380 | version = "1.0.1" 381 | source = "registry+https://github.com/rust-lang/crates.io-index" 382 | checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" 383 | dependencies = [ 384 | "funty", 385 | "radium", 386 | "tap", 387 | "wyz", 388 | ] 389 | 390 | [[package]] 391 | name = "block-buffer" 392 | version = "0.10.4" 393 | source = "registry+https://github.com/rust-lang/crates.io-index" 394 | checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 395 | dependencies = [ 396 | "generic-array", 397 | ] 398 | 399 | [[package]] 400 | name = "bs58" 401 | version = "0.5.0" 402 | source = "registry+https://github.com/rust-lang/crates.io-index" 403 | checksum = "f5353f36341f7451062466f0b755b96ac3a9547e4d7f6b70d603fc721a7d7896" 404 | dependencies = [ 405 | "sha2", 406 | "tinyvec", 407 | ] 408 | 409 | [[package]] 410 | name = "bumpalo" 411 | version = "3.14.0" 412 | source = "registry+https://github.com/rust-lang/crates.io-index" 413 | checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" 414 | 415 | [[package]] 416 | name = "byte-slice-cast" 417 | version = "1.2.2" 418 | source = "registry+https://github.com/rust-lang/crates.io-index" 419 | checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" 420 | 421 | [[package]] 422 | name = "byteorder" 423 | version = "1.5.0" 424 | source = "registry+https://github.com/rust-lang/crates.io-index" 425 | checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" 426 | 427 | [[package]] 428 | name = "bytes" 429 | version = "1.5.0" 430 | source = "registry+https://github.com/rust-lang/crates.io-index" 431 | checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" 432 | dependencies = [ 433 | "serde", 434 | ] 435 | 436 | [[package]] 437 | name = "cc" 438 | version = "1.0.83" 439 | source = "registry+https://github.com/rust-lang/crates.io-index" 440 | checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" 441 | dependencies = [ 442 | "libc", 443 | ] 444 | 445 | [[package]] 446 | name = "cfg-if" 447 | version = "1.0.0" 448 | source = "registry+https://github.com/rust-lang/crates.io-index" 449 | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 450 | 451 | [[package]] 452 | name = "chrono" 453 | version = "0.4.31" 454 | source = "registry+https://github.com/rust-lang/crates.io-index" 455 | checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" 456 | dependencies = [ 457 | "android-tzdata", 458 | "iana-time-zone", 459 | "js-sys", 460 | "num-traits", 461 | "wasm-bindgen", 462 | "windows-targets 0.48.5", 463 | ] 464 | 465 | [[package]] 466 | name = "cipher" 467 | version = "0.4.4" 468 | source = "registry+https://github.com/rust-lang/crates.io-index" 469 | checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" 470 | dependencies = [ 471 | "crypto-common", 472 | "inout", 473 | ] 474 | 475 | [[package]] 476 | name = "clap" 477 | version = "4.4.12" 478 | source = "registry+https://github.com/rust-lang/crates.io-index" 479 | checksum = "dcfab8ba68f3668e89f6ff60f5b205cea56aa7b769451a59f34b8682f51c056d" 480 | dependencies = [ 481 | "clap_builder", 482 | "clap_derive", 483 | ] 484 | 485 | [[package]] 486 | name = "clap_builder" 487 | version = "4.4.12" 488 | source = "registry+https://github.com/rust-lang/crates.io-index" 489 | checksum = "fb7fb5e4e979aec3be7791562fcba452f94ad85e954da024396433e0e25a79e9" 490 | dependencies = [ 491 | "anstream", 492 | "anstyle", 493 | "clap_lex", 494 | "strsim", 495 | ] 496 | 497 | [[package]] 498 | name = "clap_derive" 499 | version = "4.4.7" 500 | source = "registry+https://github.com/rust-lang/crates.io-index" 501 | checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" 502 | dependencies = [ 503 | "heck", 504 | "proc-macro2", 505 | "quote", 506 | "syn 2.0.46", 507 | ] 508 | 509 | [[package]] 510 | name = "clap_lex" 511 | version = "0.6.0" 512 | source = "registry+https://github.com/rust-lang/crates.io-index" 513 | checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" 514 | 515 | [[package]] 516 | name = "cobs" 517 | version = "0.2.3" 518 | source = "registry+https://github.com/rust-lang/crates.io-index" 519 | checksum = "67ba02a97a2bd10f4b59b25c7973101c79642302776489e030cd13cdab09ed15" 520 | 521 | [[package]] 522 | name = "coins-bip32" 523 | version = "0.8.7" 524 | source = "registry+https://github.com/rust-lang/crates.io-index" 525 | checksum = "3b6be4a5df2098cd811f3194f64ddb96c267606bffd9689ac7b0160097b01ad3" 526 | dependencies = [ 527 | "bs58", 528 | "coins-core", 529 | "digest", 530 | "hmac", 531 | "k256", 532 | "serde", 533 | "sha2", 534 | "thiserror", 535 | ] 536 | 537 | [[package]] 538 | name = "coins-bip39" 539 | version = "0.8.7" 540 | source = "registry+https://github.com/rust-lang/crates.io-index" 541 | checksum = "3db8fba409ce3dc04f7d804074039eb68b960b0829161f8e06c95fea3f122528" 542 | dependencies = [ 543 | "bitvec", 544 | "coins-bip32", 545 | "hmac", 546 | "once_cell", 547 | "pbkdf2 0.12.2", 548 | "rand", 549 | "sha2", 550 | "thiserror", 551 | ] 552 | 553 | [[package]] 554 | name = "coins-core" 555 | version = "0.8.7" 556 | source = "registry+https://github.com/rust-lang/crates.io-index" 557 | checksum = "5286a0843c21f8367f7be734f89df9b822e0321d8bcce8d6e735aadff7d74979" 558 | dependencies = [ 559 | "base64 0.21.5", 560 | "bech32", 561 | "bs58", 562 | "digest", 563 | "generic-array", 564 | "hex", 565 | "ripemd", 566 | "serde", 567 | "serde_derive", 568 | "sha2", 569 | "sha3", 570 | "thiserror", 571 | ] 572 | 573 | [[package]] 574 | name = "colorchoice" 575 | version = "1.0.0" 576 | source = "registry+https://github.com/rust-lang/crates.io-index" 577 | checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" 578 | 579 | [[package]] 580 | name = "combine" 581 | version = "3.8.1" 582 | source = "registry+https://github.com/rust-lang/crates.io-index" 583 | checksum = "da3da6baa321ec19e1cc41d31bf599f00c783d0517095cdaf0332e3fe8d20680" 584 | dependencies = [ 585 | "ascii", 586 | "byteorder", 587 | "either", 588 | "memchr", 589 | "unreachable", 590 | ] 591 | 592 | [[package]] 593 | name = "const-oid" 594 | version = "0.9.6" 595 | source = "registry+https://github.com/rust-lang/crates.io-index" 596 | checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" 597 | 598 | [[package]] 599 | name = "convert_case" 600 | version = "0.4.0" 601 | source = "registry+https://github.com/rust-lang/crates.io-index" 602 | checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" 603 | 604 | [[package]] 605 | name = "cookie" 606 | version = "0.16.2" 607 | source = "registry+https://github.com/rust-lang/crates.io-index" 608 | checksum = "e859cd57d0710d9e06c381b550c06e76992472a8c6d527aecd2fc673dcc231fb" 609 | dependencies = [ 610 | "percent-encoding", 611 | "time", 612 | "version_check", 613 | ] 614 | 615 | [[package]] 616 | name = "cookie_store" 617 | version = "0.16.2" 618 | source = "registry+https://github.com/rust-lang/crates.io-index" 619 | checksum = "d606d0fba62e13cf04db20536c05cb7f13673c161cb47a47a82b9b9e7d3f1daa" 620 | dependencies = [ 621 | "cookie", 622 | "idna 0.2.3", 623 | "log", 624 | "publicsuffix", 625 | "serde", 626 | "serde_derive", 627 | "serde_json", 628 | "time", 629 | "url", 630 | ] 631 | 632 | [[package]] 633 | name = "core-foundation" 634 | version = "0.9.4" 635 | source = "registry+https://github.com/rust-lang/crates.io-index" 636 | checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" 637 | dependencies = [ 638 | "core-foundation-sys", 639 | "libc", 640 | ] 641 | 642 | [[package]] 643 | name = "core-foundation-sys" 644 | version = "0.8.6" 645 | source = "registry+https://github.com/rust-lang/crates.io-index" 646 | checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" 647 | 648 | [[package]] 649 | name = "counter" 650 | version = "0.5.7" 651 | source = "registry+https://github.com/rust-lang/crates.io-index" 652 | checksum = "2d458e66999348f56fd3ffcfbb7f7951542075ca8359687c703de6500c1ddccd" 653 | dependencies = [ 654 | "num-traits", 655 | ] 656 | 657 | [[package]] 658 | name = "counter-contract" 659 | version = "0.1.0" 660 | dependencies = [ 661 | "fuels", 662 | "tokio", 663 | ] 664 | 665 | [[package]] 666 | name = "cpufeatures" 667 | version = "0.2.11" 668 | source = "registry+https://github.com/rust-lang/crates.io-index" 669 | checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" 670 | dependencies = [ 671 | "libc", 672 | ] 673 | 674 | [[package]] 675 | name = "critical-section" 676 | version = "1.1.2" 677 | source = "registry+https://github.com/rust-lang/crates.io-index" 678 | checksum = "7059fff8937831a9ae6f0fe4d658ffabf58f2ca96aa9dec1c889f936f705f216" 679 | 680 | [[package]] 681 | name = "crossbeam-deque" 682 | version = "0.8.4" 683 | source = "registry+https://github.com/rust-lang/crates.io-index" 684 | checksum = "fca89a0e215bab21874660c67903c5f143333cab1da83d041c7ded6053774751" 685 | dependencies = [ 686 | "cfg-if", 687 | "crossbeam-epoch", 688 | "crossbeam-utils", 689 | ] 690 | 691 | [[package]] 692 | name = "crossbeam-epoch" 693 | version = "0.9.17" 694 | source = "registry+https://github.com/rust-lang/crates.io-index" 695 | checksum = "0e3681d554572a651dda4186cd47240627c3d0114d45a95f6ad27f2f22e7548d" 696 | dependencies = [ 697 | "autocfg", 698 | "cfg-if", 699 | "crossbeam-utils", 700 | ] 701 | 702 | [[package]] 703 | name = "crossbeam-utils" 704 | version = "0.8.18" 705 | source = "registry+https://github.com/rust-lang/crates.io-index" 706 | checksum = "c3a430a770ebd84726f584a90ee7f020d28db52c6d02138900f22341f866d39c" 707 | dependencies = [ 708 | "cfg-if", 709 | ] 710 | 711 | [[package]] 712 | name = "crunchy" 713 | version = "0.2.2" 714 | source = "registry+https://github.com/rust-lang/crates.io-index" 715 | checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" 716 | 717 | [[package]] 718 | name = "crypto-bigint" 719 | version = "0.5.5" 720 | source = "registry+https://github.com/rust-lang/crates.io-index" 721 | checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" 722 | dependencies = [ 723 | "generic-array", 724 | "rand_core", 725 | "subtle", 726 | "zeroize", 727 | ] 728 | 729 | [[package]] 730 | name = "crypto-common" 731 | version = "0.1.6" 732 | source = "registry+https://github.com/rust-lang/crates.io-index" 733 | checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 734 | dependencies = [ 735 | "generic-array", 736 | "typenum", 737 | ] 738 | 739 | [[package]] 740 | name = "ct-logs" 741 | version = "0.8.0" 742 | source = "registry+https://github.com/rust-lang/crates.io-index" 743 | checksum = "c1a816186fa68d9e426e3cb4ae4dff1fcd8e4a2c34b781bf7a822574a0d0aac8" 744 | dependencies = [ 745 | "sct 0.6.1", 746 | ] 747 | 748 | [[package]] 749 | name = "ctr" 750 | version = "0.9.2" 751 | source = "registry+https://github.com/rust-lang/crates.io-index" 752 | checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" 753 | dependencies = [ 754 | "cipher", 755 | ] 756 | 757 | [[package]] 758 | name = "curve25519-dalek" 759 | version = "4.1.1" 760 | source = "registry+https://github.com/rust-lang/crates.io-index" 761 | checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" 762 | dependencies = [ 763 | "cfg-if", 764 | "cpufeatures", 765 | "curve25519-dalek-derive", 766 | "digest", 767 | "fiat-crypto", 768 | "platforms", 769 | "rustc_version", 770 | "subtle", 771 | ] 772 | 773 | [[package]] 774 | name = "curve25519-dalek-derive" 775 | version = "0.1.1" 776 | source = "registry+https://github.com/rust-lang/crates.io-index" 777 | checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" 778 | dependencies = [ 779 | "proc-macro2", 780 | "quote", 781 | "syn 2.0.46", 782 | ] 783 | 784 | [[package]] 785 | name = "cynic" 786 | version = "2.2.8" 787 | source = "registry+https://github.com/rust-lang/crates.io-index" 788 | checksum = "b1afa0591b1021e427e548a1f0f147fe6168f6c7c7f7006bace77f28856051b8" 789 | dependencies = [ 790 | "cynic-proc-macros", 791 | "reqwest", 792 | "serde", 793 | "serde_json", 794 | "static_assertions", 795 | "thiserror", 796 | ] 797 | 798 | [[package]] 799 | name = "cynic-codegen" 800 | version = "2.2.8" 801 | source = "registry+https://github.com/rust-lang/crates.io-index" 802 | checksum = "70a1bb05cc554f46079d0fa72abe995a2d32d0737d410a41da75b31e3f7ef768" 803 | dependencies = [ 804 | "counter", 805 | "darling 0.13.4", 806 | "graphql-parser", 807 | "once_cell", 808 | "proc-macro2", 809 | "quote", 810 | "strsim", 811 | "syn 1.0.109", 812 | ] 813 | 814 | [[package]] 815 | name = "cynic-proc-macros" 816 | version = "2.2.8" 817 | source = "registry+https://github.com/rust-lang/crates.io-index" 818 | checksum = "aa595c4ed7a5374e0e58c5c34f9d93bd6b7d45062790963bd4b4c3c0bf520c4d" 819 | dependencies = [ 820 | "cynic-codegen", 821 | "syn 1.0.109", 822 | ] 823 | 824 | [[package]] 825 | name = "darling" 826 | version = "0.13.4" 827 | source = "registry+https://github.com/rust-lang/crates.io-index" 828 | checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c" 829 | dependencies = [ 830 | "darling_core 0.13.4", 831 | "darling_macro 0.13.4", 832 | ] 833 | 834 | [[package]] 835 | name = "darling" 836 | version = "0.14.4" 837 | source = "registry+https://github.com/rust-lang/crates.io-index" 838 | checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" 839 | dependencies = [ 840 | "darling_core 0.14.4", 841 | "darling_macro 0.14.4", 842 | ] 843 | 844 | [[package]] 845 | name = "darling_core" 846 | version = "0.13.4" 847 | source = "registry+https://github.com/rust-lang/crates.io-index" 848 | checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" 849 | dependencies = [ 850 | "fnv", 851 | "ident_case", 852 | "proc-macro2", 853 | "quote", 854 | "strsim", 855 | "syn 1.0.109", 856 | ] 857 | 858 | [[package]] 859 | name = "darling_core" 860 | version = "0.14.4" 861 | source = "registry+https://github.com/rust-lang/crates.io-index" 862 | checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" 863 | dependencies = [ 864 | "fnv", 865 | "ident_case", 866 | "proc-macro2", 867 | "quote", 868 | "strsim", 869 | "syn 1.0.109", 870 | ] 871 | 872 | [[package]] 873 | name = "darling_macro" 874 | version = "0.13.4" 875 | source = "registry+https://github.com/rust-lang/crates.io-index" 876 | checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" 877 | dependencies = [ 878 | "darling_core 0.13.4", 879 | "quote", 880 | "syn 1.0.109", 881 | ] 882 | 883 | [[package]] 884 | name = "darling_macro" 885 | version = "0.14.4" 886 | source = "registry+https://github.com/rust-lang/crates.io-index" 887 | checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" 888 | dependencies = [ 889 | "darling_core 0.14.4", 890 | "quote", 891 | "syn 1.0.109", 892 | ] 893 | 894 | [[package]] 895 | name = "der" 896 | version = "0.7.8" 897 | source = "registry+https://github.com/rust-lang/crates.io-index" 898 | checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" 899 | dependencies = [ 900 | "const-oid", 901 | "zeroize", 902 | ] 903 | 904 | [[package]] 905 | name = "deranged" 906 | version = "0.3.11" 907 | source = "registry+https://github.com/rust-lang/crates.io-index" 908 | checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" 909 | dependencies = [ 910 | "powerfmt", 911 | ] 912 | 913 | [[package]] 914 | name = "derivative" 915 | version = "2.2.0" 916 | source = "registry+https://github.com/rust-lang/crates.io-index" 917 | checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" 918 | dependencies = [ 919 | "proc-macro2", 920 | "quote", 921 | "syn 1.0.109", 922 | ] 923 | 924 | [[package]] 925 | name = "derive_more" 926 | version = "0.99.17" 927 | source = "registry+https://github.com/rust-lang/crates.io-index" 928 | checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" 929 | dependencies = [ 930 | "convert_case", 931 | "proc-macro2", 932 | "quote", 933 | "rustc_version", 934 | "syn 1.0.109", 935 | ] 936 | 937 | [[package]] 938 | name = "digest" 939 | version = "0.10.7" 940 | source = "registry+https://github.com/rust-lang/crates.io-index" 941 | checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" 942 | dependencies = [ 943 | "block-buffer", 944 | "const-oid", 945 | "crypto-common", 946 | "subtle", 947 | ] 948 | 949 | [[package]] 950 | name = "dtoa" 951 | version = "1.0.9" 952 | source = "registry+https://github.com/rust-lang/crates.io-index" 953 | checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" 954 | 955 | [[package]] 956 | name = "ecdsa" 957 | version = "0.16.9" 958 | source = "registry+https://github.com/rust-lang/crates.io-index" 959 | checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" 960 | dependencies = [ 961 | "der", 962 | "digest", 963 | "elliptic-curve", 964 | "rfc6979", 965 | "signature", 966 | "spki", 967 | ] 968 | 969 | [[package]] 970 | name = "ed25519" 971 | version = "2.2.3" 972 | source = "registry+https://github.com/rust-lang/crates.io-index" 973 | checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" 974 | dependencies = [ 975 | "signature", 976 | ] 977 | 978 | [[package]] 979 | name = "ed25519-dalek" 980 | version = "2.1.0" 981 | source = "registry+https://github.com/rust-lang/crates.io-index" 982 | checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" 983 | dependencies = [ 984 | "curve25519-dalek", 985 | "ed25519", 986 | "sha2", 987 | "subtle", 988 | ] 989 | 990 | [[package]] 991 | name = "either" 992 | version = "1.9.0" 993 | source = "registry+https://github.com/rust-lang/crates.io-index" 994 | checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" 995 | 996 | [[package]] 997 | name = "elliptic-curve" 998 | version = "0.13.8" 999 | source = "registry+https://github.com/rust-lang/crates.io-index" 1000 | checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" 1001 | dependencies = [ 1002 | "base16ct", 1003 | "crypto-bigint", 1004 | "digest", 1005 | "ff", 1006 | "generic-array", 1007 | "group", 1008 | "pkcs8", 1009 | "rand_core", 1010 | "sec1", 1011 | "subtle", 1012 | "zeroize", 1013 | ] 1014 | 1015 | [[package]] 1016 | name = "embedded-io" 1017 | version = "0.4.0" 1018 | source = "registry+https://github.com/rust-lang/crates.io-index" 1019 | checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" 1020 | 1021 | [[package]] 1022 | name = "encoding_rs" 1023 | version = "0.8.33" 1024 | source = "registry+https://github.com/rust-lang/crates.io-index" 1025 | checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" 1026 | dependencies = [ 1027 | "cfg-if", 1028 | ] 1029 | 1030 | [[package]] 1031 | name = "enum-iterator" 1032 | version = "1.4.1" 1033 | source = "registry+https://github.com/rust-lang/crates.io-index" 1034 | checksum = "7add3873b5dd076766ee79c8e406ad1a472c385476b9e38849f8eec24f1be689" 1035 | dependencies = [ 1036 | "enum-iterator-derive", 1037 | ] 1038 | 1039 | [[package]] 1040 | name = "enum-iterator-derive" 1041 | version = "1.2.1" 1042 | source = "registry+https://github.com/rust-lang/crates.io-index" 1043 | checksum = "eecf8589574ce9b895052fa12d69af7a233f99e6107f5cb8dd1044f2a17bfdcb" 1044 | dependencies = [ 1045 | "proc-macro2", 1046 | "quote", 1047 | "syn 2.0.46", 1048 | ] 1049 | 1050 | [[package]] 1051 | name = "equivalent" 1052 | version = "1.0.1" 1053 | source = "registry+https://github.com/rust-lang/crates.io-index" 1054 | checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" 1055 | 1056 | [[package]] 1057 | name = "errno" 1058 | version = "0.3.8" 1059 | source = "registry+https://github.com/rust-lang/crates.io-index" 1060 | checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" 1061 | dependencies = [ 1062 | "libc", 1063 | "windows-sys 0.52.0", 1064 | ] 1065 | 1066 | [[package]] 1067 | name = "eth-keystore" 1068 | version = "0.5.0" 1069 | source = "registry+https://github.com/rust-lang/crates.io-index" 1070 | checksum = "1fda3bf123be441da5260717e0661c25a2fd9cb2b2c1d20bf2e05580047158ab" 1071 | dependencies = [ 1072 | "aes", 1073 | "ctr", 1074 | "digest", 1075 | "hex", 1076 | "hmac", 1077 | "pbkdf2 0.11.0", 1078 | "rand", 1079 | "scrypt", 1080 | "serde", 1081 | "serde_json", 1082 | "sha2", 1083 | "sha3", 1084 | "thiserror", 1085 | "uuid 0.8.2", 1086 | ] 1087 | 1088 | [[package]] 1089 | name = "ethnum" 1090 | version = "1.5.0" 1091 | source = "registry+https://github.com/rust-lang/crates.io-index" 1092 | checksum = "b90ca2580b73ab6a1f724b76ca11ab632df820fd6040c336200d2c1df7b3c82c" 1093 | 1094 | [[package]] 1095 | name = "eventsource-client" 1096 | version = "0.10.2" 1097 | source = "registry+https://github.com/rust-lang/crates.io-index" 1098 | checksum = "9146112ee3ce031aa5aebe3e049e10b1d353b9c7630cc6be488c2c62cc5d9c42" 1099 | dependencies = [ 1100 | "futures", 1101 | "hyper", 1102 | "hyper-rustls 0.22.1", 1103 | "hyper-timeout", 1104 | "log", 1105 | "pin-project", 1106 | "tokio", 1107 | ] 1108 | 1109 | [[package]] 1110 | name = "fastrand" 1111 | version = "2.0.1" 1112 | source = "registry+https://github.com/rust-lang/crates.io-index" 1113 | checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" 1114 | 1115 | [[package]] 1116 | name = "ff" 1117 | version = "0.13.0" 1118 | source = "registry+https://github.com/rust-lang/crates.io-index" 1119 | checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" 1120 | dependencies = [ 1121 | "rand_core", 1122 | "subtle", 1123 | ] 1124 | 1125 | [[package]] 1126 | name = "fiat-crypto" 1127 | version = "0.2.5" 1128 | source = "registry+https://github.com/rust-lang/crates.io-index" 1129 | checksum = "27573eac26f4dd11e2b1916c3fe1baa56407c83c71a773a8ba17ec0bca03b6b7" 1130 | 1131 | [[package]] 1132 | name = "fixed-hash" 1133 | version = "0.8.0" 1134 | source = "registry+https://github.com/rust-lang/crates.io-index" 1135 | checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" 1136 | dependencies = [ 1137 | "byteorder", 1138 | "rand", 1139 | "rustc-hex", 1140 | "static_assertions", 1141 | ] 1142 | 1143 | [[package]] 1144 | name = "fnv" 1145 | version = "1.0.7" 1146 | source = "registry+https://github.com/rust-lang/crates.io-index" 1147 | checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 1148 | 1149 | [[package]] 1150 | name = "form_urlencoded" 1151 | version = "1.2.1" 1152 | source = "registry+https://github.com/rust-lang/crates.io-index" 1153 | checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" 1154 | dependencies = [ 1155 | "percent-encoding", 1156 | ] 1157 | 1158 | [[package]] 1159 | name = "fuel-abi-types" 1160 | version = "0.3.0" 1161 | source = "registry+https://github.com/rust-lang/crates.io-index" 1162 | checksum = "f8118789261e77d67569859a06a886d53dbf7bd00ea23a18a2dfae26a1f5be25" 1163 | dependencies = [ 1164 | "itertools 0.10.5", 1165 | "lazy_static", 1166 | "proc-macro2", 1167 | "quote", 1168 | "regex", 1169 | "serde", 1170 | "serde_json", 1171 | "syn 2.0.46", 1172 | "thiserror", 1173 | ] 1174 | 1175 | [[package]] 1176 | name = "fuel-asm" 1177 | version = "0.43.2" 1178 | source = "registry+https://github.com/rust-lang/crates.io-index" 1179 | checksum = "1ea884860261efdc7300b63db7972cb0e08e8f5379495ad7cdd2bdb7c0cc4623" 1180 | dependencies = [ 1181 | "bitflags 2.4.1", 1182 | "fuel-types", 1183 | "serde", 1184 | "strum", 1185 | ] 1186 | 1187 | [[package]] 1188 | name = "fuel-core" 1189 | version = "0.21.0" 1190 | source = "registry+https://github.com/rust-lang/crates.io-index" 1191 | checksum = "c545fd12c8b5bbc495fd37a4fdf2548450b07b3fb26ac8ea20a10436c311e1d0" 1192 | dependencies = [ 1193 | "anyhow", 1194 | "async-graphql", 1195 | "async-trait", 1196 | "axum", 1197 | "clap", 1198 | "derive_more", 1199 | "enum-iterator", 1200 | "fuel-core-chain-config", 1201 | "fuel-core-consensus-module", 1202 | "fuel-core-database", 1203 | "fuel-core-executor", 1204 | "fuel-core-importer", 1205 | "fuel-core-metrics", 1206 | "fuel-core-poa", 1207 | "fuel-core-producer", 1208 | "fuel-core-services", 1209 | "fuel-core-storage", 1210 | "fuel-core-txpool", 1211 | "fuel-core-types", 1212 | "futures", 1213 | "hex", 1214 | "hyper", 1215 | "itertools 0.10.5", 1216 | "parking_lot", 1217 | "postcard", 1218 | "primitive-types", 1219 | "rand", 1220 | "serde", 1221 | "serde_json", 1222 | "strum", 1223 | "strum_macros", 1224 | "thiserror", 1225 | "tokio", 1226 | "tokio-stream", 1227 | "tower-http", 1228 | "tracing", 1229 | "uuid 1.6.1", 1230 | ] 1231 | 1232 | [[package]] 1233 | name = "fuel-core-chain-config" 1234 | version = "0.21.0" 1235 | source = "registry+https://github.com/rust-lang/crates.io-index" 1236 | checksum = "84319b8e7a3b422b0f38c6ad4abd29f48b923797b7555c3bb53151322779f9bf" 1237 | dependencies = [ 1238 | "anyhow", 1239 | "bech32", 1240 | "fuel-core-storage", 1241 | "fuel-core-types", 1242 | "hex", 1243 | "itertools 0.10.5", 1244 | "postcard", 1245 | "serde", 1246 | "serde_json", 1247 | "serde_with 1.14.0", 1248 | "tracing", 1249 | ] 1250 | 1251 | [[package]] 1252 | name = "fuel-core-client" 1253 | version = "0.21.0" 1254 | source = "registry+https://github.com/rust-lang/crates.io-index" 1255 | checksum = "ed3555027c1362e8ff1b03783399b0baa62911ffcf4254c533f3f32c98982562" 1256 | dependencies = [ 1257 | "anyhow", 1258 | "cynic", 1259 | "derive_more", 1260 | "eventsource-client", 1261 | "fuel-core-types", 1262 | "futures", 1263 | "hex", 1264 | "hyper-rustls 0.24.2", 1265 | "itertools 0.10.5", 1266 | "reqwest", 1267 | "schemafy_lib", 1268 | "serde", 1269 | "serde_json", 1270 | "tai64", 1271 | "thiserror", 1272 | "tracing", 1273 | ] 1274 | 1275 | [[package]] 1276 | name = "fuel-core-consensus-module" 1277 | version = "0.21.0" 1278 | source = "registry+https://github.com/rust-lang/crates.io-index" 1279 | checksum = "50fd6d90df194b5970bf16681bfad9f917ff3f837e00c6538a8b95d2e0a6fdf9" 1280 | dependencies = [ 1281 | "anyhow", 1282 | "fuel-core-chain-config", 1283 | "fuel-core-poa", 1284 | "fuel-core-types", 1285 | "tokio", 1286 | ] 1287 | 1288 | [[package]] 1289 | name = "fuel-core-database" 1290 | version = "0.21.0" 1291 | source = "registry+https://github.com/rust-lang/crates.io-index" 1292 | checksum = "fb7b7cd46a2de1df8c71b4541bf19e09870965cb6ac72ee564170f9bcc8df909" 1293 | dependencies = [ 1294 | "anyhow", 1295 | "derive_more", 1296 | "fuel-core-storage", 1297 | "fuel-core-types", 1298 | ] 1299 | 1300 | [[package]] 1301 | name = "fuel-core-executor" 1302 | version = "0.21.0" 1303 | source = "registry+https://github.com/rust-lang/crates.io-index" 1304 | checksum = "f4a5ed529258ded68048806b150e190ab03dc399bdd5547096525c3419cca188" 1305 | dependencies = [ 1306 | "anyhow", 1307 | "fuel-core-chain-config", 1308 | "fuel-core-storage", 1309 | "fuel-core-types", 1310 | ] 1311 | 1312 | [[package]] 1313 | name = "fuel-core-importer" 1314 | version = "0.21.0" 1315 | source = "registry+https://github.com/rust-lang/crates.io-index" 1316 | checksum = "acd700b679be3cda7561f46778aa136ba4af1048570e116d8eb1d3e0f0a316a9" 1317 | dependencies = [ 1318 | "anyhow", 1319 | "derive_more", 1320 | "fuel-core-metrics", 1321 | "fuel-core-storage", 1322 | "fuel-core-types", 1323 | "tokio", 1324 | "tracing", 1325 | ] 1326 | 1327 | [[package]] 1328 | name = "fuel-core-metrics" 1329 | version = "0.21.0" 1330 | source = "registry+https://github.com/rust-lang/crates.io-index" 1331 | checksum = "0f87fec36f415dd9cdc2f723f018c30985bbeeadbc7e066e27fc79f3a3e2e6f3" 1332 | dependencies = [ 1333 | "axum", 1334 | "once_cell", 1335 | "pin-project-lite", 1336 | "prometheus-client 0.18.1", 1337 | "prometheus-client 0.20.0", 1338 | "regex", 1339 | "tracing", 1340 | ] 1341 | 1342 | [[package]] 1343 | name = "fuel-core-poa" 1344 | version = "0.21.0" 1345 | source = "registry+https://github.com/rust-lang/crates.io-index" 1346 | checksum = "93ef8dd121e59450d695435af4dea14d60acb41195cdd2dc64d3980aef42fbd9" 1347 | dependencies = [ 1348 | "anyhow", 1349 | "async-trait", 1350 | "fuel-core-chain-config", 1351 | "fuel-core-services", 1352 | "fuel-core-storage", 1353 | "fuel-core-types", 1354 | "tokio", 1355 | "tokio-stream", 1356 | "tracing", 1357 | ] 1358 | 1359 | [[package]] 1360 | name = "fuel-core-producer" 1361 | version = "0.21.0" 1362 | source = "registry+https://github.com/rust-lang/crates.io-index" 1363 | checksum = "e85951fa8159a4698a6d523fc44fd3659b9db63800fcfd9619f4283a568296ce" 1364 | dependencies = [ 1365 | "anyhow", 1366 | "async-trait", 1367 | "derive_more", 1368 | "fuel-core-storage", 1369 | "fuel-core-types", 1370 | "tokio", 1371 | "tokio-rayon", 1372 | "tracing", 1373 | ] 1374 | 1375 | [[package]] 1376 | name = "fuel-core-services" 1377 | version = "0.21.0" 1378 | source = "registry+https://github.com/rust-lang/crates.io-index" 1379 | checksum = "f2a3a0ed906c332d13802209ab5839d81e464abd14307b75f58550cf0de30430" 1380 | dependencies = [ 1381 | "anyhow", 1382 | "async-trait", 1383 | "fuel-core-metrics", 1384 | "futures", 1385 | "parking_lot", 1386 | "tokio", 1387 | "tracing", 1388 | ] 1389 | 1390 | [[package]] 1391 | name = "fuel-core-storage" 1392 | version = "0.21.0" 1393 | source = "registry+https://github.com/rust-lang/crates.io-index" 1394 | checksum = "33b84df7585c184d79c342833321db43c610d38bccf913acdf526e64fd292ab2" 1395 | dependencies = [ 1396 | "anyhow", 1397 | "derive_more", 1398 | "fuel-core-types", 1399 | "fuel-vm", 1400 | ] 1401 | 1402 | [[package]] 1403 | name = "fuel-core-txpool" 1404 | version = "0.21.0" 1405 | source = "registry+https://github.com/rust-lang/crates.io-index" 1406 | checksum = "943dec1ff13cd4fcd3c0f9ae826be09de1520bab5565916ec91cb31429c59f9a" 1407 | dependencies = [ 1408 | "anyhow", 1409 | "async-trait", 1410 | "fuel-core-chain-config", 1411 | "fuel-core-metrics", 1412 | "fuel-core-services", 1413 | "fuel-core-storage", 1414 | "fuel-core-types", 1415 | "futures", 1416 | "parking_lot", 1417 | "tokio", 1418 | "tokio-rayon", 1419 | "tokio-stream", 1420 | "tracing", 1421 | ] 1422 | 1423 | [[package]] 1424 | name = "fuel-core-types" 1425 | version = "0.21.0" 1426 | source = "registry+https://github.com/rust-lang/crates.io-index" 1427 | checksum = "91b55088841f6211b3ba452687c301fee4b9d1cf52dc6fc47f940a6681336cff" 1428 | dependencies = [ 1429 | "anyhow", 1430 | "derive_more", 1431 | "fuel-vm", 1432 | "secrecy", 1433 | "serde", 1434 | "tai64", 1435 | "thiserror", 1436 | "zeroize", 1437 | ] 1438 | 1439 | [[package]] 1440 | name = "fuel-crypto" 1441 | version = "0.43.2" 1442 | source = "registry+https://github.com/rust-lang/crates.io-index" 1443 | checksum = "9e0efe99de550a5b5c12a6a4d2eadd26bc5571cfba82d0133baa2805d485ad8c" 1444 | dependencies = [ 1445 | "coins-bip32", 1446 | "coins-bip39", 1447 | "ecdsa", 1448 | "ed25519-dalek", 1449 | "fuel-types", 1450 | "k256", 1451 | "lazy_static", 1452 | "p256", 1453 | "rand", 1454 | "secp256k1", 1455 | "serde", 1456 | "sha2", 1457 | "zeroize", 1458 | ] 1459 | 1460 | [[package]] 1461 | name = "fuel-derive" 1462 | version = "0.43.2" 1463 | source = "registry+https://github.com/rust-lang/crates.io-index" 1464 | checksum = "ff58cf4d01a4fb9440c63a8764154dfd3b07c74e4b3639cce8eea77d67e63a7a" 1465 | dependencies = [ 1466 | "proc-macro2", 1467 | "quote", 1468 | "syn 2.0.46", 1469 | "synstructure", 1470 | ] 1471 | 1472 | [[package]] 1473 | name = "fuel-merkle" 1474 | version = "0.43.2" 1475 | source = "registry+https://github.com/rust-lang/crates.io-index" 1476 | checksum = "89143dd80b29dda305fbb033bc7f868834445ef6b361bf920f0077938fb6c0bc" 1477 | dependencies = [ 1478 | "derive_more", 1479 | "digest", 1480 | "fuel-storage", 1481 | "hashbrown 0.13.2", 1482 | "hex", 1483 | "serde", 1484 | "sha2", 1485 | ] 1486 | 1487 | [[package]] 1488 | name = "fuel-storage" 1489 | version = "0.43.2" 1490 | source = "registry+https://github.com/rust-lang/crates.io-index" 1491 | checksum = "901aee4b46684e483d2c04d40e5ac1b8ccda737ac5a363507b44b9eb23b0fdaa" 1492 | 1493 | [[package]] 1494 | name = "fuel-tx" 1495 | version = "0.43.2" 1496 | source = "registry+https://github.com/rust-lang/crates.io-index" 1497 | checksum = "bb1f65e363e5e9a5412cea204f2d2357043327a0c3da5482c3b38b9da045f20e" 1498 | dependencies = [ 1499 | "bitflags 2.4.1", 1500 | "derivative", 1501 | "derive_more", 1502 | "fuel-asm", 1503 | "fuel-crypto", 1504 | "fuel-merkle", 1505 | "fuel-types", 1506 | "hashbrown 0.14.3", 1507 | "itertools 0.10.5", 1508 | "rand", 1509 | "serde", 1510 | "serde_json", 1511 | "strum", 1512 | "strum_macros", 1513 | ] 1514 | 1515 | [[package]] 1516 | name = "fuel-types" 1517 | version = "0.43.2" 1518 | source = "registry+https://github.com/rust-lang/crates.io-index" 1519 | checksum = "148b59be5c54bafff692310663cbce3f097a2a7ff5533224dcfdf387578a72b0" 1520 | dependencies = [ 1521 | "fuel-derive", 1522 | "hex", 1523 | "rand", 1524 | "serde", 1525 | ] 1526 | 1527 | [[package]] 1528 | name = "fuel-vm" 1529 | version = "0.43.2" 1530 | source = "registry+https://github.com/rust-lang/crates.io-index" 1531 | checksum = "aed5ba0cde904f16cd748dc9b33e62f4b3dc5fd0a72ec867c973e687cd7347ba" 1532 | dependencies = [ 1533 | "async-trait", 1534 | "backtrace", 1535 | "bitflags 2.4.1", 1536 | "derivative", 1537 | "derive_more", 1538 | "ethnum", 1539 | "fuel-asm", 1540 | "fuel-crypto", 1541 | "fuel-merkle", 1542 | "fuel-storage", 1543 | "fuel-tx", 1544 | "fuel-types", 1545 | "hashbrown 0.14.3", 1546 | "itertools 0.10.5", 1547 | "libm", 1548 | "paste", 1549 | "percent-encoding", 1550 | "primitive-types", 1551 | "serde", 1552 | "sha3", 1553 | "static_assertions", 1554 | "strum", 1555 | "tai64", 1556 | ] 1557 | 1558 | [[package]] 1559 | name = "fuels" 1560 | version = "0.53.0" 1561 | source = "registry+https://github.com/rust-lang/crates.io-index" 1562 | checksum = "d8ad2e6a398d3ea13edd540c29d9e6452bc3e690ab763f5373ba960f17cdae4d" 1563 | dependencies = [ 1564 | "fuel-core", 1565 | "fuel-core-client", 1566 | "fuel-tx", 1567 | "fuels-accounts", 1568 | "fuels-core", 1569 | "fuels-macros", 1570 | "fuels-programs", 1571 | "fuels-test-helpers", 1572 | ] 1573 | 1574 | [[package]] 1575 | name = "fuels-accounts" 1576 | version = "0.53.0" 1577 | source = "registry+https://github.com/rust-lang/crates.io-index" 1578 | checksum = "fa6f6435a6631577fa20aedbd88c4e59d9f1541a6bbb3a7b63715e40c15790f0" 1579 | dependencies = [ 1580 | "async-trait", 1581 | "chrono", 1582 | "elliptic-curve", 1583 | "eth-keystore", 1584 | "fuel-core-client", 1585 | "fuel-crypto", 1586 | "fuel-tx", 1587 | "fuel-types", 1588 | "fuel-vm", 1589 | "fuels-core", 1590 | "hex", 1591 | "rand", 1592 | "semver", 1593 | "tai64", 1594 | "thiserror", 1595 | "tokio", 1596 | "tracing", 1597 | "zeroize", 1598 | ] 1599 | 1600 | [[package]] 1601 | name = "fuels-code-gen" 1602 | version = "0.53.0" 1603 | source = "registry+https://github.com/rust-lang/crates.io-index" 1604 | checksum = "7a76d2517cebc47be8723312e80634b6389e0c5db34663bd1360afee504f0cfb" 1605 | dependencies = [ 1606 | "Inflector", 1607 | "fuel-abi-types", 1608 | "itertools 0.12.0", 1609 | "proc-macro2", 1610 | "quote", 1611 | "regex", 1612 | "serde_json", 1613 | "syn 2.0.46", 1614 | ] 1615 | 1616 | [[package]] 1617 | name = "fuels-core" 1618 | version = "0.53.0" 1619 | source = "registry+https://github.com/rust-lang/crates.io-index" 1620 | checksum = "c9a98b3217932b1f8f639fd4c1268923f0862166fecf7a897c3c2bd5bae8706d" 1621 | dependencies = [ 1622 | "async-trait", 1623 | "bech32", 1624 | "chrono", 1625 | "fuel-abi-types", 1626 | "fuel-asm", 1627 | "fuel-core-chain-config", 1628 | "fuel-core-client", 1629 | "fuel-crypto", 1630 | "fuel-tx", 1631 | "fuel-types", 1632 | "fuel-vm", 1633 | "fuels-macros", 1634 | "hex", 1635 | "itertools 0.12.0", 1636 | "serde", 1637 | "serde_json", 1638 | "sha2", 1639 | "thiserror", 1640 | "uint", 1641 | "zeroize", 1642 | ] 1643 | 1644 | [[package]] 1645 | name = "fuels-macros" 1646 | version = "0.53.0" 1647 | source = "registry+https://github.com/rust-lang/crates.io-index" 1648 | checksum = "e1cb90a892ac4b1acfd6f383a7505ce5f33764495adcf9c34371bbcabf9a4042" 1649 | dependencies = [ 1650 | "fuels-code-gen", 1651 | "itertools 0.12.0", 1652 | "proc-macro2", 1653 | "quote", 1654 | "rand", 1655 | "syn 2.0.46", 1656 | ] 1657 | 1658 | [[package]] 1659 | name = "fuels-programs" 1660 | version = "0.53.0" 1661 | source = "registry+https://github.com/rust-lang/crates.io-index" 1662 | checksum = "3d9fd3a7722685ba45a6794374f44530732f4f2f43f507eb1ec6fd0656abacf8" 1663 | dependencies = [ 1664 | "async-trait", 1665 | "bytes", 1666 | "fuel-abi-types", 1667 | "fuel-asm", 1668 | "fuel-tx", 1669 | "fuel-types", 1670 | "fuels-accounts", 1671 | "fuels-core", 1672 | "itertools 0.12.0", 1673 | "rand", 1674 | "serde_json", 1675 | "tokio", 1676 | ] 1677 | 1678 | [[package]] 1679 | name = "fuels-test-helpers" 1680 | version = "0.53.0" 1681 | source = "registry+https://github.com/rust-lang/crates.io-index" 1682 | checksum = "d5742db9887960bbd58bf0b7cb3b0adaa5e29ce4bd667d1063bbe12491c52852" 1683 | dependencies = [ 1684 | "fuel-core", 1685 | "fuel-core-chain-config", 1686 | "fuel-core-client", 1687 | "fuel-core-poa", 1688 | "fuel-core-services", 1689 | "fuel-tx", 1690 | "fuel-types", 1691 | "fuels-accounts", 1692 | "fuels-core", 1693 | "futures", 1694 | "hex", 1695 | "portpicker", 1696 | "rand", 1697 | "serde", 1698 | "serde_json", 1699 | "serde_with 3.4.0", 1700 | "tempfile", 1701 | "tokio", 1702 | "which", 1703 | ] 1704 | 1705 | [[package]] 1706 | name = "funty" 1707 | version = "2.0.0" 1708 | source = "registry+https://github.com/rust-lang/crates.io-index" 1709 | checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" 1710 | 1711 | [[package]] 1712 | name = "futures" 1713 | version = "0.3.30" 1714 | source = "registry+https://github.com/rust-lang/crates.io-index" 1715 | checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" 1716 | dependencies = [ 1717 | "futures-channel", 1718 | "futures-core", 1719 | "futures-executor", 1720 | "futures-io", 1721 | "futures-sink", 1722 | "futures-task", 1723 | "futures-util", 1724 | ] 1725 | 1726 | [[package]] 1727 | name = "futures-channel" 1728 | version = "0.3.30" 1729 | source = "registry+https://github.com/rust-lang/crates.io-index" 1730 | checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" 1731 | dependencies = [ 1732 | "futures-core", 1733 | "futures-sink", 1734 | ] 1735 | 1736 | [[package]] 1737 | name = "futures-core" 1738 | version = "0.3.30" 1739 | source = "registry+https://github.com/rust-lang/crates.io-index" 1740 | checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" 1741 | 1742 | [[package]] 1743 | name = "futures-executor" 1744 | version = "0.3.30" 1745 | source = "registry+https://github.com/rust-lang/crates.io-index" 1746 | checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" 1747 | dependencies = [ 1748 | "futures-core", 1749 | "futures-task", 1750 | "futures-util", 1751 | ] 1752 | 1753 | [[package]] 1754 | name = "futures-io" 1755 | version = "0.3.30" 1756 | source = "registry+https://github.com/rust-lang/crates.io-index" 1757 | checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" 1758 | 1759 | [[package]] 1760 | name = "futures-macro" 1761 | version = "0.3.30" 1762 | source = "registry+https://github.com/rust-lang/crates.io-index" 1763 | checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" 1764 | dependencies = [ 1765 | "proc-macro2", 1766 | "quote", 1767 | "syn 2.0.46", 1768 | ] 1769 | 1770 | [[package]] 1771 | name = "futures-sink" 1772 | version = "0.3.30" 1773 | source = "registry+https://github.com/rust-lang/crates.io-index" 1774 | checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" 1775 | 1776 | [[package]] 1777 | name = "futures-task" 1778 | version = "0.3.30" 1779 | source = "registry+https://github.com/rust-lang/crates.io-index" 1780 | checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" 1781 | 1782 | [[package]] 1783 | name = "futures-util" 1784 | version = "0.3.30" 1785 | source = "registry+https://github.com/rust-lang/crates.io-index" 1786 | checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" 1787 | dependencies = [ 1788 | "futures-channel", 1789 | "futures-core", 1790 | "futures-io", 1791 | "futures-macro", 1792 | "futures-sink", 1793 | "futures-task", 1794 | "memchr", 1795 | "pin-project-lite", 1796 | "pin-utils", 1797 | "slab", 1798 | ] 1799 | 1800 | [[package]] 1801 | name = "generic-array" 1802 | version = "0.14.7" 1803 | source = "registry+https://github.com/rust-lang/crates.io-index" 1804 | checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" 1805 | dependencies = [ 1806 | "typenum", 1807 | "version_check", 1808 | "zeroize", 1809 | ] 1810 | 1811 | [[package]] 1812 | name = "getrandom" 1813 | version = "0.2.11" 1814 | source = "registry+https://github.com/rust-lang/crates.io-index" 1815 | checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" 1816 | dependencies = [ 1817 | "cfg-if", 1818 | "libc", 1819 | "wasi", 1820 | ] 1821 | 1822 | [[package]] 1823 | name = "gimli" 1824 | version = "0.28.1" 1825 | source = "registry+https://github.com/rust-lang/crates.io-index" 1826 | checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" 1827 | 1828 | [[package]] 1829 | name = "graphql-parser" 1830 | version = "0.4.0" 1831 | source = "registry+https://github.com/rust-lang/crates.io-index" 1832 | checksum = "d2ebc8013b4426d5b81a4364c419a95ed0b404af2b82e2457de52d9348f0e474" 1833 | dependencies = [ 1834 | "combine", 1835 | "thiserror", 1836 | ] 1837 | 1838 | [[package]] 1839 | name = "group" 1840 | version = "0.13.0" 1841 | source = "registry+https://github.com/rust-lang/crates.io-index" 1842 | checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" 1843 | dependencies = [ 1844 | "ff", 1845 | "rand_core", 1846 | "subtle", 1847 | ] 1848 | 1849 | [[package]] 1850 | name = "h2" 1851 | version = "0.3.22" 1852 | source = "registry+https://github.com/rust-lang/crates.io-index" 1853 | checksum = "4d6250322ef6e60f93f9a2162799302cd6f68f79f6e5d85c8c16f14d1d958178" 1854 | dependencies = [ 1855 | "bytes", 1856 | "fnv", 1857 | "futures-core", 1858 | "futures-sink", 1859 | "futures-util", 1860 | "http", 1861 | "indexmap 2.1.0", 1862 | "slab", 1863 | "tokio", 1864 | "tokio-util", 1865 | "tracing", 1866 | ] 1867 | 1868 | [[package]] 1869 | name = "hash32" 1870 | version = "0.2.1" 1871 | source = "registry+https://github.com/rust-lang/crates.io-index" 1872 | checksum = "b0c35f58762feb77d74ebe43bdbc3210f09be9fe6742234d573bacc26ed92b67" 1873 | dependencies = [ 1874 | "byteorder", 1875 | ] 1876 | 1877 | [[package]] 1878 | name = "hashbrown" 1879 | version = "0.12.3" 1880 | source = "registry+https://github.com/rust-lang/crates.io-index" 1881 | checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" 1882 | 1883 | [[package]] 1884 | name = "hashbrown" 1885 | version = "0.13.2" 1886 | source = "registry+https://github.com/rust-lang/crates.io-index" 1887 | checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" 1888 | dependencies = [ 1889 | "ahash", 1890 | ] 1891 | 1892 | [[package]] 1893 | name = "hashbrown" 1894 | version = "0.14.3" 1895 | source = "registry+https://github.com/rust-lang/crates.io-index" 1896 | checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" 1897 | dependencies = [ 1898 | "ahash", 1899 | "allocator-api2", 1900 | "serde", 1901 | ] 1902 | 1903 | [[package]] 1904 | name = "heapless" 1905 | version = "0.7.17" 1906 | source = "registry+https://github.com/rust-lang/crates.io-index" 1907 | checksum = "cdc6457c0eb62c71aac4bc17216026d8410337c4126773b9c5daba343f17964f" 1908 | dependencies = [ 1909 | "atomic-polyfill", 1910 | "hash32", 1911 | "rustc_version", 1912 | "serde", 1913 | "spin 0.9.8", 1914 | "stable_deref_trait", 1915 | ] 1916 | 1917 | [[package]] 1918 | name = "heck" 1919 | version = "0.4.1" 1920 | source = "registry+https://github.com/rust-lang/crates.io-index" 1921 | checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 1922 | 1923 | [[package]] 1924 | name = "hermit-abi" 1925 | version = "0.3.3" 1926 | source = "registry+https://github.com/rust-lang/crates.io-index" 1927 | checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" 1928 | 1929 | [[package]] 1930 | name = "hex" 1931 | version = "0.4.3" 1932 | source = "registry+https://github.com/rust-lang/crates.io-index" 1933 | checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 1934 | dependencies = [ 1935 | "serde", 1936 | ] 1937 | 1938 | [[package]] 1939 | name = "hmac" 1940 | version = "0.12.1" 1941 | source = "registry+https://github.com/rust-lang/crates.io-index" 1942 | checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" 1943 | dependencies = [ 1944 | "digest", 1945 | ] 1946 | 1947 | [[package]] 1948 | name = "home" 1949 | version = "0.5.9" 1950 | source = "registry+https://github.com/rust-lang/crates.io-index" 1951 | checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" 1952 | dependencies = [ 1953 | "windows-sys 0.52.0", 1954 | ] 1955 | 1956 | [[package]] 1957 | name = "http" 1958 | version = "0.2.11" 1959 | source = "registry+https://github.com/rust-lang/crates.io-index" 1960 | checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" 1961 | dependencies = [ 1962 | "bytes", 1963 | "fnv", 1964 | "itoa", 1965 | ] 1966 | 1967 | [[package]] 1968 | name = "http-body" 1969 | version = "0.4.6" 1970 | source = "registry+https://github.com/rust-lang/crates.io-index" 1971 | checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" 1972 | dependencies = [ 1973 | "bytes", 1974 | "http", 1975 | "pin-project-lite", 1976 | ] 1977 | 1978 | [[package]] 1979 | name = "http-range-header" 1980 | version = "0.3.1" 1981 | source = "registry+https://github.com/rust-lang/crates.io-index" 1982 | checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" 1983 | 1984 | [[package]] 1985 | name = "httparse" 1986 | version = "1.8.0" 1987 | source = "registry+https://github.com/rust-lang/crates.io-index" 1988 | checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" 1989 | 1990 | [[package]] 1991 | name = "httpdate" 1992 | version = "1.0.3" 1993 | source = "registry+https://github.com/rust-lang/crates.io-index" 1994 | checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" 1995 | 1996 | [[package]] 1997 | name = "hyper" 1998 | version = "0.14.28" 1999 | source = "registry+https://github.com/rust-lang/crates.io-index" 2000 | checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" 2001 | dependencies = [ 2002 | "bytes", 2003 | "futures-channel", 2004 | "futures-core", 2005 | "futures-util", 2006 | "h2", 2007 | "http", 2008 | "http-body", 2009 | "httparse", 2010 | "httpdate", 2011 | "itoa", 2012 | "pin-project-lite", 2013 | "socket2", 2014 | "tokio", 2015 | "tower-service", 2016 | "tracing", 2017 | "want", 2018 | ] 2019 | 2020 | [[package]] 2021 | name = "hyper-rustls" 2022 | version = "0.22.1" 2023 | source = "registry+https://github.com/rust-lang/crates.io-index" 2024 | checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64" 2025 | dependencies = [ 2026 | "ct-logs", 2027 | "futures-util", 2028 | "hyper", 2029 | "log", 2030 | "rustls 0.19.1", 2031 | "rustls-native-certs 0.5.0", 2032 | "tokio", 2033 | "tokio-rustls 0.22.0", 2034 | "webpki", 2035 | ] 2036 | 2037 | [[package]] 2038 | name = "hyper-rustls" 2039 | version = "0.24.2" 2040 | source = "registry+https://github.com/rust-lang/crates.io-index" 2041 | checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" 2042 | dependencies = [ 2043 | "futures-util", 2044 | "http", 2045 | "hyper", 2046 | "log", 2047 | "rustls 0.21.10", 2048 | "rustls-native-certs 0.6.3", 2049 | "tokio", 2050 | "tokio-rustls 0.24.1", 2051 | "webpki-roots", 2052 | ] 2053 | 2054 | [[package]] 2055 | name = "hyper-timeout" 2056 | version = "0.4.1" 2057 | source = "registry+https://github.com/rust-lang/crates.io-index" 2058 | checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" 2059 | dependencies = [ 2060 | "hyper", 2061 | "pin-project-lite", 2062 | "tokio", 2063 | "tokio-io-timeout", 2064 | ] 2065 | 2066 | [[package]] 2067 | name = "iana-time-zone" 2068 | version = "0.1.59" 2069 | source = "registry+https://github.com/rust-lang/crates.io-index" 2070 | checksum = "b6a67363e2aa4443928ce15e57ebae94fd8949958fd1223c4cfc0cd473ad7539" 2071 | dependencies = [ 2072 | "android_system_properties", 2073 | "core-foundation-sys", 2074 | "iana-time-zone-haiku", 2075 | "js-sys", 2076 | "wasm-bindgen", 2077 | "windows-core", 2078 | ] 2079 | 2080 | [[package]] 2081 | name = "iana-time-zone-haiku" 2082 | version = "0.1.2" 2083 | source = "registry+https://github.com/rust-lang/crates.io-index" 2084 | checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" 2085 | dependencies = [ 2086 | "cc", 2087 | ] 2088 | 2089 | [[package]] 2090 | name = "ident_case" 2091 | version = "1.0.1" 2092 | source = "registry+https://github.com/rust-lang/crates.io-index" 2093 | checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" 2094 | 2095 | [[package]] 2096 | name = "idna" 2097 | version = "0.2.3" 2098 | source = "registry+https://github.com/rust-lang/crates.io-index" 2099 | checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" 2100 | dependencies = [ 2101 | "matches", 2102 | "unicode-bidi", 2103 | "unicode-normalization", 2104 | ] 2105 | 2106 | [[package]] 2107 | name = "idna" 2108 | version = "0.3.0" 2109 | source = "registry+https://github.com/rust-lang/crates.io-index" 2110 | checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" 2111 | dependencies = [ 2112 | "unicode-bidi", 2113 | "unicode-normalization", 2114 | ] 2115 | 2116 | [[package]] 2117 | name = "idna" 2118 | version = "0.5.0" 2119 | source = "registry+https://github.com/rust-lang/crates.io-index" 2120 | checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" 2121 | dependencies = [ 2122 | "unicode-bidi", 2123 | "unicode-normalization", 2124 | ] 2125 | 2126 | [[package]] 2127 | name = "impl-codec" 2128 | version = "0.6.0" 2129 | source = "registry+https://github.com/rust-lang/crates.io-index" 2130 | checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" 2131 | dependencies = [ 2132 | "parity-scale-codec", 2133 | ] 2134 | 2135 | [[package]] 2136 | name = "impl-trait-for-tuples" 2137 | version = "0.2.2" 2138 | source = "registry+https://github.com/rust-lang/crates.io-index" 2139 | checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" 2140 | dependencies = [ 2141 | "proc-macro2", 2142 | "quote", 2143 | "syn 1.0.109", 2144 | ] 2145 | 2146 | [[package]] 2147 | name = "indexmap" 2148 | version = "1.9.3" 2149 | source = "registry+https://github.com/rust-lang/crates.io-index" 2150 | checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" 2151 | dependencies = [ 2152 | "autocfg", 2153 | "hashbrown 0.12.3", 2154 | "serde", 2155 | ] 2156 | 2157 | [[package]] 2158 | name = "indexmap" 2159 | version = "2.1.0" 2160 | source = "registry+https://github.com/rust-lang/crates.io-index" 2161 | checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" 2162 | dependencies = [ 2163 | "equivalent", 2164 | "hashbrown 0.14.3", 2165 | ] 2166 | 2167 | [[package]] 2168 | name = "inout" 2169 | version = "0.1.3" 2170 | source = "registry+https://github.com/rust-lang/crates.io-index" 2171 | checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" 2172 | dependencies = [ 2173 | "generic-array", 2174 | ] 2175 | 2176 | [[package]] 2177 | name = "ipnet" 2178 | version = "2.9.0" 2179 | source = "registry+https://github.com/rust-lang/crates.io-index" 2180 | checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" 2181 | 2182 | [[package]] 2183 | name = "itertools" 2184 | version = "0.10.5" 2185 | source = "registry+https://github.com/rust-lang/crates.io-index" 2186 | checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" 2187 | dependencies = [ 2188 | "either", 2189 | ] 2190 | 2191 | [[package]] 2192 | name = "itertools" 2193 | version = "0.12.0" 2194 | source = "registry+https://github.com/rust-lang/crates.io-index" 2195 | checksum = "25db6b064527c5d482d0423354fcd07a89a2dfe07b67892e62411946db7f07b0" 2196 | dependencies = [ 2197 | "either", 2198 | ] 2199 | 2200 | [[package]] 2201 | name = "itoa" 2202 | version = "1.0.10" 2203 | source = "registry+https://github.com/rust-lang/crates.io-index" 2204 | checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" 2205 | 2206 | [[package]] 2207 | name = "js-sys" 2208 | version = "0.3.66" 2209 | source = "registry+https://github.com/rust-lang/crates.io-index" 2210 | checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" 2211 | dependencies = [ 2212 | "wasm-bindgen", 2213 | ] 2214 | 2215 | [[package]] 2216 | name = "k256" 2217 | version = "0.13.2" 2218 | source = "registry+https://github.com/rust-lang/crates.io-index" 2219 | checksum = "3f01b677d82ef7a676aa37e099defd83a28e15687112cafdd112d60236b6115b" 2220 | dependencies = [ 2221 | "cfg-if", 2222 | "ecdsa", 2223 | "elliptic-curve", 2224 | "once_cell", 2225 | "sha2", 2226 | "signature", 2227 | ] 2228 | 2229 | [[package]] 2230 | name = "keccak" 2231 | version = "0.1.4" 2232 | source = "registry+https://github.com/rust-lang/crates.io-index" 2233 | checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" 2234 | dependencies = [ 2235 | "cpufeatures", 2236 | ] 2237 | 2238 | [[package]] 2239 | name = "lazy_static" 2240 | version = "1.4.0" 2241 | source = "registry+https://github.com/rust-lang/crates.io-index" 2242 | checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 2243 | 2244 | [[package]] 2245 | name = "libc" 2246 | version = "0.2.151" 2247 | source = "registry+https://github.com/rust-lang/crates.io-index" 2248 | checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" 2249 | 2250 | [[package]] 2251 | name = "libm" 2252 | version = "0.2.8" 2253 | source = "registry+https://github.com/rust-lang/crates.io-index" 2254 | checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" 2255 | 2256 | [[package]] 2257 | name = "linux-raw-sys" 2258 | version = "0.4.12" 2259 | source = "registry+https://github.com/rust-lang/crates.io-index" 2260 | checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" 2261 | 2262 | [[package]] 2263 | name = "lock_api" 2264 | version = "0.4.11" 2265 | source = "registry+https://github.com/rust-lang/crates.io-index" 2266 | checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" 2267 | dependencies = [ 2268 | "autocfg", 2269 | "scopeguard", 2270 | ] 2271 | 2272 | [[package]] 2273 | name = "log" 2274 | version = "0.4.20" 2275 | source = "registry+https://github.com/rust-lang/crates.io-index" 2276 | checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" 2277 | 2278 | [[package]] 2279 | name = "matches" 2280 | version = "0.1.10" 2281 | source = "registry+https://github.com/rust-lang/crates.io-index" 2282 | checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" 2283 | 2284 | [[package]] 2285 | name = "matchit" 2286 | version = "0.5.0" 2287 | source = "registry+https://github.com/rust-lang/crates.io-index" 2288 | checksum = "73cbba799671b762df5a175adf59ce145165747bb891505c43d09aefbbf38beb" 2289 | 2290 | [[package]] 2291 | name = "memchr" 2292 | version = "2.7.1" 2293 | source = "registry+https://github.com/rust-lang/crates.io-index" 2294 | checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" 2295 | 2296 | [[package]] 2297 | name = "mime" 2298 | version = "0.3.17" 2299 | source = "registry+https://github.com/rust-lang/crates.io-index" 2300 | checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 2301 | 2302 | [[package]] 2303 | name = "miniz_oxide" 2304 | version = "0.7.1" 2305 | source = "registry+https://github.com/rust-lang/crates.io-index" 2306 | checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" 2307 | dependencies = [ 2308 | "adler", 2309 | ] 2310 | 2311 | [[package]] 2312 | name = "mio" 2313 | version = "0.8.10" 2314 | source = "registry+https://github.com/rust-lang/crates.io-index" 2315 | checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" 2316 | dependencies = [ 2317 | "libc", 2318 | "wasi", 2319 | "windows-sys 0.48.0", 2320 | ] 2321 | 2322 | [[package]] 2323 | name = "multer" 2324 | version = "2.1.0" 2325 | source = "registry+https://github.com/rust-lang/crates.io-index" 2326 | checksum = "01acbdc23469fd8fe07ab135923371d5f5a422fbf9c522158677c8eb15bc51c2" 2327 | dependencies = [ 2328 | "bytes", 2329 | "encoding_rs", 2330 | "futures-util", 2331 | "http", 2332 | "httparse", 2333 | "log", 2334 | "memchr", 2335 | "mime", 2336 | "spin 0.9.8", 2337 | "version_check", 2338 | ] 2339 | 2340 | [[package]] 2341 | name = "num-traits" 2342 | version = "0.2.17" 2343 | source = "registry+https://github.com/rust-lang/crates.io-index" 2344 | checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" 2345 | dependencies = [ 2346 | "autocfg", 2347 | ] 2348 | 2349 | [[package]] 2350 | name = "num_cpus" 2351 | version = "1.16.0" 2352 | source = "registry+https://github.com/rust-lang/crates.io-index" 2353 | checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" 2354 | dependencies = [ 2355 | "hermit-abi", 2356 | "libc", 2357 | ] 2358 | 2359 | [[package]] 2360 | name = "object" 2361 | version = "0.32.2" 2362 | source = "registry+https://github.com/rust-lang/crates.io-index" 2363 | checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" 2364 | dependencies = [ 2365 | "memchr", 2366 | ] 2367 | 2368 | [[package]] 2369 | name = "once_cell" 2370 | version = "1.19.0" 2371 | source = "registry+https://github.com/rust-lang/crates.io-index" 2372 | checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" 2373 | 2374 | [[package]] 2375 | name = "openssl-probe" 2376 | version = "0.1.5" 2377 | source = "registry+https://github.com/rust-lang/crates.io-index" 2378 | checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" 2379 | 2380 | [[package]] 2381 | name = "p256" 2382 | version = "0.13.2" 2383 | source = "registry+https://github.com/rust-lang/crates.io-index" 2384 | checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" 2385 | dependencies = [ 2386 | "ecdsa", 2387 | "elliptic-curve", 2388 | "primeorder", 2389 | "sha2", 2390 | ] 2391 | 2392 | [[package]] 2393 | name = "parity-scale-codec" 2394 | version = "3.6.9" 2395 | source = "registry+https://github.com/rust-lang/crates.io-index" 2396 | checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" 2397 | dependencies = [ 2398 | "arrayvec", 2399 | "bitvec", 2400 | "byte-slice-cast", 2401 | "impl-trait-for-tuples", 2402 | "parity-scale-codec-derive", 2403 | "serde", 2404 | ] 2405 | 2406 | [[package]] 2407 | name = "parity-scale-codec-derive" 2408 | version = "3.6.9" 2409 | source = "registry+https://github.com/rust-lang/crates.io-index" 2410 | checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" 2411 | dependencies = [ 2412 | "proc-macro-crate 2.0.1", 2413 | "proc-macro2", 2414 | "quote", 2415 | "syn 1.0.109", 2416 | ] 2417 | 2418 | [[package]] 2419 | name = "parking_lot" 2420 | version = "0.12.1" 2421 | source = "registry+https://github.com/rust-lang/crates.io-index" 2422 | checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" 2423 | dependencies = [ 2424 | "lock_api", 2425 | "parking_lot_core", 2426 | ] 2427 | 2428 | [[package]] 2429 | name = "parking_lot_core" 2430 | version = "0.9.9" 2431 | source = "registry+https://github.com/rust-lang/crates.io-index" 2432 | checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" 2433 | dependencies = [ 2434 | "cfg-if", 2435 | "libc", 2436 | "redox_syscall", 2437 | "smallvec", 2438 | "windows-targets 0.48.5", 2439 | ] 2440 | 2441 | [[package]] 2442 | name = "paste" 2443 | version = "1.0.14" 2444 | source = "registry+https://github.com/rust-lang/crates.io-index" 2445 | checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" 2446 | 2447 | [[package]] 2448 | name = "pbkdf2" 2449 | version = "0.11.0" 2450 | source = "registry+https://github.com/rust-lang/crates.io-index" 2451 | checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" 2452 | dependencies = [ 2453 | "digest", 2454 | ] 2455 | 2456 | [[package]] 2457 | name = "pbkdf2" 2458 | version = "0.12.2" 2459 | source = "registry+https://github.com/rust-lang/crates.io-index" 2460 | checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" 2461 | dependencies = [ 2462 | "digest", 2463 | "hmac", 2464 | ] 2465 | 2466 | [[package]] 2467 | name = "percent-encoding" 2468 | version = "2.3.1" 2469 | source = "registry+https://github.com/rust-lang/crates.io-index" 2470 | checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" 2471 | 2472 | [[package]] 2473 | name = "pest" 2474 | version = "2.7.5" 2475 | source = "registry+https://github.com/rust-lang/crates.io-index" 2476 | checksum = "ae9cee2a55a544be8b89dc6848072af97a20f2422603c10865be2a42b580fff5" 2477 | dependencies = [ 2478 | "memchr", 2479 | "thiserror", 2480 | "ucd-trie", 2481 | ] 2482 | 2483 | [[package]] 2484 | name = "pin-project" 2485 | version = "1.1.3" 2486 | source = "registry+https://github.com/rust-lang/crates.io-index" 2487 | checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" 2488 | dependencies = [ 2489 | "pin-project-internal", 2490 | ] 2491 | 2492 | [[package]] 2493 | name = "pin-project-internal" 2494 | version = "1.1.3" 2495 | source = "registry+https://github.com/rust-lang/crates.io-index" 2496 | checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" 2497 | dependencies = [ 2498 | "proc-macro2", 2499 | "quote", 2500 | "syn 2.0.46", 2501 | ] 2502 | 2503 | [[package]] 2504 | name = "pin-project-lite" 2505 | version = "0.2.13" 2506 | source = "registry+https://github.com/rust-lang/crates.io-index" 2507 | checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" 2508 | 2509 | [[package]] 2510 | name = "pin-utils" 2511 | version = "0.1.0" 2512 | source = "registry+https://github.com/rust-lang/crates.io-index" 2513 | checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 2514 | 2515 | [[package]] 2516 | name = "pkcs8" 2517 | version = "0.10.2" 2518 | source = "registry+https://github.com/rust-lang/crates.io-index" 2519 | checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" 2520 | dependencies = [ 2521 | "der", 2522 | "spki", 2523 | ] 2524 | 2525 | [[package]] 2526 | name = "platforms" 2527 | version = "3.3.0" 2528 | source = "registry+https://github.com/rust-lang/crates.io-index" 2529 | checksum = "626dec3cac7cc0e1577a2ec3fc496277ec2baa084bebad95bb6fdbfae235f84c" 2530 | 2531 | [[package]] 2532 | name = "portpicker" 2533 | version = "0.1.1" 2534 | source = "registry+https://github.com/rust-lang/crates.io-index" 2535 | checksum = "be97d76faf1bfab666e1375477b23fde79eccf0276e9b63b92a39d676a889ba9" 2536 | dependencies = [ 2537 | "rand", 2538 | ] 2539 | 2540 | [[package]] 2541 | name = "postcard" 2542 | version = "1.0.8" 2543 | source = "registry+https://github.com/rust-lang/crates.io-index" 2544 | checksum = "a55c51ee6c0db07e68448e336cf8ea4131a620edefebf9893e759b2d793420f8" 2545 | dependencies = [ 2546 | "cobs", 2547 | "embedded-io", 2548 | "heapless", 2549 | "serde", 2550 | ] 2551 | 2552 | [[package]] 2553 | name = "powerfmt" 2554 | version = "0.2.0" 2555 | source = "registry+https://github.com/rust-lang/crates.io-index" 2556 | checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" 2557 | 2558 | [[package]] 2559 | name = "ppv-lite86" 2560 | version = "0.2.17" 2561 | source = "registry+https://github.com/rust-lang/crates.io-index" 2562 | checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" 2563 | 2564 | [[package]] 2565 | name = "primeorder" 2566 | version = "0.13.6" 2567 | source = "registry+https://github.com/rust-lang/crates.io-index" 2568 | checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" 2569 | dependencies = [ 2570 | "elliptic-curve", 2571 | ] 2572 | 2573 | [[package]] 2574 | name = "primitive-types" 2575 | version = "0.12.2" 2576 | source = "registry+https://github.com/rust-lang/crates.io-index" 2577 | checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" 2578 | dependencies = [ 2579 | "fixed-hash", 2580 | "impl-codec", 2581 | "uint", 2582 | ] 2583 | 2584 | [[package]] 2585 | name = "proc-macro-crate" 2586 | version = "1.3.1" 2587 | source = "registry+https://github.com/rust-lang/crates.io-index" 2588 | checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" 2589 | dependencies = [ 2590 | "once_cell", 2591 | "toml_edit 0.19.15", 2592 | ] 2593 | 2594 | [[package]] 2595 | name = "proc-macro-crate" 2596 | version = "2.0.1" 2597 | source = "registry+https://github.com/rust-lang/crates.io-index" 2598 | checksum = "97dc5fea232fc28d2f597b37c4876b348a40e33f3b02cc975c8d006d78d94b1a" 2599 | dependencies = [ 2600 | "toml_datetime", 2601 | "toml_edit 0.20.2", 2602 | ] 2603 | 2604 | [[package]] 2605 | name = "proc-macro2" 2606 | version = "1.0.74" 2607 | source = "registry+https://github.com/rust-lang/crates.io-index" 2608 | checksum = "2de98502f212cfcea8d0bb305bd0f49d7ebdd75b64ba0a68f937d888f4e0d6db" 2609 | dependencies = [ 2610 | "unicode-ident", 2611 | ] 2612 | 2613 | [[package]] 2614 | name = "prometheus-client" 2615 | version = "0.18.1" 2616 | source = "registry+https://github.com/rust-lang/crates.io-index" 2617 | checksum = "83cd1b99916654a69008fd66b4f9397fbe08e6e51dfe23d4417acf5d3b8cb87c" 2618 | dependencies = [ 2619 | "dtoa", 2620 | "itoa", 2621 | "parking_lot", 2622 | "prometheus-client-derive-text-encode", 2623 | ] 2624 | 2625 | [[package]] 2626 | name = "prometheus-client" 2627 | version = "0.20.0" 2628 | source = "registry+https://github.com/rust-lang/crates.io-index" 2629 | checksum = "e227aeb6c2cfec819e999c4773b35f8c7fa37298a203ff46420095458eee567e" 2630 | dependencies = [ 2631 | "dtoa", 2632 | "itoa", 2633 | "parking_lot", 2634 | "prometheus-client-derive-encode", 2635 | ] 2636 | 2637 | [[package]] 2638 | name = "prometheus-client-derive-encode" 2639 | version = "0.4.2" 2640 | source = "registry+https://github.com/rust-lang/crates.io-index" 2641 | checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" 2642 | dependencies = [ 2643 | "proc-macro2", 2644 | "quote", 2645 | "syn 2.0.46", 2646 | ] 2647 | 2648 | [[package]] 2649 | name = "prometheus-client-derive-text-encode" 2650 | version = "0.3.0" 2651 | source = "registry+https://github.com/rust-lang/crates.io-index" 2652 | checksum = "66a455fbcb954c1a7decf3c586e860fd7889cddf4b8e164be736dbac95a953cd" 2653 | dependencies = [ 2654 | "proc-macro2", 2655 | "quote", 2656 | "syn 1.0.109", 2657 | ] 2658 | 2659 | [[package]] 2660 | name = "psl-types" 2661 | version = "2.0.11" 2662 | source = "registry+https://github.com/rust-lang/crates.io-index" 2663 | checksum = "33cb294fe86a74cbcf50d4445b37da762029549ebeea341421c7c70370f86cac" 2664 | 2665 | [[package]] 2666 | name = "publicsuffix" 2667 | version = "2.2.3" 2668 | source = "registry+https://github.com/rust-lang/crates.io-index" 2669 | checksum = "96a8c1bda5ae1af7f99a2962e49df150414a43d62404644d98dd5c3a93d07457" 2670 | dependencies = [ 2671 | "idna 0.3.0", 2672 | "psl-types", 2673 | ] 2674 | 2675 | [[package]] 2676 | name = "quote" 2677 | version = "1.0.35" 2678 | source = "registry+https://github.com/rust-lang/crates.io-index" 2679 | checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" 2680 | dependencies = [ 2681 | "proc-macro2", 2682 | ] 2683 | 2684 | [[package]] 2685 | name = "radium" 2686 | version = "0.7.0" 2687 | source = "registry+https://github.com/rust-lang/crates.io-index" 2688 | checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" 2689 | 2690 | [[package]] 2691 | name = "rand" 2692 | version = "0.8.5" 2693 | source = "registry+https://github.com/rust-lang/crates.io-index" 2694 | checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 2695 | dependencies = [ 2696 | "libc", 2697 | "rand_chacha", 2698 | "rand_core", 2699 | ] 2700 | 2701 | [[package]] 2702 | name = "rand_chacha" 2703 | version = "0.3.1" 2704 | source = "registry+https://github.com/rust-lang/crates.io-index" 2705 | checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 2706 | dependencies = [ 2707 | "ppv-lite86", 2708 | "rand_core", 2709 | ] 2710 | 2711 | [[package]] 2712 | name = "rand_core" 2713 | version = "0.6.4" 2714 | source = "registry+https://github.com/rust-lang/crates.io-index" 2715 | checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 2716 | dependencies = [ 2717 | "getrandom", 2718 | ] 2719 | 2720 | [[package]] 2721 | name = "rayon" 2722 | version = "1.8.0" 2723 | source = "registry+https://github.com/rust-lang/crates.io-index" 2724 | checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" 2725 | dependencies = [ 2726 | "either", 2727 | "rayon-core", 2728 | ] 2729 | 2730 | [[package]] 2731 | name = "rayon-core" 2732 | version = "1.12.0" 2733 | source = "registry+https://github.com/rust-lang/crates.io-index" 2734 | checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" 2735 | dependencies = [ 2736 | "crossbeam-deque", 2737 | "crossbeam-utils", 2738 | ] 2739 | 2740 | [[package]] 2741 | name = "redox_syscall" 2742 | version = "0.4.1" 2743 | source = "registry+https://github.com/rust-lang/crates.io-index" 2744 | checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" 2745 | dependencies = [ 2746 | "bitflags 1.3.2", 2747 | ] 2748 | 2749 | [[package]] 2750 | name = "regex" 2751 | version = "1.10.2" 2752 | source = "registry+https://github.com/rust-lang/crates.io-index" 2753 | checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" 2754 | dependencies = [ 2755 | "aho-corasick", 2756 | "memchr", 2757 | "regex-automata", 2758 | "regex-syntax", 2759 | ] 2760 | 2761 | [[package]] 2762 | name = "regex-automata" 2763 | version = "0.4.3" 2764 | source = "registry+https://github.com/rust-lang/crates.io-index" 2765 | checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" 2766 | dependencies = [ 2767 | "aho-corasick", 2768 | "memchr", 2769 | "regex-syntax", 2770 | ] 2771 | 2772 | [[package]] 2773 | name = "regex-syntax" 2774 | version = "0.8.2" 2775 | source = "registry+https://github.com/rust-lang/crates.io-index" 2776 | checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" 2777 | 2778 | [[package]] 2779 | name = "reqwest" 2780 | version = "0.11.23" 2781 | source = "registry+https://github.com/rust-lang/crates.io-index" 2782 | checksum = "37b1ae8d9ac08420c66222fb9096fc5de435c3c48542bc5336c51892cffafb41" 2783 | dependencies = [ 2784 | "base64 0.21.5", 2785 | "bytes", 2786 | "cookie", 2787 | "cookie_store", 2788 | "encoding_rs", 2789 | "futures-core", 2790 | "futures-util", 2791 | "h2", 2792 | "http", 2793 | "http-body", 2794 | "hyper", 2795 | "hyper-rustls 0.24.2", 2796 | "ipnet", 2797 | "js-sys", 2798 | "log", 2799 | "mime", 2800 | "once_cell", 2801 | "percent-encoding", 2802 | "pin-project-lite", 2803 | "rustls 0.21.10", 2804 | "rustls-pemfile", 2805 | "serde", 2806 | "serde_json", 2807 | "serde_urlencoded", 2808 | "system-configuration", 2809 | "tokio", 2810 | "tokio-rustls 0.24.1", 2811 | "tower-service", 2812 | "url", 2813 | "wasm-bindgen", 2814 | "wasm-bindgen-futures", 2815 | "web-sys", 2816 | "webpki-roots", 2817 | "winreg", 2818 | ] 2819 | 2820 | [[package]] 2821 | name = "rfc6979" 2822 | version = "0.4.0" 2823 | source = "registry+https://github.com/rust-lang/crates.io-index" 2824 | checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" 2825 | dependencies = [ 2826 | "hmac", 2827 | "subtle", 2828 | ] 2829 | 2830 | [[package]] 2831 | name = "ring" 2832 | version = "0.16.20" 2833 | source = "registry+https://github.com/rust-lang/crates.io-index" 2834 | checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" 2835 | dependencies = [ 2836 | "cc", 2837 | "libc", 2838 | "once_cell", 2839 | "spin 0.5.2", 2840 | "untrusted 0.7.1", 2841 | "web-sys", 2842 | "winapi", 2843 | ] 2844 | 2845 | [[package]] 2846 | name = "ring" 2847 | version = "0.17.7" 2848 | source = "registry+https://github.com/rust-lang/crates.io-index" 2849 | checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" 2850 | dependencies = [ 2851 | "cc", 2852 | "getrandom", 2853 | "libc", 2854 | "spin 0.9.8", 2855 | "untrusted 0.9.0", 2856 | "windows-sys 0.48.0", 2857 | ] 2858 | 2859 | [[package]] 2860 | name = "ripemd" 2861 | version = "0.1.3" 2862 | source = "registry+https://github.com/rust-lang/crates.io-index" 2863 | checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" 2864 | dependencies = [ 2865 | "digest", 2866 | ] 2867 | 2868 | [[package]] 2869 | name = "rustc-demangle" 2870 | version = "0.1.23" 2871 | source = "registry+https://github.com/rust-lang/crates.io-index" 2872 | checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" 2873 | 2874 | [[package]] 2875 | name = "rustc-hex" 2876 | version = "2.1.0" 2877 | source = "registry+https://github.com/rust-lang/crates.io-index" 2878 | checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" 2879 | 2880 | [[package]] 2881 | name = "rustc_version" 2882 | version = "0.4.0" 2883 | source = "registry+https://github.com/rust-lang/crates.io-index" 2884 | checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" 2885 | dependencies = [ 2886 | "semver", 2887 | ] 2888 | 2889 | [[package]] 2890 | name = "rustix" 2891 | version = "0.38.28" 2892 | source = "registry+https://github.com/rust-lang/crates.io-index" 2893 | checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316" 2894 | dependencies = [ 2895 | "bitflags 2.4.1", 2896 | "errno", 2897 | "libc", 2898 | "linux-raw-sys", 2899 | "windows-sys 0.52.0", 2900 | ] 2901 | 2902 | [[package]] 2903 | name = "rustls" 2904 | version = "0.19.1" 2905 | source = "registry+https://github.com/rust-lang/crates.io-index" 2906 | checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" 2907 | dependencies = [ 2908 | "base64 0.13.1", 2909 | "log", 2910 | "ring 0.16.20", 2911 | "sct 0.6.1", 2912 | "webpki", 2913 | ] 2914 | 2915 | [[package]] 2916 | name = "rustls" 2917 | version = "0.21.10" 2918 | source = "registry+https://github.com/rust-lang/crates.io-index" 2919 | checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" 2920 | dependencies = [ 2921 | "log", 2922 | "ring 0.17.7", 2923 | "rustls-webpki", 2924 | "sct 0.7.1", 2925 | ] 2926 | 2927 | [[package]] 2928 | name = "rustls-native-certs" 2929 | version = "0.5.0" 2930 | source = "registry+https://github.com/rust-lang/crates.io-index" 2931 | checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092" 2932 | dependencies = [ 2933 | "openssl-probe", 2934 | "rustls 0.19.1", 2935 | "schannel", 2936 | "security-framework", 2937 | ] 2938 | 2939 | [[package]] 2940 | name = "rustls-native-certs" 2941 | version = "0.6.3" 2942 | source = "registry+https://github.com/rust-lang/crates.io-index" 2943 | checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" 2944 | dependencies = [ 2945 | "openssl-probe", 2946 | "rustls-pemfile", 2947 | "schannel", 2948 | "security-framework", 2949 | ] 2950 | 2951 | [[package]] 2952 | name = "rustls-pemfile" 2953 | version = "1.0.4" 2954 | source = "registry+https://github.com/rust-lang/crates.io-index" 2955 | checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" 2956 | dependencies = [ 2957 | "base64 0.21.5", 2958 | ] 2959 | 2960 | [[package]] 2961 | name = "rustls-webpki" 2962 | version = "0.101.7" 2963 | source = "registry+https://github.com/rust-lang/crates.io-index" 2964 | checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" 2965 | dependencies = [ 2966 | "ring 0.17.7", 2967 | "untrusted 0.9.0", 2968 | ] 2969 | 2970 | [[package]] 2971 | name = "rustversion" 2972 | version = "1.0.14" 2973 | source = "registry+https://github.com/rust-lang/crates.io-index" 2974 | checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" 2975 | 2976 | [[package]] 2977 | name = "ryu" 2978 | version = "1.0.16" 2979 | source = "registry+https://github.com/rust-lang/crates.io-index" 2980 | checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" 2981 | 2982 | [[package]] 2983 | name = "salsa20" 2984 | version = "0.10.2" 2985 | source = "registry+https://github.com/rust-lang/crates.io-index" 2986 | checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213" 2987 | dependencies = [ 2988 | "cipher", 2989 | ] 2990 | 2991 | [[package]] 2992 | name = "schannel" 2993 | version = "0.1.23" 2994 | source = "registry+https://github.com/rust-lang/crates.io-index" 2995 | checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" 2996 | dependencies = [ 2997 | "windows-sys 0.52.0", 2998 | ] 2999 | 3000 | [[package]] 3001 | name = "schemafy_core" 3002 | version = "0.5.2" 3003 | source = "registry+https://github.com/rust-lang/crates.io-index" 3004 | checksum = "41781ae092f4fd52c9287efb74456aea0d3b90032d2ecad272bd14dbbcb0511b" 3005 | dependencies = [ 3006 | "serde", 3007 | "serde_json", 3008 | ] 3009 | 3010 | [[package]] 3011 | name = "schemafy_lib" 3012 | version = "0.5.2" 3013 | source = "registry+https://github.com/rust-lang/crates.io-index" 3014 | checksum = "e953db32579999ca98c451d80801b6f6a7ecba6127196c5387ec0774c528befa" 3015 | dependencies = [ 3016 | "Inflector", 3017 | "proc-macro2", 3018 | "quote", 3019 | "schemafy_core", 3020 | "serde", 3021 | "serde_derive", 3022 | "serde_json", 3023 | "syn 1.0.109", 3024 | ] 3025 | 3026 | [[package]] 3027 | name = "scopeguard" 3028 | version = "1.2.0" 3029 | source = "registry+https://github.com/rust-lang/crates.io-index" 3030 | checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 3031 | 3032 | [[package]] 3033 | name = "scrypt" 3034 | version = "0.10.0" 3035 | source = "registry+https://github.com/rust-lang/crates.io-index" 3036 | checksum = "9f9e24d2b632954ded8ab2ef9fea0a0c769ea56ea98bddbafbad22caeeadf45d" 3037 | dependencies = [ 3038 | "hmac", 3039 | "pbkdf2 0.11.0", 3040 | "salsa20", 3041 | "sha2", 3042 | ] 3043 | 3044 | [[package]] 3045 | name = "sct" 3046 | version = "0.6.1" 3047 | source = "registry+https://github.com/rust-lang/crates.io-index" 3048 | checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" 3049 | dependencies = [ 3050 | "ring 0.16.20", 3051 | "untrusted 0.7.1", 3052 | ] 3053 | 3054 | [[package]] 3055 | name = "sct" 3056 | version = "0.7.1" 3057 | source = "registry+https://github.com/rust-lang/crates.io-index" 3058 | checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" 3059 | dependencies = [ 3060 | "ring 0.17.7", 3061 | "untrusted 0.9.0", 3062 | ] 3063 | 3064 | [[package]] 3065 | name = "sec1" 3066 | version = "0.7.3" 3067 | source = "registry+https://github.com/rust-lang/crates.io-index" 3068 | checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" 3069 | dependencies = [ 3070 | "base16ct", 3071 | "der", 3072 | "generic-array", 3073 | "pkcs8", 3074 | "subtle", 3075 | "zeroize", 3076 | ] 3077 | 3078 | [[package]] 3079 | name = "secp256k1" 3080 | version = "0.26.0" 3081 | source = "registry+https://github.com/rust-lang/crates.io-index" 3082 | checksum = "4124a35fe33ae14259c490fd70fa199a32b9ce9502f2ee6bc4f81ec06fa65894" 3083 | dependencies = [ 3084 | "rand", 3085 | "secp256k1-sys", 3086 | ] 3087 | 3088 | [[package]] 3089 | name = "secp256k1-sys" 3090 | version = "0.8.1" 3091 | source = "registry+https://github.com/rust-lang/crates.io-index" 3092 | checksum = "70a129b9e9efbfb223753b9163c4ab3b13cff7fd9c7f010fbac25ab4099fa07e" 3093 | dependencies = [ 3094 | "cc", 3095 | ] 3096 | 3097 | [[package]] 3098 | name = "secrecy" 3099 | version = "0.8.0" 3100 | source = "registry+https://github.com/rust-lang/crates.io-index" 3101 | checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" 3102 | dependencies = [ 3103 | "zeroize", 3104 | ] 3105 | 3106 | [[package]] 3107 | name = "security-framework" 3108 | version = "2.9.2" 3109 | source = "registry+https://github.com/rust-lang/crates.io-index" 3110 | checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" 3111 | dependencies = [ 3112 | "bitflags 1.3.2", 3113 | "core-foundation", 3114 | "core-foundation-sys", 3115 | "libc", 3116 | "security-framework-sys", 3117 | ] 3118 | 3119 | [[package]] 3120 | name = "security-framework-sys" 3121 | version = "2.9.1" 3122 | source = "registry+https://github.com/rust-lang/crates.io-index" 3123 | checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" 3124 | dependencies = [ 3125 | "core-foundation-sys", 3126 | "libc", 3127 | ] 3128 | 3129 | [[package]] 3130 | name = "semver" 3131 | version = "1.0.21" 3132 | source = "registry+https://github.com/rust-lang/crates.io-index" 3133 | checksum = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0" 3134 | 3135 | [[package]] 3136 | name = "serde" 3137 | version = "1.0.194" 3138 | source = "registry+https://github.com/rust-lang/crates.io-index" 3139 | checksum = "0b114498256798c94a0689e1a15fec6005dee8ac1f41de56404b67afc2a4b773" 3140 | dependencies = [ 3141 | "serde_derive", 3142 | ] 3143 | 3144 | [[package]] 3145 | name = "serde_derive" 3146 | version = "1.0.194" 3147 | source = "registry+https://github.com/rust-lang/crates.io-index" 3148 | checksum = "a3385e45322e8f9931410f01b3031ec534c3947d0e94c18049af4d9f9907d4e0" 3149 | dependencies = [ 3150 | "proc-macro2", 3151 | "quote", 3152 | "syn 2.0.46", 3153 | ] 3154 | 3155 | [[package]] 3156 | name = "serde_json" 3157 | version = "1.0.110" 3158 | source = "registry+https://github.com/rust-lang/crates.io-index" 3159 | checksum = "6fbd975230bada99c8bb618e0c365c2eefa219158d5c6c29610fd09ff1833257" 3160 | dependencies = [ 3161 | "itoa", 3162 | "ryu", 3163 | "serde", 3164 | ] 3165 | 3166 | [[package]] 3167 | name = "serde_urlencoded" 3168 | version = "0.7.1" 3169 | source = "registry+https://github.com/rust-lang/crates.io-index" 3170 | checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" 3171 | dependencies = [ 3172 | "form_urlencoded", 3173 | "itoa", 3174 | "ryu", 3175 | "serde", 3176 | ] 3177 | 3178 | [[package]] 3179 | name = "serde_with" 3180 | version = "1.14.0" 3181 | source = "registry+https://github.com/rust-lang/crates.io-index" 3182 | checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff" 3183 | dependencies = [ 3184 | "serde", 3185 | "serde_with_macros", 3186 | ] 3187 | 3188 | [[package]] 3189 | name = "serde_with" 3190 | version = "3.4.0" 3191 | source = "registry+https://github.com/rust-lang/crates.io-index" 3192 | checksum = "64cd236ccc1b7a29e7e2739f27c0b2dd199804abc4290e32f59f3b68d6405c23" 3193 | dependencies = [ 3194 | "serde", 3195 | ] 3196 | 3197 | [[package]] 3198 | name = "serde_with_macros" 3199 | version = "1.5.2" 3200 | source = "registry+https://github.com/rust-lang/crates.io-index" 3201 | checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" 3202 | dependencies = [ 3203 | "darling 0.13.4", 3204 | "proc-macro2", 3205 | "quote", 3206 | "syn 1.0.109", 3207 | ] 3208 | 3209 | [[package]] 3210 | name = "sha2" 3211 | version = "0.10.8" 3212 | source = "registry+https://github.com/rust-lang/crates.io-index" 3213 | checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" 3214 | dependencies = [ 3215 | "cfg-if", 3216 | "cpufeatures", 3217 | "digest", 3218 | ] 3219 | 3220 | [[package]] 3221 | name = "sha3" 3222 | version = "0.10.8" 3223 | source = "registry+https://github.com/rust-lang/crates.io-index" 3224 | checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" 3225 | dependencies = [ 3226 | "digest", 3227 | "keccak", 3228 | ] 3229 | 3230 | [[package]] 3231 | name = "signal-hook-registry" 3232 | version = "1.4.1" 3233 | source = "registry+https://github.com/rust-lang/crates.io-index" 3234 | checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" 3235 | dependencies = [ 3236 | "libc", 3237 | ] 3238 | 3239 | [[package]] 3240 | name = "signature" 3241 | version = "2.2.0" 3242 | source = "registry+https://github.com/rust-lang/crates.io-index" 3243 | checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" 3244 | dependencies = [ 3245 | "digest", 3246 | "rand_core", 3247 | ] 3248 | 3249 | [[package]] 3250 | name = "slab" 3251 | version = "0.4.9" 3252 | source = "registry+https://github.com/rust-lang/crates.io-index" 3253 | checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" 3254 | dependencies = [ 3255 | "autocfg", 3256 | ] 3257 | 3258 | [[package]] 3259 | name = "smallvec" 3260 | version = "1.11.2" 3261 | source = "registry+https://github.com/rust-lang/crates.io-index" 3262 | checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" 3263 | 3264 | [[package]] 3265 | name = "socket2" 3266 | version = "0.5.5" 3267 | source = "registry+https://github.com/rust-lang/crates.io-index" 3268 | checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" 3269 | dependencies = [ 3270 | "libc", 3271 | "windows-sys 0.48.0", 3272 | ] 3273 | 3274 | [[package]] 3275 | name = "spin" 3276 | version = "0.5.2" 3277 | source = "registry+https://github.com/rust-lang/crates.io-index" 3278 | checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" 3279 | 3280 | [[package]] 3281 | name = "spin" 3282 | version = "0.9.8" 3283 | source = "registry+https://github.com/rust-lang/crates.io-index" 3284 | checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" 3285 | dependencies = [ 3286 | "lock_api", 3287 | ] 3288 | 3289 | [[package]] 3290 | name = "spki" 3291 | version = "0.7.3" 3292 | source = "registry+https://github.com/rust-lang/crates.io-index" 3293 | checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" 3294 | dependencies = [ 3295 | "base64ct", 3296 | "der", 3297 | ] 3298 | 3299 | [[package]] 3300 | name = "stable_deref_trait" 3301 | version = "1.2.0" 3302 | source = "registry+https://github.com/rust-lang/crates.io-index" 3303 | checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" 3304 | 3305 | [[package]] 3306 | name = "static_assertions" 3307 | version = "1.1.0" 3308 | source = "registry+https://github.com/rust-lang/crates.io-index" 3309 | checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 3310 | 3311 | [[package]] 3312 | name = "strsim" 3313 | version = "0.10.0" 3314 | source = "registry+https://github.com/rust-lang/crates.io-index" 3315 | checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" 3316 | 3317 | [[package]] 3318 | name = "strum" 3319 | version = "0.24.1" 3320 | source = "registry+https://github.com/rust-lang/crates.io-index" 3321 | checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" 3322 | dependencies = [ 3323 | "strum_macros", 3324 | ] 3325 | 3326 | [[package]] 3327 | name = "strum_macros" 3328 | version = "0.24.3" 3329 | source = "registry+https://github.com/rust-lang/crates.io-index" 3330 | checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" 3331 | dependencies = [ 3332 | "heck", 3333 | "proc-macro2", 3334 | "quote", 3335 | "rustversion", 3336 | "syn 1.0.109", 3337 | ] 3338 | 3339 | [[package]] 3340 | name = "subtle" 3341 | version = "2.5.0" 3342 | source = "registry+https://github.com/rust-lang/crates.io-index" 3343 | checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" 3344 | 3345 | [[package]] 3346 | name = "syn" 3347 | version = "1.0.109" 3348 | source = "registry+https://github.com/rust-lang/crates.io-index" 3349 | checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 3350 | dependencies = [ 3351 | "proc-macro2", 3352 | "quote", 3353 | "unicode-ident", 3354 | ] 3355 | 3356 | [[package]] 3357 | name = "syn" 3358 | version = "2.0.46" 3359 | source = "registry+https://github.com/rust-lang/crates.io-index" 3360 | checksum = "89456b690ff72fddcecf231caedbe615c59480c93358a93dfae7fc29e3ebbf0e" 3361 | dependencies = [ 3362 | "proc-macro2", 3363 | "quote", 3364 | "unicode-ident", 3365 | ] 3366 | 3367 | [[package]] 3368 | name = "sync_wrapper" 3369 | version = "0.1.2" 3370 | source = "registry+https://github.com/rust-lang/crates.io-index" 3371 | checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" 3372 | 3373 | [[package]] 3374 | name = "synstructure" 3375 | version = "0.13.0" 3376 | source = "registry+https://github.com/rust-lang/crates.io-index" 3377 | checksum = "285ba80e733fac80aa4270fbcdf83772a79b80aa35c97075320abfee4a915b06" 3378 | dependencies = [ 3379 | "proc-macro2", 3380 | "quote", 3381 | "syn 2.0.46", 3382 | "unicode-xid", 3383 | ] 3384 | 3385 | [[package]] 3386 | name = "system-configuration" 3387 | version = "0.5.1" 3388 | source = "registry+https://github.com/rust-lang/crates.io-index" 3389 | checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" 3390 | dependencies = [ 3391 | "bitflags 1.3.2", 3392 | "core-foundation", 3393 | "system-configuration-sys", 3394 | ] 3395 | 3396 | [[package]] 3397 | name = "system-configuration-sys" 3398 | version = "0.5.0" 3399 | source = "registry+https://github.com/rust-lang/crates.io-index" 3400 | checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" 3401 | dependencies = [ 3402 | "core-foundation-sys", 3403 | "libc", 3404 | ] 3405 | 3406 | [[package]] 3407 | name = "tai64" 3408 | version = "4.0.0" 3409 | source = "registry+https://github.com/rust-lang/crates.io-index" 3410 | checksum = "ed7401421025f4132e6c1f7af5e7f8287383969f36e6628016cd509b8d3da9dc" 3411 | dependencies = [ 3412 | "serde", 3413 | ] 3414 | 3415 | [[package]] 3416 | name = "tap" 3417 | version = "1.0.1" 3418 | source = "registry+https://github.com/rust-lang/crates.io-index" 3419 | checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" 3420 | 3421 | [[package]] 3422 | name = "tempfile" 3423 | version = "3.9.0" 3424 | source = "registry+https://github.com/rust-lang/crates.io-index" 3425 | checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa" 3426 | dependencies = [ 3427 | "cfg-if", 3428 | "fastrand", 3429 | "redox_syscall", 3430 | "rustix", 3431 | "windows-sys 0.52.0", 3432 | ] 3433 | 3434 | [[package]] 3435 | name = "thiserror" 3436 | version = "1.0.56" 3437 | source = "registry+https://github.com/rust-lang/crates.io-index" 3438 | checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" 3439 | dependencies = [ 3440 | "thiserror-impl", 3441 | ] 3442 | 3443 | [[package]] 3444 | name = "thiserror-impl" 3445 | version = "1.0.56" 3446 | source = "registry+https://github.com/rust-lang/crates.io-index" 3447 | checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" 3448 | dependencies = [ 3449 | "proc-macro2", 3450 | "quote", 3451 | "syn 2.0.46", 3452 | ] 3453 | 3454 | [[package]] 3455 | name = "time" 3456 | version = "0.3.31" 3457 | source = "registry+https://github.com/rust-lang/crates.io-index" 3458 | checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e" 3459 | dependencies = [ 3460 | "deranged", 3461 | "itoa", 3462 | "powerfmt", 3463 | "serde", 3464 | "time-core", 3465 | "time-macros", 3466 | ] 3467 | 3468 | [[package]] 3469 | name = "time-core" 3470 | version = "0.1.2" 3471 | source = "registry+https://github.com/rust-lang/crates.io-index" 3472 | checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" 3473 | 3474 | [[package]] 3475 | name = "time-macros" 3476 | version = "0.2.16" 3477 | source = "registry+https://github.com/rust-lang/crates.io-index" 3478 | checksum = "26197e33420244aeb70c3e8c78376ca46571bc4e701e4791c2cd9f57dcb3a43f" 3479 | dependencies = [ 3480 | "time-core", 3481 | ] 3482 | 3483 | [[package]] 3484 | name = "tinyvec" 3485 | version = "1.6.0" 3486 | source = "registry+https://github.com/rust-lang/crates.io-index" 3487 | checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" 3488 | dependencies = [ 3489 | "tinyvec_macros", 3490 | ] 3491 | 3492 | [[package]] 3493 | name = "tinyvec_macros" 3494 | version = "0.1.1" 3495 | source = "registry+https://github.com/rust-lang/crates.io-index" 3496 | checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 3497 | 3498 | [[package]] 3499 | name = "tokio" 3500 | version = "1.35.1" 3501 | source = "registry+https://github.com/rust-lang/crates.io-index" 3502 | checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104" 3503 | dependencies = [ 3504 | "backtrace", 3505 | "bytes", 3506 | "libc", 3507 | "mio", 3508 | "num_cpus", 3509 | "parking_lot", 3510 | "pin-project-lite", 3511 | "signal-hook-registry", 3512 | "socket2", 3513 | "tokio-macros", 3514 | "windows-sys 0.48.0", 3515 | ] 3516 | 3517 | [[package]] 3518 | name = "tokio-io-timeout" 3519 | version = "1.2.0" 3520 | source = "registry+https://github.com/rust-lang/crates.io-index" 3521 | checksum = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf" 3522 | dependencies = [ 3523 | "pin-project-lite", 3524 | "tokio", 3525 | ] 3526 | 3527 | [[package]] 3528 | name = "tokio-macros" 3529 | version = "2.2.0" 3530 | source = "registry+https://github.com/rust-lang/crates.io-index" 3531 | checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" 3532 | dependencies = [ 3533 | "proc-macro2", 3534 | "quote", 3535 | "syn 2.0.46", 3536 | ] 3537 | 3538 | [[package]] 3539 | name = "tokio-rayon" 3540 | version = "2.1.0" 3541 | source = "registry+https://github.com/rust-lang/crates.io-index" 3542 | checksum = "7cf33a76e0b1dd03b778f83244137bd59887abf25c0e87bc3e7071105f457693" 3543 | dependencies = [ 3544 | "rayon", 3545 | "tokio", 3546 | ] 3547 | 3548 | [[package]] 3549 | name = "tokio-rustls" 3550 | version = "0.22.0" 3551 | source = "registry+https://github.com/rust-lang/crates.io-index" 3552 | checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" 3553 | dependencies = [ 3554 | "rustls 0.19.1", 3555 | "tokio", 3556 | "webpki", 3557 | ] 3558 | 3559 | [[package]] 3560 | name = "tokio-rustls" 3561 | version = "0.24.1" 3562 | source = "registry+https://github.com/rust-lang/crates.io-index" 3563 | checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" 3564 | dependencies = [ 3565 | "rustls 0.21.10", 3566 | "tokio", 3567 | ] 3568 | 3569 | [[package]] 3570 | name = "tokio-stream" 3571 | version = "0.1.14" 3572 | source = "registry+https://github.com/rust-lang/crates.io-index" 3573 | checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" 3574 | dependencies = [ 3575 | "futures-core", 3576 | "pin-project-lite", 3577 | "tokio", 3578 | "tokio-util", 3579 | ] 3580 | 3581 | [[package]] 3582 | name = "tokio-util" 3583 | version = "0.7.10" 3584 | source = "registry+https://github.com/rust-lang/crates.io-index" 3585 | checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" 3586 | dependencies = [ 3587 | "bytes", 3588 | "futures-core", 3589 | "futures-sink", 3590 | "pin-project-lite", 3591 | "tokio", 3592 | "tracing", 3593 | ] 3594 | 3595 | [[package]] 3596 | name = "toml_datetime" 3597 | version = "0.6.3" 3598 | source = "registry+https://github.com/rust-lang/crates.io-index" 3599 | checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" 3600 | 3601 | [[package]] 3602 | name = "toml_edit" 3603 | version = "0.19.15" 3604 | source = "registry+https://github.com/rust-lang/crates.io-index" 3605 | checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" 3606 | dependencies = [ 3607 | "indexmap 2.1.0", 3608 | "toml_datetime", 3609 | "winnow", 3610 | ] 3611 | 3612 | [[package]] 3613 | name = "toml_edit" 3614 | version = "0.20.2" 3615 | source = "registry+https://github.com/rust-lang/crates.io-index" 3616 | checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" 3617 | dependencies = [ 3618 | "indexmap 2.1.0", 3619 | "toml_datetime", 3620 | "winnow", 3621 | ] 3622 | 3623 | [[package]] 3624 | name = "tower" 3625 | version = "0.4.13" 3626 | source = "registry+https://github.com/rust-lang/crates.io-index" 3627 | checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" 3628 | dependencies = [ 3629 | "futures-core", 3630 | "futures-util", 3631 | "pin-project", 3632 | "pin-project-lite", 3633 | "tokio", 3634 | "tower-layer", 3635 | "tower-service", 3636 | "tracing", 3637 | ] 3638 | 3639 | [[package]] 3640 | name = "tower-http" 3641 | version = "0.3.5" 3642 | source = "registry+https://github.com/rust-lang/crates.io-index" 3643 | checksum = "f873044bf02dd1e8239e9c1293ea39dad76dc594ec16185d0a1bf31d8dc8d858" 3644 | dependencies = [ 3645 | "bitflags 1.3.2", 3646 | "bytes", 3647 | "futures-core", 3648 | "futures-util", 3649 | "http", 3650 | "http-body", 3651 | "http-range-header", 3652 | "pin-project-lite", 3653 | "tokio", 3654 | "tower", 3655 | "tower-layer", 3656 | "tower-service", 3657 | "tracing", 3658 | ] 3659 | 3660 | [[package]] 3661 | name = "tower-layer" 3662 | version = "0.3.2" 3663 | source = "registry+https://github.com/rust-lang/crates.io-index" 3664 | checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" 3665 | 3666 | [[package]] 3667 | name = "tower-service" 3668 | version = "0.3.2" 3669 | source = "registry+https://github.com/rust-lang/crates.io-index" 3670 | checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" 3671 | 3672 | [[package]] 3673 | name = "tracing" 3674 | version = "0.1.40" 3675 | source = "registry+https://github.com/rust-lang/crates.io-index" 3676 | checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" 3677 | dependencies = [ 3678 | "log", 3679 | "pin-project-lite", 3680 | "tracing-attributes", 3681 | "tracing-core", 3682 | ] 3683 | 3684 | [[package]] 3685 | name = "tracing-attributes" 3686 | version = "0.1.27" 3687 | source = "registry+https://github.com/rust-lang/crates.io-index" 3688 | checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" 3689 | dependencies = [ 3690 | "proc-macro2", 3691 | "quote", 3692 | "syn 2.0.46", 3693 | ] 3694 | 3695 | [[package]] 3696 | name = "tracing-core" 3697 | version = "0.1.32" 3698 | source = "registry+https://github.com/rust-lang/crates.io-index" 3699 | checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" 3700 | dependencies = [ 3701 | "once_cell", 3702 | ] 3703 | 3704 | [[package]] 3705 | name = "tracing-futures" 3706 | version = "0.2.5" 3707 | source = "registry+https://github.com/rust-lang/crates.io-index" 3708 | checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" 3709 | dependencies = [ 3710 | "futures", 3711 | "futures-task", 3712 | "pin-project", 3713 | "tracing", 3714 | ] 3715 | 3716 | [[package]] 3717 | name = "try-lock" 3718 | version = "0.2.5" 3719 | source = "registry+https://github.com/rust-lang/crates.io-index" 3720 | checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" 3721 | 3722 | [[package]] 3723 | name = "typenum" 3724 | version = "1.17.0" 3725 | source = "registry+https://github.com/rust-lang/crates.io-index" 3726 | checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" 3727 | 3728 | [[package]] 3729 | name = "ucd-trie" 3730 | version = "0.1.6" 3731 | source = "registry+https://github.com/rust-lang/crates.io-index" 3732 | checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" 3733 | 3734 | [[package]] 3735 | name = "uint" 3736 | version = "0.9.5" 3737 | source = "registry+https://github.com/rust-lang/crates.io-index" 3738 | checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52" 3739 | dependencies = [ 3740 | "byteorder", 3741 | "crunchy", 3742 | "hex", 3743 | "static_assertions", 3744 | ] 3745 | 3746 | [[package]] 3747 | name = "unicode-bidi" 3748 | version = "0.3.14" 3749 | source = "registry+https://github.com/rust-lang/crates.io-index" 3750 | checksum = "6f2528f27a9eb2b21e69c95319b30bd0efd85d09c379741b0f78ea1d86be2416" 3751 | 3752 | [[package]] 3753 | name = "unicode-ident" 3754 | version = "1.0.12" 3755 | source = "registry+https://github.com/rust-lang/crates.io-index" 3756 | checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" 3757 | 3758 | [[package]] 3759 | name = "unicode-normalization" 3760 | version = "0.1.22" 3761 | source = "registry+https://github.com/rust-lang/crates.io-index" 3762 | checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" 3763 | dependencies = [ 3764 | "tinyvec", 3765 | ] 3766 | 3767 | [[package]] 3768 | name = "unicode-xid" 3769 | version = "0.2.4" 3770 | source = "registry+https://github.com/rust-lang/crates.io-index" 3771 | checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" 3772 | 3773 | [[package]] 3774 | name = "unreachable" 3775 | version = "1.0.0" 3776 | source = "registry+https://github.com/rust-lang/crates.io-index" 3777 | checksum = "382810877fe448991dfc7f0dd6e3ae5d58088fd0ea5e35189655f84e6814fa56" 3778 | dependencies = [ 3779 | "void", 3780 | ] 3781 | 3782 | [[package]] 3783 | name = "untrusted" 3784 | version = "0.7.1" 3785 | source = "registry+https://github.com/rust-lang/crates.io-index" 3786 | checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" 3787 | 3788 | [[package]] 3789 | name = "untrusted" 3790 | version = "0.9.0" 3791 | source = "registry+https://github.com/rust-lang/crates.io-index" 3792 | checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" 3793 | 3794 | [[package]] 3795 | name = "url" 3796 | version = "2.5.0" 3797 | source = "registry+https://github.com/rust-lang/crates.io-index" 3798 | checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" 3799 | dependencies = [ 3800 | "form_urlencoded", 3801 | "idna 0.5.0", 3802 | "percent-encoding", 3803 | ] 3804 | 3805 | [[package]] 3806 | name = "utf8parse" 3807 | version = "0.2.1" 3808 | source = "registry+https://github.com/rust-lang/crates.io-index" 3809 | checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" 3810 | 3811 | [[package]] 3812 | name = "uuid" 3813 | version = "0.8.2" 3814 | source = "registry+https://github.com/rust-lang/crates.io-index" 3815 | checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" 3816 | dependencies = [ 3817 | "getrandom", 3818 | "serde", 3819 | ] 3820 | 3821 | [[package]] 3822 | name = "uuid" 3823 | version = "1.6.1" 3824 | source = "registry+https://github.com/rust-lang/crates.io-index" 3825 | checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560" 3826 | dependencies = [ 3827 | "getrandom", 3828 | ] 3829 | 3830 | [[package]] 3831 | name = "version_check" 3832 | version = "0.9.4" 3833 | source = "registry+https://github.com/rust-lang/crates.io-index" 3834 | checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 3835 | 3836 | [[package]] 3837 | name = "void" 3838 | version = "1.0.2" 3839 | source = "registry+https://github.com/rust-lang/crates.io-index" 3840 | checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" 3841 | 3842 | [[package]] 3843 | name = "want" 3844 | version = "0.3.1" 3845 | source = "registry+https://github.com/rust-lang/crates.io-index" 3846 | checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" 3847 | dependencies = [ 3848 | "try-lock", 3849 | ] 3850 | 3851 | [[package]] 3852 | name = "wasi" 3853 | version = "0.11.0+wasi-snapshot-preview1" 3854 | source = "registry+https://github.com/rust-lang/crates.io-index" 3855 | checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 3856 | 3857 | [[package]] 3858 | name = "wasm-bindgen" 3859 | version = "0.2.89" 3860 | source = "registry+https://github.com/rust-lang/crates.io-index" 3861 | checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e" 3862 | dependencies = [ 3863 | "cfg-if", 3864 | "wasm-bindgen-macro", 3865 | ] 3866 | 3867 | [[package]] 3868 | name = "wasm-bindgen-backend" 3869 | version = "0.2.89" 3870 | source = "registry+https://github.com/rust-lang/crates.io-index" 3871 | checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826" 3872 | dependencies = [ 3873 | "bumpalo", 3874 | "log", 3875 | "once_cell", 3876 | "proc-macro2", 3877 | "quote", 3878 | "syn 2.0.46", 3879 | "wasm-bindgen-shared", 3880 | ] 3881 | 3882 | [[package]] 3883 | name = "wasm-bindgen-futures" 3884 | version = "0.4.39" 3885 | source = "registry+https://github.com/rust-lang/crates.io-index" 3886 | checksum = "ac36a15a220124ac510204aec1c3e5db8a22ab06fd6706d881dc6149f8ed9a12" 3887 | dependencies = [ 3888 | "cfg-if", 3889 | "js-sys", 3890 | "wasm-bindgen", 3891 | "web-sys", 3892 | ] 3893 | 3894 | [[package]] 3895 | name = "wasm-bindgen-macro" 3896 | version = "0.2.89" 3897 | source = "registry+https://github.com/rust-lang/crates.io-index" 3898 | checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2" 3899 | dependencies = [ 3900 | "quote", 3901 | "wasm-bindgen-macro-support", 3902 | ] 3903 | 3904 | [[package]] 3905 | name = "wasm-bindgen-macro-support" 3906 | version = "0.2.89" 3907 | source = "registry+https://github.com/rust-lang/crates.io-index" 3908 | checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" 3909 | dependencies = [ 3910 | "proc-macro2", 3911 | "quote", 3912 | "syn 2.0.46", 3913 | "wasm-bindgen-backend", 3914 | "wasm-bindgen-shared", 3915 | ] 3916 | 3917 | [[package]] 3918 | name = "wasm-bindgen-shared" 3919 | version = "0.2.89" 3920 | source = "registry+https://github.com/rust-lang/crates.io-index" 3921 | checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f" 3922 | 3923 | [[package]] 3924 | name = "web-sys" 3925 | version = "0.3.66" 3926 | source = "registry+https://github.com/rust-lang/crates.io-index" 3927 | checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f" 3928 | dependencies = [ 3929 | "js-sys", 3930 | "wasm-bindgen", 3931 | ] 3932 | 3933 | [[package]] 3934 | name = "webpki" 3935 | version = "0.21.4" 3936 | source = "registry+https://github.com/rust-lang/crates.io-index" 3937 | checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" 3938 | dependencies = [ 3939 | "ring 0.16.20", 3940 | "untrusted 0.7.1", 3941 | ] 3942 | 3943 | [[package]] 3944 | name = "webpki-roots" 3945 | version = "0.25.3" 3946 | source = "registry+https://github.com/rust-lang/crates.io-index" 3947 | checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" 3948 | 3949 | [[package]] 3950 | name = "which" 3951 | version = "5.0.0" 3952 | source = "registry+https://github.com/rust-lang/crates.io-index" 3953 | checksum = "9bf3ea8596f3a0dd5980b46430f2058dfe2c36a27ccfbb1845d6fbfcd9ba6e14" 3954 | dependencies = [ 3955 | "either", 3956 | "home", 3957 | "once_cell", 3958 | "rustix", 3959 | "windows-sys 0.48.0", 3960 | ] 3961 | 3962 | [[package]] 3963 | name = "winapi" 3964 | version = "0.3.9" 3965 | source = "registry+https://github.com/rust-lang/crates.io-index" 3966 | checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 3967 | dependencies = [ 3968 | "winapi-i686-pc-windows-gnu", 3969 | "winapi-x86_64-pc-windows-gnu", 3970 | ] 3971 | 3972 | [[package]] 3973 | name = "winapi-i686-pc-windows-gnu" 3974 | version = "0.4.0" 3975 | source = "registry+https://github.com/rust-lang/crates.io-index" 3976 | checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 3977 | 3978 | [[package]] 3979 | name = "winapi-x86_64-pc-windows-gnu" 3980 | version = "0.4.0" 3981 | source = "registry+https://github.com/rust-lang/crates.io-index" 3982 | checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 3983 | 3984 | [[package]] 3985 | name = "windows-core" 3986 | version = "0.52.0" 3987 | source = "registry+https://github.com/rust-lang/crates.io-index" 3988 | checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" 3989 | dependencies = [ 3990 | "windows-targets 0.52.0", 3991 | ] 3992 | 3993 | [[package]] 3994 | name = "windows-sys" 3995 | version = "0.48.0" 3996 | source = "registry+https://github.com/rust-lang/crates.io-index" 3997 | checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 3998 | dependencies = [ 3999 | "windows-targets 0.48.5", 4000 | ] 4001 | 4002 | [[package]] 4003 | name = "windows-sys" 4004 | version = "0.52.0" 4005 | source = "registry+https://github.com/rust-lang/crates.io-index" 4006 | checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 4007 | dependencies = [ 4008 | "windows-targets 0.52.0", 4009 | ] 4010 | 4011 | [[package]] 4012 | name = "windows-targets" 4013 | version = "0.48.5" 4014 | source = "registry+https://github.com/rust-lang/crates.io-index" 4015 | checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" 4016 | dependencies = [ 4017 | "windows_aarch64_gnullvm 0.48.5", 4018 | "windows_aarch64_msvc 0.48.5", 4019 | "windows_i686_gnu 0.48.5", 4020 | "windows_i686_msvc 0.48.5", 4021 | "windows_x86_64_gnu 0.48.5", 4022 | "windows_x86_64_gnullvm 0.48.5", 4023 | "windows_x86_64_msvc 0.48.5", 4024 | ] 4025 | 4026 | [[package]] 4027 | name = "windows-targets" 4028 | version = "0.52.0" 4029 | source = "registry+https://github.com/rust-lang/crates.io-index" 4030 | checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" 4031 | dependencies = [ 4032 | "windows_aarch64_gnullvm 0.52.0", 4033 | "windows_aarch64_msvc 0.52.0", 4034 | "windows_i686_gnu 0.52.0", 4035 | "windows_i686_msvc 0.52.0", 4036 | "windows_x86_64_gnu 0.52.0", 4037 | "windows_x86_64_gnullvm 0.52.0", 4038 | "windows_x86_64_msvc 0.52.0", 4039 | ] 4040 | 4041 | [[package]] 4042 | name = "windows_aarch64_gnullvm" 4043 | version = "0.48.5" 4044 | source = "registry+https://github.com/rust-lang/crates.io-index" 4045 | checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 4046 | 4047 | [[package]] 4048 | name = "windows_aarch64_gnullvm" 4049 | version = "0.52.0" 4050 | source = "registry+https://github.com/rust-lang/crates.io-index" 4051 | checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" 4052 | 4053 | [[package]] 4054 | name = "windows_aarch64_msvc" 4055 | version = "0.48.5" 4056 | source = "registry+https://github.com/rust-lang/crates.io-index" 4057 | checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 4058 | 4059 | [[package]] 4060 | name = "windows_aarch64_msvc" 4061 | version = "0.52.0" 4062 | source = "registry+https://github.com/rust-lang/crates.io-index" 4063 | checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" 4064 | 4065 | [[package]] 4066 | name = "windows_i686_gnu" 4067 | version = "0.48.5" 4068 | source = "registry+https://github.com/rust-lang/crates.io-index" 4069 | checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 4070 | 4071 | [[package]] 4072 | name = "windows_i686_gnu" 4073 | version = "0.52.0" 4074 | source = "registry+https://github.com/rust-lang/crates.io-index" 4075 | checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" 4076 | 4077 | [[package]] 4078 | name = "windows_i686_msvc" 4079 | version = "0.48.5" 4080 | source = "registry+https://github.com/rust-lang/crates.io-index" 4081 | checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 4082 | 4083 | [[package]] 4084 | name = "windows_i686_msvc" 4085 | version = "0.52.0" 4086 | source = "registry+https://github.com/rust-lang/crates.io-index" 4087 | checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" 4088 | 4089 | [[package]] 4090 | name = "windows_x86_64_gnu" 4091 | version = "0.48.5" 4092 | source = "registry+https://github.com/rust-lang/crates.io-index" 4093 | checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 4094 | 4095 | [[package]] 4096 | name = "windows_x86_64_gnu" 4097 | version = "0.52.0" 4098 | source = "registry+https://github.com/rust-lang/crates.io-index" 4099 | checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" 4100 | 4101 | [[package]] 4102 | name = "windows_x86_64_gnullvm" 4103 | version = "0.48.5" 4104 | source = "registry+https://github.com/rust-lang/crates.io-index" 4105 | checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 4106 | 4107 | [[package]] 4108 | name = "windows_x86_64_gnullvm" 4109 | version = "0.52.0" 4110 | source = "registry+https://github.com/rust-lang/crates.io-index" 4111 | checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" 4112 | 4113 | [[package]] 4114 | name = "windows_x86_64_msvc" 4115 | version = "0.48.5" 4116 | source = "registry+https://github.com/rust-lang/crates.io-index" 4117 | checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 4118 | 4119 | [[package]] 4120 | name = "windows_x86_64_msvc" 4121 | version = "0.52.0" 4122 | source = "registry+https://github.com/rust-lang/crates.io-index" 4123 | checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" 4124 | 4125 | [[package]] 4126 | name = "winnow" 4127 | version = "0.5.32" 4128 | source = "registry+https://github.com/rust-lang/crates.io-index" 4129 | checksum = "8434aeec7b290e8da5c3f0d628cb0eac6cabcb31d14bb74f779a08109a5914d6" 4130 | dependencies = [ 4131 | "memchr", 4132 | ] 4133 | 4134 | [[package]] 4135 | name = "winreg" 4136 | version = "0.50.0" 4137 | source = "registry+https://github.com/rust-lang/crates.io-index" 4138 | checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" 4139 | dependencies = [ 4140 | "cfg-if", 4141 | "windows-sys 0.48.0", 4142 | ] 4143 | 4144 | [[package]] 4145 | name = "wyz" 4146 | version = "0.5.1" 4147 | source = "registry+https://github.com/rust-lang/crates.io-index" 4148 | checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" 4149 | dependencies = [ 4150 | "tap", 4151 | ] 4152 | 4153 | [[package]] 4154 | name = "zerocopy" 4155 | version = "0.7.32" 4156 | source = "registry+https://github.com/rust-lang/crates.io-index" 4157 | checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" 4158 | dependencies = [ 4159 | "zerocopy-derive", 4160 | ] 4161 | 4162 | [[package]] 4163 | name = "zerocopy-derive" 4164 | version = "0.7.32" 4165 | source = "registry+https://github.com/rust-lang/crates.io-index" 4166 | checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" 4167 | dependencies = [ 4168 | "proc-macro2", 4169 | "quote", 4170 | "syn 2.0.46", 4171 | ] 4172 | 4173 | [[package]] 4174 | name = "zeroize" 4175 | version = "1.7.0" 4176 | source = "registry+https://github.com/rust-lang/crates.io-index" 4177 | checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" 4178 | dependencies = [ 4179 | "zeroize_derive", 4180 | ] 4181 | 4182 | [[package]] 4183 | name = "zeroize_derive" 4184 | version = "1.4.2" 4185 | source = "registry+https://github.com/rust-lang/crates.io-index" 4186 | checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" 4187 | dependencies = [ 4188 | "proc-macro2", 4189 | "quote", 4190 | "syn 2.0.46", 4191 | ] 4192 | -------------------------------------------------------------------------------- /counter-contract/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "counter-contract" 3 | description = "A cargo-generate template for Rust + Sway integration testing." 4 | version = "0.1.0" 5 | edition = "2021" 6 | authors = ["Fuel Labs "] 7 | license = "Apache-2.0" 8 | 9 | [dev-dependencies] 10 | fuels = { version = "0.53.0", features = ["fuel-core-lib"] } 11 | tokio = { version = "1.12", features = ["rt", "macros"] } 12 | 13 | [[test]] 14 | harness = true 15 | name = "integration_tests" 16 | path = "tests/harness.rs" 17 | -------------------------------------------------------------------------------- /counter-contract/Forc.lock: -------------------------------------------------------------------------------- 1 | [[package]] 2 | name = "core" 3 | source = "path+from-root-B672DC9E3D340CD2" 4 | 5 | [[package]] 6 | name = "counter-contract" 7 | source = "member" 8 | dependencies = ["std"] 9 | 10 | [[package]] 11 | name = "std" 12 | source = "git+https://github.com/fuellabs/sway?tag=v0.49.2#a70c746d27b3300beef896ccd1dcce1299836192" 13 | dependencies = ["core"] 14 | -------------------------------------------------------------------------------- /counter-contract/Forc.toml: -------------------------------------------------------------------------------- 1 | [project] 2 | authors = ["Camila Ramos"] 3 | entry = "main.sw" 4 | license = "Apache-2.0" 5 | name = "counter-contract" 6 | 7 | [dependencies] 8 | -------------------------------------------------------------------------------- /counter-contract/src/main.sw: -------------------------------------------------------------------------------- 1 | /* ANCHOR: all */ 2 | // ANCHOR: contract 3 | contract; 4 | // ANCHOR_END: contract 5 | 6 | // ANCHOR: storage 7 | storage { 8 | counter: u64 = 0, 9 | } 10 | // ANCHOR_END: storage 11 | 12 | // ANCHOR: abi 13 | abi Counter { 14 | #[storage(read, write)] 15 | fn increment(); 16 | 17 | #[storage(read)] 18 | fn count() -> u64; 19 | } 20 | // ANCHOR_END: abi 21 | 22 | // ANCHOR: counter-contract 23 | impl Counter for Contract { 24 | #[storage(read)] 25 | // ANCHOR: count 26 | fn count() -> u64 { 27 | storage.counter.read() 28 | } 29 | // ANCHOR_END: count 30 | 31 | #[storage(read, write)] 32 | // ANCHOR: increment 33 | fn increment() { 34 | let incremented = storage.counter.read() + 1; 35 | storage.counter.write(incremented); 36 | } 37 | // ANCHOR_END: increment 38 | } 39 | // ANCHOR_END: counter-contract 40 | /* ANCHOR_END: all */ -------------------------------------------------------------------------------- /counter-contract/tests/harness.rs: -------------------------------------------------------------------------------- 1 | /* ANCHOR: contract-test-all */ 2 | use fuels::{prelude::*, types::ContractId}; 3 | 4 | // Load abi from json 5 | abigen!(Contract( 6 | name = "MyContract", 7 | abi = "out/debug/counter-contract-abi.json" 8 | )); 9 | 10 | async fn get_contract_instance() -> (MyContract, ContractId) { 11 | // Launch a local network and deploy the contract 12 | let mut wallets = launch_custom_provider_and_get_wallets( 13 | WalletsConfig::new( 14 | Some(1), /* Single wallet */ 15 | Some(1), /* Single coin (UTXO) */ 16 | Some(1_000_000_000), /* Amount per coin */ 17 | ), 18 | None, 19 | None, 20 | ) 21 | .await 22 | .unwrap(); 23 | let wallet = wallets.pop().unwrap(); 24 | 25 | let id = Contract::load_from( 26 | "./out/debug/counter-contract.bin", 27 | LoadConfiguration::default(), 28 | ) 29 | .unwrap() 30 | .deploy(&wallet, TxPolicies::default()) 31 | .await 32 | .unwrap(); 33 | 34 | let instance = MyContract::new(id.clone(), wallet); 35 | 36 | (instance, id.into()) 37 | } 38 | 39 | #[tokio::test] 40 | async fn can_get_contract_id() { 41 | let (_instance, _id) = get_contract_instance().await; 42 | 43 | // Now you have an instance of your contract you can use to test each function 44 | } 45 | 46 | // ANCHOR: contract-test 47 | #[tokio::test] 48 | async fn test_increment() { 49 | let (instance, _id) = get_contract_instance().await; 50 | 51 | // Increment the counter 52 | instance.methods().increment().call().await.unwrap(); 53 | 54 | // Get the current value of the counter 55 | let result = instance.methods().count().call().await.unwrap(); 56 | 57 | // Check that the current value of the counter is 1. 58 | // Recall that the initial value of the counter was 0. 59 | assert_eq!(result.value, 1); 60 | } 61 | // ANCHOR_END: contract-test 62 | /* ANCHOR_END: contract-test-all */ 63 | -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- 1 | # Getting Started with Create React App 2 | 3 | This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). 4 | 5 | ## Available Scripts 6 | 7 | In the project directory, you can run: 8 | 9 | ### `npm start` 10 | 11 | Runs the app in the development mode.\ 12 | Open [http://localhost:3000](http://localhost:3000) to view it in the browser. 13 | 14 | The page will reload if you make edits.\ 15 | You will also see any lint errors in the console. 16 | 17 | ### `npm test` 18 | 19 | Launches the test runner in the interactive watch mode.\ 20 | See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. 21 | 22 | ### `npm run build` 23 | 24 | Builds the app for production to the `build` folder.\ 25 | It correctly bundles React in production mode and optimizes the build for the best performance. 26 | 27 | The build is minified and the filenames include the hashes.\ 28 | Your app is ready to be deployed! 29 | 30 | See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. 31 | 32 | ### `npm run eject` 33 | 34 | **Note: this is a one-way operation. Once you `eject`, you can’t go back!** 35 | 36 | If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. 37 | 38 | Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. 39 | 40 | You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. 41 | 42 | ## Learn More 43 | 44 | You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). 45 | 46 | To learn React, check out the [React documentation](https://reactjs.org/). 47 | -------------------------------------------------------------------------------- /frontend/fuels.config.ts: -------------------------------------------------------------------------------- 1 | import { createConfig } from 'fuels'; 2 | 3 | export default createConfig({ 4 | contracts: [ 5 | '../counter-contract', 6 | ], 7 | output: './src/sway-api', 8 | }); 9 | 10 | /** 11 | * Check the docs: 12 | * https://fuellabs.github.io/fuels-ts/guide/cli/config-file 13 | */ 14 | -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "frontend", 3 | "version": "0.1.0", 4 | "private": true, 5 | "dependencies": { 6 | "@fuel-wallet/react": "^0.15.2", 7 | "@fuel-wallet/sdk": "^0.15.2", 8 | "@testing-library/jest-dom": "^5.16.5", 9 | "@testing-library/react": "^13.4.0", 10 | "@testing-library/user-event": "^13.5.0", 11 | "@types/jest": "^27.5.2", 12 | "@types/node": "^16.18.8", 13 | "@types/react": "^18.0.26", 14 | "@types/react-dom": "^18.0.9", 15 | "fuels": "^0.73.0", 16 | "react": "^18.2.0", 17 | "react-dom": "^18.2.0", 18 | "react-scripts": "5.0.1", 19 | "typescript": "^4.9.4", 20 | "web-vitals": "^2.1.4" 21 | }, 22 | "scripts": { 23 | "start": "react-scripts start", 24 | "build": "react-scripts build", 25 | "test": "react-scripts test", 26 | "eject": "react-scripts eject" 27 | }, 28 | "eslintConfig": { 29 | "extends": [ 30 | "react-app", 31 | "react-app/jest" 32 | ] 33 | }, 34 | "browserslist": { 35 | "production": [ 36 | ">0.2%", 37 | "not dead", 38 | "not op_mini all" 39 | ], 40 | "development": [ 41 | "last 1 chrome version", 42 | "last 1 firefox version", 43 | "last 1 safari version" 44 | ] 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/quickstart/15f331f85a4145ea57497112b8c4ad5e78b00dd2/frontend/public/favicon.ico -------------------------------------------------------------------------------- /frontend/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 15 | 16 | 25 | Fuel Quickstart 26 | 27 | 28 | 29 | 30 |
31 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /frontend/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/quickstart/15f331f85a4145ea57497112b8c4ad5e78b00dd2/frontend/public/logo192.png -------------------------------------------------------------------------------- /frontend/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/quickstart/15f331f85a4145ea57497112b8c4ad5e78b00dd2/frontend/public/logo512.png -------------------------------------------------------------------------------- /frontend/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /frontend/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /frontend/src/App.test.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { render, screen } from '@testing-library/react'; 3 | import App from './App'; 4 | 5 | test('renders learn react link', () => { 6 | render(); 7 | const linkElement = screen.getByText(/learn react/i); 8 | expect(linkElement).toBeInTheDocument(); 9 | }); 10 | -------------------------------------------------------------------------------- /frontend/src/App.tsx: -------------------------------------------------------------------------------- 1 | import { useEffect, useState } from "react"; 2 | import { 3 | useConnectUI, 4 | useIsConnected, 5 | useWallet, 6 | } from '@fuel-wallet/react'; 7 | // Import the contract factory -- you can find the name in src/sway-api/contracts/index.ts. 8 | // You can also do command + space and the compiler will suggest the correct name. 9 | import { CounterContractAbi__factory } from "./sway-api" 10 | import type { CounterContractAbi } from "./sway-api"; 11 | 12 | // The address of the contract deployed the Fuel testnet 13 | const CONTRACT_ID = 14 | "0x78218d62429082ccf3f6a8a36155aaf771508c632c0855f8fe2d51d6f7baec73"; 15 | 16 | export default function Home() { 17 | const [contract, setContract] = useState(); 18 | const [counter, setCounter] = useState(); 19 | const { connect, setTheme, isConnecting } = 20 | useConnectUI(); 21 | const { isConnected } = useIsConnected(); 22 | const { wallet } = useWallet(); 23 | 24 | setTheme("dark"); 25 | 26 | useEffect(() => { 27 | async function getInitialCount(){ 28 | if(isConnected && wallet){ 29 | const counterContract = CounterContractAbi__factory.connect(CONTRACT_ID, wallet); 30 | await getCount(counterContract); 31 | setContract(counterContract); 32 | } 33 | } 34 | 35 | getInitialCount(); 36 | }, [isConnected, wallet]); 37 | 38 | const getCount = async (counterContract: CounterContractAbi) => { 39 | try{ 40 | const { value } = await counterContract.functions 41 | .count() 42 | .txParams({ 43 | gasPrice: 1, 44 | gasLimit: 100_000, 45 | }) 46 | .simulate(); 47 | setCounter(value.toNumber()); 48 | } catch(error) { 49 | console.error(error); 50 | } 51 | } 52 | 53 | const onIncrementPressed = async () => { 54 | if (!contract) { 55 | return alert("Contract not loaded"); 56 | } 57 | // Creates a transactions to call the increment function 58 | // because it creates a TX and updates the contract state 59 | // this requires the wallet to have enough coins to cover the costs and also to sign the Transaction 60 | try { 61 | await contract.functions 62 | .increment() 63 | .txParams({ 64 | gasPrice: 1, 65 | gasLimit: 100_000, 66 | }) 67 | .call(); 68 | await getCount(contract); 69 | } catch(error) { 70 | console.error(error); 71 | } 72 | }; 73 | 74 | return ( 75 |
76 |
77 | {isConnected ? ( 78 | <> 79 |

Counter

80 |
81 | {counter ?? 0} 82 |
83 | 89 | 90 | ) : ( 91 | 99 | )} 100 |
101 |
102 | ); 103 | } 104 | 105 | const styles = { 106 | root: { 107 | display: 'grid', 108 | placeItems: 'center', 109 | height: '100vh', 110 | width: '100vw', 111 | backgroundColor: "black", 112 | } as React.CSSProperties, 113 | container: { 114 | color: "#ffffffec", 115 | display: "flex", 116 | flexDirection: "column", 117 | alignItems: "center", 118 | } as React.CSSProperties, 119 | label: { 120 | fontSize: "28px", 121 | }, 122 | counter: { 123 | color: "#a0a0a0", 124 | fontSize: "48px", 125 | }, 126 | button: { 127 | borderRadius: "8px", 128 | marginTop: "24px", 129 | backgroundColor: "#707070", 130 | fontSize: "16px", 131 | color: "#ffffffec", 132 | border: "none", 133 | outline: "none", 134 | height: "60px", 135 | padding: "0 1rem", 136 | cursor: "pointer" 137 | }, 138 | } -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | code { 11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', 12 | monospace; 13 | } 14 | -------------------------------------------------------------------------------- /frontend/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom/client'; 3 | import './index.css'; 4 | import App from './App'; 5 | import reportWebVitals from './reportWebVitals'; 6 | import { FuelProvider } from '@fuel-wallet/react'; 7 | 8 | const root = ReactDOM.createRoot( 9 | document.getElementById('root') as HTMLElement 10 | ); 11 | root.render( 12 | 13 | 18 | 19 | 20 | 21 | ); 22 | 23 | // If you want to start measuring performance in your app, pass a function 24 | // to log results (for example: reportWebVitals(console.log)) 25 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals 26 | reportWebVitals(); 27 | -------------------------------------------------------------------------------- /frontend/src/logo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frontend/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /frontend/src/reportWebVitals.ts: -------------------------------------------------------------------------------- 1 | import { ReportHandler } from 'web-vitals'; 2 | 3 | const reportWebVitals = (onPerfEntry?: ReportHandler) => { 4 | if (onPerfEntry && onPerfEntry instanceof Function) { 5 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { 6 | getCLS(onPerfEntry); 7 | getFID(onPerfEntry); 8 | getFCP(onPerfEntry); 9 | getLCP(onPerfEntry); 10 | getTTFB(onPerfEntry); 11 | }); 12 | } 13 | }; 14 | 15 | export default reportWebVitals; 16 | -------------------------------------------------------------------------------- /frontend/src/setupTests.ts: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | -------------------------------------------------------------------------------- /frontend/src/sway-api/contracts/CounterContractAbi.d.ts: -------------------------------------------------------------------------------- 1 | /* Autogenerated file. Do not edit manually. */ 2 | 3 | /* tslint:disable */ 4 | /* eslint-disable */ 5 | 6 | /* 7 | Fuels version: 0.73.0 8 | Forc version: 0.49.2 9 | Fuel-Core version: 0.22.0 10 | */ 11 | 12 | import type { 13 | BigNumberish, 14 | BN, 15 | BytesLike, 16 | Contract, 17 | DecodedValue, 18 | FunctionFragment, 19 | Interface, 20 | InvokeFunction, 21 | } from 'fuels'; 22 | 23 | interface CounterContractAbiInterface extends Interface { 24 | functions: { 25 | count: FunctionFragment; 26 | increment: FunctionFragment; 27 | }; 28 | 29 | encodeFunctionData(functionFragment: 'count', values: []): Uint8Array; 30 | encodeFunctionData(functionFragment: 'increment', values: []): Uint8Array; 31 | 32 | decodeFunctionData(functionFragment: 'count', data: BytesLike): DecodedValue; 33 | decodeFunctionData(functionFragment: 'increment', data: BytesLike): DecodedValue; 34 | } 35 | 36 | export class CounterContractAbi extends Contract { 37 | interface: CounterContractAbiInterface; 38 | functions: { 39 | count: InvokeFunction<[], BN>; 40 | increment: InvokeFunction<[], void>; 41 | }; 42 | } 43 | -------------------------------------------------------------------------------- /frontend/src/sway-api/contracts/CounterContractAbi.hex.ts: -------------------------------------------------------------------------------- 1 | /* Autogenerated file. Do not edit manually. */ 2 | 3 | /* tslint:disable */ 4 | /* eslint-disable */ 5 | 6 | /* 7 | Fuels version: 0.73.0 8 | Forc version: 0.49.2 9 | Fuel-Core version: 0.22.0 10 | */ 11 | 12 | export default '0x7400000347000000000000000000059c5dfcc00110fff3005d4060495d47f00913490440764800055d47f00a134904407648007172f0007b36f000001aec5000910002185d43f00b104103005d47f00b104513007248002028ed04805fec0004504bb028724c0020284914c05d4fb0045d47f0041b4534405d4bf004104514805d4bf005104514805d4bf0061f4514805d4bf00719493480504fb09872500020284d05005043b1f872500020284135005043b1f8504fb1f85053b0e81ae910001ae5400020f8330058fbe00250fbe004740001131a47d0005053b1081ae810001ae5400020f8330058fbe00250fbe0047400010b1a53d0005057b13872580020285515805047b1b872580020284545805053b178a35154615047b1587250002028453500504fb1785053b198a35114e072440020284144405043b0b872440020284144405047b048724c0020284504c05fec100d5fed200e5043b0485047b1d872480020284504805d43b00d5d47b00e5d4bf0081b4904805d4ff0041b493480264800001a487000504fb1d8394904d0764000065043b0885fec0011504bb12872440010284904407400000a5043b0785fec100f5d4ff0041b453440104524405d4510005fed1010504bb12872440010284904405043b0d872440010284124405d43b0251341004076400001360000005d43b01c244000001aec5000910003f05d53f00b105143005d43f00b104103007244002028ed44405fec00045047b02872480020284504805d4bb0045d43f0041b4124005d47f004104104405d47f005104104405d47f0061f4104405d47f00719452440504bb110724c0020284944c0504fb39072500020284d2500504bb390504fb3905053b1a01ae900001ae5400020f8330058fbe00250fbe004740000a41a43d0005053b1c01ae810001ae5400020f8330058fbe00250fbe0047400009c1a53d0005057b23072580020285505805043b33072580020284145805053b2b0a35154215043b2507250002028413500504fb2b05053b2d0a35104e072400020284944005043b1307248002028414480504bb048724c0020284904c05fec100d5fed100e5043b0485047b37072480020284504805d43b00d5d47b00e5d4bf0081b4904805d4ff0041b493480264800001a487000504fb370394904d0764000065043b1005fec0020504bb22072440010284904407400000a5043b0f05fec101e5d4ff0041b453440104524405d4510005fed101f504bb22072440010284904405043b19072440010284124405d43b0441341004076400001360000005d43f00b104103005d47f00b104513005d4bb033105d2040504bb0a8724c0020284904c05fec001950492028724c0020284914c05d47b0195d4bf0041b4914805d4ff004104924c05d4ff005104924c05d4ff0061f4924c05d4ff007194514c0504fb15072500020284d05005043b3b072500020284135005043b3b0504fb3b05053b1e01ae920001ae5400020f8330058fbe00250fbe004740000361a4bd0005053b2001ae810001ae5400020f8330058fbe00250fbe0047400002e1a53d0005057b2707258002028552580504bb35072580020284945805053b2f0a35154a1504bb2907250002028493500504fb2f05053b310a35124e072480020284144805043b1707248002028414480504bb078724c0020284904c05fec10135fed10145043b0785047b3d072480020284504805d43b0135d47b0145d4bf0081b4904805d4ff0041b493480264800001a487000504fb3d0394934d05d4ff0041b453440104524405f4570005047b3d03b450490240000001af05000910000285ff100005ff110015ff120025ff130035ff3b0041aec5000910000201a43a0001a4790001a4be0005fec00005fec00015fec00025fed00031a43b000724c0020284504c01af51000920000201af9200059f050285d43c0005d47c0015d4bc0025d4fc0035defc004920000284af8000047000000f383b0ce51358be57daa3b725fe44acdb2d880604e367199080b4379c41bb6ed0000000000000008000000000000001f000000000000000500000000000000040000000000000020000000003c5bb3f2000000005842f1be000000000000059c' -------------------------------------------------------------------------------- /frontend/src/sway-api/contracts/factories/CounterContractAbi__factory.ts: -------------------------------------------------------------------------------- 1 | /* Autogenerated file. Do not edit manually. */ 2 | 3 | /* tslint:disable */ 4 | /* eslint-disable */ 5 | 6 | /* 7 | Fuels version: 0.73.0 8 | Forc version: 0.49.2 9 | Fuel-Core version: 0.22.0 10 | */ 11 | 12 | import { Interface, Contract, ContractFactory } from "fuels"; 13 | import type { Provider, Account, AbstractAddress, BytesLike, DeployContractOptions, StorageSlot } from "fuels"; 14 | import type { CounterContractAbi, CounterContractAbiInterface } from "../CounterContractAbi"; 15 | 16 | const _abi = { 17 | "types": [ 18 | { 19 | "typeId": 0, 20 | "type": "()", 21 | "components": [], 22 | "typeParameters": null 23 | }, 24 | { 25 | "typeId": 1, 26 | "type": "u64", 27 | "components": null, 28 | "typeParameters": null 29 | } 30 | ], 31 | "functions": [ 32 | { 33 | "inputs": [], 34 | "name": "count", 35 | "output": { 36 | "name": "", 37 | "type": 1, 38 | "typeArguments": null 39 | }, 40 | "attributes": [ 41 | { 42 | "name": "storage", 43 | "arguments": [ 44 | "read" 45 | ] 46 | } 47 | ] 48 | }, 49 | { 50 | "inputs": [], 51 | "name": "increment", 52 | "output": { 53 | "name": "", 54 | "type": 0, 55 | "typeArguments": null 56 | }, 57 | "attributes": [ 58 | { 59 | "name": "storage", 60 | "arguments": [ 61 | "read", 62 | "write" 63 | ] 64 | } 65 | ] 66 | } 67 | ], 68 | "loggedTypes": [], 69 | "messagesTypes": [], 70 | "configurables": [] 71 | }; 72 | 73 | const _storageSlots: StorageSlot[] = [ 74 | { 75 | "key": "f383b0ce51358be57daa3b725fe44acdb2d880604e367199080b4379c41bb6ed", 76 | "value": "0000000000000000000000000000000000000000000000000000000000000000" 77 | } 78 | ]; 79 | 80 | export class CounterContractAbi__factory { 81 | static readonly abi = _abi; 82 | 83 | static readonly storageSlots = _storageSlots; 84 | 85 | static createInterface(): CounterContractAbiInterface { 86 | return new Interface(_abi) as unknown as CounterContractAbiInterface 87 | } 88 | 89 | static connect( 90 | id: string | AbstractAddress, 91 | accountOrProvider: Account | Provider 92 | ): CounterContractAbi { 93 | return new Contract(id, _abi, accountOrProvider) as unknown as CounterContractAbi 94 | } 95 | 96 | static async deployContract( 97 | bytecode: BytesLike, 98 | wallet: Account, 99 | options: DeployContractOptions = {} 100 | ): Promise { 101 | const factory = new ContractFactory(bytecode, _abi, wallet); 102 | 103 | const { storageSlots } = CounterContractAbi__factory; 104 | 105 | const contract = await factory.deployContract({ 106 | storageSlots, 107 | ...options, 108 | }); 109 | 110 | return contract as unknown as CounterContractAbi; 111 | } 112 | } 113 | -------------------------------------------------------------------------------- /frontend/src/sway-api/contracts/index.ts: -------------------------------------------------------------------------------- 1 | /* Autogenerated file. Do not edit manually. */ 2 | 3 | /* tslint:disable */ 4 | /* eslint-disable */ 5 | 6 | /* 7 | Fuels version: 0.73.0 8 | Forc version: 0.49.2 9 | Fuel-Core version: 0.22.0 10 | */ 11 | 12 | export type { CounterContractAbi } from './CounterContractAbi'; 13 | 14 | export { CounterContractAbi__factory } from './factories/CounterContractAbi__factory'; 15 | -------------------------------------------------------------------------------- /frontend/src/sway-api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './contracts'; 2 | -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "lib": [ 5 | "dom", 6 | "dom.iterable", 7 | "esnext" 8 | ], 9 | "allowJs": true, 10 | "skipLibCheck": true, 11 | "esModuleInterop": true, 12 | "allowSyntheticDefaultImports": true, 13 | "strict": true, 14 | "forceConsistentCasingInFileNames": true, 15 | "noFallthroughCasesInSwitch": true, 16 | "module": "esnext", 17 | "moduleResolution": "node", 18 | "resolveJsonModule": true, 19 | "isolatedModules": true, 20 | "noEmit": true, 21 | "jsx": "react-jsx" 22 | }, 23 | "include": [ 24 | "src" 25 | ] 26 | } 27 | --------------------------------------------------------------------------------