database: Connect to postgres on Rocket boot As database I've chosen PostgreSQL, as my personal experience has been good with it. This change allows Rocket to connect to the database on booting the server. It depends on the DATABASE_URL being set, and for now circumvents the Rocket config helpers as it seemed faster to be up and running this way.

zj
Jul 20, 2021, 5:45 PM
K4JNAJOFEJLHHWP6YSCC2U3CNK3ZPPX6EMBAVQG4VRPZWZRXMPCQC

Dependencies

  • [2] W3M3C7CC Initial commit This change includes a very small hello world application server written in Rust using Rocket.rs. Managing dependencies is done with Nix as that works well between Linux and Mac for me.

Change contents

  • file addition: sqlx (d--r------)
    [2.179]
  • file addition: mod.rs (----------)
    [0.16]
    use std::env;
    use rocket::{Rocket, Build};
    use rocket::fairing::{self, AdHoc};
    async fn init_db(rocket: Rocket<Build>) -> fairing::Result {
    let database_url = match env::var("DATABASE_URL") {
    Ok(val) => val,
    Err(e) => {
    error!("Failed to read DATABASE_URL environment variable: {}", e);
    return Err(rocket)
    }
    };
    let pool = sqlx::PgPool::connect(&database_url)
    .await
    .expect("Failed to connect to the database");
    Ok(rocket.manage(pool))
    }
    pub fn stage() -> AdHoc {
    AdHoc::on_ignite("SQL Stage - PostgreSQL", |rocket| async {
    rocket
    .attach(AdHoc::try_on_ignite("Postgres Database", init_db))
    })
    }
  • edit in src/main.rs at line 2
    [2.253]
    [2.253]
    mod sqlx;
  • replacement in src/main.rs at line 10
    [2.318][2.318:388]()
    rocket::build().mount("/", FileServer::from(relative!("static")))
    [2.318]
    [2.388]
    rocket::build()
    .attach(sqlx::stage())
    .mount("/", FileServer::from(relative!("static")))
  • edit in shell.nix at line 19
    [2.1210]
    [2.1210]
    pkgs.darwin.apple_sdk.frameworks.SystemConfiguration
  • file addition: README.md (----------)
    [1.0]
    ### Nidobyte
    Server for hosting for your Pijul projects written in Rust.
    ### Installing
    - Database is Postgresql, DATABASE_URL must be exposed as environment variable
    #### Development
    This project uses nix to ensure dependencies are met and the development environments
    are reproducable. Please install Nix by [following the install instructions](https://nixos.org/download.html).
    #### Getting started with Pijul
    * `pijul init` to start a repository
    * `rm -rf .git` if tooling already created a Git repository
    * `mv .gitignore .ignore` to ignore local only files
    * Set the author of patches for this machine by writing TOML:
    ```
    [author]
    name = "<alias or short name>"
    full_name = "<full name>"
    email = "<email address>"
    ```
    For MacOs write it to: `~/.pijulconfig`
  • edit in Cargo.toml at line 10
    [2.1453]
    # Persistence layer: Postgresql
    [dependencies.sqlx]
    version = "0.5.5"
    default-features = false
    features = [ "runtime-tokio-rustls", "postgres", "migrate" ]
  • edit in Cargo.lock at line 4
    [2.1593]
    [2.1593]
    [[package]]
    name = "ahash"
    version = "0.7.4"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "43bb833f0bf979d8475d38fbf09ed3b8a55e1885fe93ad3f93239fc6a4f17b98"
    dependencies = [
    "getrandom",
    "once_cell",
    "version_check",
    ]
    [[package]]
    name = "aho-corasick"
    version = "0.7.18"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
    dependencies = [
    "memchr",
    ]
    [[package]]
    name = "arrayvec"
    version = "0.5.2"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
  • edit in Cargo.lock at line 61
    [2.2348]
    [2.2348]
    ]
    [[package]]
    name = "atoi"
    version = "0.4.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "616896e05fc0e2649463a93a15183c6a16bf03413a7af88ef1285ddedfa9cda5"
    dependencies = [
    "num-traits",
  • edit in Cargo.lock at line 105
    [2.3208]
    [2.3208]
    name = "base64"
    version = "0.13.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
    [[package]]
  • edit in Cargo.lock at line 121
    [2.3579]
    [2.3579]
    [[package]]
    name = "bitvec"
    version = "0.19.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "8942c8d352ae1838c9dda0b0ca2ab657696ef2232a20147cf1b30ae1a9cb4321"
    dependencies = [
    "funty",
    "radium",
    "tap",
    "wyz",
    ]
    [[package]]
    name = "block-buffer"
    version = "0.9.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4"
    dependencies = [
    "generic-array",
    ]
    [[package]]
    name = "build_const"
    version = "0.2.2"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "b4ae4235e6dac0694637c763029ecea1a2ec9e4e06ec2729bd21ba4d9c863eb7"
  • edit in Cargo.lock at line 156
    [2.3783]
    [2.3783]
    name = "byteorder"
    version = "1.4.3"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
    [[package]]
  • edit in Cargo.lock at line 200
    [2.4980]
    [2.4980]
    ]
    [[package]]
    name = "cpufeatures"
    version = "0.1.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "66c99696f6c9dd7f35d486b9d04d7e6e202aa3e8c40d553f2fdf5e7e0c6a71ef"
    dependencies = [
    "libc",
  • edit in Cargo.lock at line 212
    [2.4995]
    [2.4995]
    name = "crc"
    version = "1.8.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "d663548de7f5cca343f1e0a48d14dcfb0e9eb4e079ec58883b7251539fa10aeb"
    dependencies = [
    "build_const",
    ]
    [[package]]
    name = "crossbeam-channel"
    version = "0.5.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4"
    dependencies = [
    "cfg-if",
    "crossbeam-utils",
    ]
    [[package]]
    name = "crossbeam-queue"
    version = "0.3.2"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "9b10ddc024425c88c2ad148c1b0fd53f4c6d38db9697c9f1588381212fa657c9"
    dependencies = [
    "cfg-if",
    "crossbeam-utils",
    ]
    [[package]]
    name = "crossbeam-utils"
    version = "0.8.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
    dependencies = [
    "cfg-if",
    "lazy_static",
    ]
    [[package]]
    name = "crypto-mac"
    version = "0.10.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "4857fd85a0c34b3c3297875b747c1e02e06b6a0ea32dd892d8192b9ce0813ea6"
    dependencies = [
    "generic-array",
    "subtle",
    ]
    [[package]]
  • edit in Cargo.lock at line 307
    [2.6062]
    [2.6062]
    name = "digest"
    version = "0.9.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066"
    dependencies = [
    "generic-array",
    ]
    [[package]]
    name = "dirs"
    version = "3.0.2"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "30baa043103c9d0c2a57cf537cc2f35623889dc0d405e6c3cccfadbc81c71309"
    dependencies = [
    "dirs-sys",
    ]
    [[package]]
    name = "dirs-sys"
    version = "0.3.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780"
    dependencies = [
    "libc",
    "redox_users",
    "winapi",
    ]
    [[package]]
  • edit in Cargo.lock at line 342
    [2.6253]
    [2.6253]
    name = "dotenv"
    version = "0.15.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f"
    [[package]]
  • edit in Cargo.lock at line 383
    [2.7136]
    [2.7136]
    name = "form_urlencoded"
    version = "1.0.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191"
    dependencies = [
    "matches",
    "percent-encoding",
    ]
    [[package]]
    name = "funty"
    version = "1.1.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7"
    [[package]]
  • edit in Cargo.lock at line 503
    [2.9741]
    [2.9741]
    ]
    [[package]]
    name = "generic-array"
    version = "0.14.4"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817"
    dependencies = [
    "typenum",
    "version_check",
  • edit in Cargo.lock at line 556
    [2.10708]
    [2.10708]
    dependencies = [
    "ahash",
    ]
    [[package]]
    name = "hashlink"
    version = "0.7.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "7249a3129cbc1ffccd74857f81464a323a152173cdb134e0fd81bc803b29facf"
    dependencies = [
    "hashbrown",
    ]
    [[package]]
    name = "heck"
    version = "0.3.3"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"
    dependencies = [
    "unicode-segmentation",
    ]
  • edit in Cargo.lock at line 588
    [2.10944]
    [2.10944]
    name = "hex"
    version = "0.4.3"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
    [[package]]
    name = "hmac"
    version = "0.10.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "c1441c6b1e930e2817404b5046f1f989899143a12bf92de603b69f4e0aee1e15"
    dependencies = [
    "crypto-mac",
    "digest",
    ]
    [[package]]
  • edit in Cargo.lock at line 662
    [2.12235]
    [2.12235]
    name = "idna"
    version = "0.2.3"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8"
    dependencies = [
    "matches",
    "unicode-bidi",
    "unicode-normalization",
    ]
    [[package]]
  • edit in Cargo.lock at line 705
    [2.13093]
    [2.13093]
    name = "js-sys"
    version = "0.3.51"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "83bdfbace3a0e81a4253f73b49e960b053e396a11012cbd49b9b74d6a2b67062"
    dependencies = [
    "wasm-bindgen",
    ]
    [[package]]
  • edit in Cargo.lock at line 718
    [2.13275]
    [2.13275]
    [[package]]
    name = "lexical-core"
    version = "0.7.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "6607c62aa161d23d17a9072cc5da0be67cdfc89d3afb1e8d9c842bebc2525ffe"
    dependencies = [
    "arrayvec",
    "bitflags",
    "cfg-if",
    "ryu",
    "static_assertions",
    ]
  • edit in Cargo.lock at line 767
    [2.14178]
    [2.14178]
    ]
    [[package]]
    name = "maplit"
    version = "1.0.2"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
    [[package]]
    name = "matches"
    version = "0.1.8"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
    [[package]]
    name = "md-5"
    version = "0.9.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "7b5a279bb9607f9f53c22d496eade00d138d1bdcccd07d74650387cf94942a15"
    dependencies = [
    "block-buffer",
    "digest",
    "opaque-debug",
  • replacement in Cargo.lock at line 840
    [2.15336][2.15336:15345]()
    "spin",
    [2.15336]
    [2.15345]
    "spin 0.9.2",
  • edit in Cargo.lock at line 852
    [2.15478]
    [2.15478]
    "sqlx",
    ]
    [[package]]
    name = "nom"
    version = "6.1.2"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "e7413f999671bd4745a7b624bd370a569fb6bc574b23c83a3c5ed2e453f3d5e2"
    dependencies = [
    "bitvec",
    "funty",
    "lexical-core",
    "memchr",
    "version_check",
  • edit in Cargo.lock at line 878
    [2.15712]
    [2.15712]
    name = "num-traits"
    version = "0.2.14"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290"
    dependencies = [
    "autocfg",
    ]
    [[package]]
  • edit in Cargo.lock at line 901
    [2.16128]
    [2.16128]
    [[package]]
    name = "opaque-debug"
    version = "0.3.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
  • edit in Cargo.lock at line 1031
    [2.19366]
    [2.19366]
    [[package]]
    name = "radium"
    version = "0.5.3"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "941ba9d78d8e2f7ce474c015eea4d9c6d25b6a3327f9832ee29a4de27f91bbb8"
  • edit in Cargo.lock at line 1088
    [2.20559]
    [2.20559]
    name = "redox_users"
    version = "0.4.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64"
    dependencies = [
    "getrandom",
    "redox_syscall",
    ]
    [[package]]
  • edit in Cargo.lock at line 1118
    [2.21038]
    [2.21038]
    name = "regex"
    version = "1.5.4"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461"
    dependencies = [
    "aho-corasick",
    "memchr",
    "regex-syntax",
    ]
    [[package]]
    name = "regex-syntax"
    version = "0.6.25"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"
    [[package]]
  • edit in Cargo.lock at line 1140
    [2.21240]
    [2.21240]
    "winapi",
    ]
    [[package]]
    name = "ring"
    version = "0.16.20"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc"
    dependencies = [
    "cc",
    "libc",
    "once_cell",
    "spin 0.5.2",
    "untrusted",
    "web-sys",
  • edit in Cargo.lock at line 1256
    [2.23100]
    [2.23100]
    ]
    [[package]]
    name = "rustls"
    version = "0.19.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7"
    dependencies = [
    "base64",
    "log",
    "ring",
    "sct",
    "webpki",
  • edit in Cargo.lock at line 1294
    [2.23872]
    [2.23872]
    [[package]]
    name = "sct"
    version = "0.6.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce"
    dependencies = [
    "ring",
    "untrusted",
    ]
  • edit in Cargo.lock at line 1370
    [2.25495]
    [2.25495]
    name = "sha-1"
    version = "0.9.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "8c4cfa741c5832d0ef7fab46cabed29c2aae926db0b11bb2069edd8db5e64e16"
    dependencies = [
    "block-buffer",
    "cfg-if",
    "cpufeatures",
    "digest",
    "opaque-debug",
    ]
    [[package]]
  • edit in Cargo.lock at line 1387
    [2.25670]
    [2.25670]
    [[package]]
    name = "sha2"
    version = "0.9.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "b362ae5752fd2137731f9fa25fd4d9058af34666ca1966fb969119cc35719f12"
    dependencies = [
    "block-buffer",
    "cfg-if",
    "cpufeatures",
    "digest",
    "opaque-debug",
    ]
  • edit in Cargo.lock at line 1434
    [2.26539]
    [2.26539]
    version = "0.5.2"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
    [[package]]
    name = "spin"
  • edit in Cargo.lock at line 1443
    [2.26700]
    [2.26700]
    [[package]]
    name = "sqlformat"
    version = "0.1.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "6d86e3c77ff882a828346ba401a7ef4b8e440df804491c6064fe8295765de71c"
    dependencies = [
    "lazy_static",
    "maplit",
    "nom",
    "regex",
    "unicode_categories",
    ]
    [[package]]
    name = "sqlx"
    version = "0.5.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "ba82f79b31f30acebf19905bcd8b978f46891b9d0723f578447361a8910b6584"
    dependencies = [
    "sqlx-core",
    "sqlx-macros",
    ]
    [[package]]
    name = "sqlx-core"
    version = "0.5.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "7f23af36748ec8ea8d49ef8499839907be41b0b1178a4e82b8cb45d29f531dc9"
    dependencies = [
    "ahash",
    "atoi",
    "base64",
    "bitflags",
    "byteorder",
    "bytes",
    "crc",
    "crossbeam-channel",
    "crossbeam-queue",
    "crossbeam-utils",
    "dirs",
    "either",
    "futures-channel",
    "futures-core",
    "futures-util",
    "hashlink",
    "hex",
    "hmac",
    "itoa",
    "libc",
    "log",
    "md-5",
    "memchr",
    "once_cell",
    "parking_lot",
    "percent-encoding",
    "rand",
    "rustls",
    "serde",
    "serde_json",
    "sha-1",
    "sha2",
    "smallvec",
    "sqlformat",
    "sqlx-rt",
    "stringprep",
    "thiserror",
    "tokio-stream",
    "url",
    "webpki",
    "webpki-roots",
    "whoami",
    ]
    [[package]]
    name = "sqlx-macros"
    version = "0.5.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "47e4a2349d1ffd60a03ca0de3f116ba55d7f406e55a0d84c64a5590866d94c06"
    dependencies = [
    "dotenv",
    "either",
    "futures",
    "heck",
    "once_cell",
    "proc-macro2",
    "quote",
    "sha2",
    "sqlx-core",
    "sqlx-rt",
    "syn",
    "url",
    ]
    [[package]]
    name = "sqlx-rt"
    version = "0.5.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "8199b421ecf3493ee9ef3e7bc90c904844cfb2ea7ea2f57347a93f52bfd3e057"
    dependencies = [
    "once_cell",
    "tokio",
    "tokio-rustls",
    ]
  • edit in Cargo.lock at line 1576
    [2.27389]
    [2.27389]
    name = "static_assertions"
    version = "1.1.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
    [[package]]
  • edit in Cargo.lock at line 1629
    [2.28517]
    [2.28517]
    [[package]]
    name = "stringprep"
    version = "0.1.2"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "8ee348cb74b87454fff4b551cbf727025810a004f88aeacae7f85b87f4e9a1c1"
    dependencies = [
    "unicode-bidi",
    "unicode-normalization",
    ]
    [[package]]
    name = "subtle"
    version = "2.4.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601"
  • edit in Cargo.lock at line 1658
    [2.28779]
    [2.28779]
    name = "tap"
    version = "1.0.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
    [[package]]
  • edit in Cargo.lock at line 1675
    [2.29052]
    [2.29052]
    ]
    [[package]]
    name = "thiserror"
    version = "1.0.26"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "93119e4feac1cbe6c798c34d3a53ea0026b0b1de6a120deef895137c0529bfe2"
    dependencies = [
    "thiserror-impl",
  • edit in Cargo.lock at line 1687
    [2.29067]
    [2.29067]
    name = "thiserror-impl"
    version = "1.0.26"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "060d69a0afe7796bf42e9e2ff91f5ee691fb15c53d38b4b62a9a53eb23164745"
    dependencies = [
    "proc-macro2",
    "quote",
    "syn",
    ]
    [[package]]
  • edit in Cargo.lock at line 1733
    [2.29894]
    [2.29894]
    ]
    [[package]]
    name = "tinyvec"
    version = "1.2.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "5b5220f05bb7de7f3f53c7c065e1199b3172696fe2db9f9c4d8ad9b4ee74c342"
    dependencies = [
    "tinyvec_macros",
  • edit in Cargo.lock at line 1745
    [2.29909]
    [2.29909]
    name = "tinyvec_macros"
    version = "0.1.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
    [[package]]
  • edit in Cargo.lock at line 1781
    [2.30517]
    [2.30517]
    name = "tokio-rustls"
    version = "0.22.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6"
    dependencies = [
    "rustls",
    "tokio",
    "webpki",
    ]
    [[package]]
  • edit in Cargo.lock at line 1868
    [2.32414]
    [2.32414]
    name = "typenum"
    version = "1.13.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "879f6906492a7cd215bfa4cf595b600146ccfac0c79bcbd1f3000162af5e8b06"
    [[package]]
  • edit in Cargo.lock at line 1903
    [2.33249]
    [2.33249]
    [[package]]
    name = "unicode-bidi"
    version = "0.3.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "eeb8be209bb1c96b7c177c7420d26e04eccacb0eeae6b980e35fcb74678107e0"
    dependencies = [
    "matches",
    ]
    [[package]]
    name = "unicode-normalization"
    version = "0.1.19"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9"
    dependencies = [
    "tinyvec",
    ]
  • edit in Cargo.lock at line 1923
    [2.33262]
    [2.33262]
    name = "unicode-segmentation"
    version = "1.8.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b"
    [[package]]
  • edit in Cargo.lock at line 1933
    [2.33444]
    [2.33444]
    [[package]]
    name = "unicode_categories"
    version = "0.1.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e"
    [[package]]
    name = "untrusted"
    version = "0.7.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a"
    [[package]]
    name = "url"
    version = "2.2.2"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c"
    dependencies = [
    "form_urlencoded",
    "idna",
    "matches",
    "percent-encoding",
    ]
  • edit in Cargo.lock at line 2035
    [2.35442]
    [2.35442]
    name = "web-sys"
    version = "0.3.51"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "e828417b379f3df7111d3a2a9e5753706cae29c41f7c4029ee9fd77f3e09e582"
    dependencies = [
    "js-sys",
    "wasm-bindgen",
    ]
    [[package]]
    name = "webpki"
    version = "0.21.4"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea"
    dependencies = [
    "ring",
    "untrusted",
    ]
    [[package]]
    name = "webpki-roots"
    version = "0.21.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "aabe153544e473b775453675851ecc86863d2a81d786d741f6b76778f2a48940"
    dependencies = [
    "webpki",
    ]
    [[package]]
    name = "whoami"
    version = "1.1.2"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "4abacf325c958dfeaf1046931d37f2a901b6dfe0968ee965a29e94c6766b2af6"
    dependencies = [
    "wasm-bindgen",
    "web-sys",
    ]
    [[package]]
  • edit in Cargo.lock at line 2094
    [2.36124]
    [2.36124]
    [[package]]
    name = "wyz"
    version = "0.2.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214"