├── .earthlyignore ├── .envrc ├── docker-compose.yaml ├── justfile ├── .gitignore ├── rustfmt.toml ├── src ├── response │ └── configuration.rs ├── main.rs ├── url.rs ├── response.rs └── html.rs ├── .github └── workflows │ └── check.yaml ├── Earthfile ├── Cargo.toml ├── flake.lock ├── flake.nix ├── README.md ├── Configuration.md ├── default.css ├── LICENSE └── Cargo.lock /.earthlyignore: -------------------------------------------------------------------------------- 1 | ** 2 | 3 | !.git/ 4 | !src/ 5 | !build.rs 6 | !Cargo.* 7 | !default.css 8 | 9 | -------------------------------------------------------------------------------- /.envrc: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | if type -P lorri &>/dev/null; then 4 | eval "$(lorri direnv)" 5 | else 6 | echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]' 7 | 8 | use nix 9 | fi 10 | 11 | -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- 1 | services: 2 | september: 3 | ports: 4 | - "8080:80" 5 | environment: 6 | - "ROOT=gemini://fuwn.me" 7 | - "CSS_EXTERNAL=https://example.com/style.css" 8 | - "PROXY_BY_DEFAULT=true" 9 | image: "fuwn/september:latest" 10 | -------------------------------------------------------------------------------- /justfile: -------------------------------------------------------------------------------- 1 | import? 'cargo.just' 2 | 3 | set allow-duplicate-recipes := true 4 | 5 | default: 6 | @just --list 7 | 8 | fetch: 9 | curl https://raw.githubusercontent.com/Fuwn/justfiles/a6ca8a1b0475966ad10b68c44311ba3cb8b72a31/cargo.just > cargo.just 10 | 11 | fmt: 12 | cargo +nightly fmt 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Rust 2 | target 3 | **/*.rs.bk 4 | 5 | # CLion 6 | .idea 7 | 8 | # Development 9 | .env 10 | .secret 11 | 12 | # Fleet 13 | .cargo 14 | fleet.toml 15 | 16 | # Visual Studio Code 17 | .vscode 18 | 19 | # Nix 20 | result* 21 | 22 | # macOS 23 | .DS_Store 24 | 25 | # Fuwn/justfiles 26 | *.just 27 | -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- 1 | edition = "2021" 2 | enum_discrim_align_threshold = 40 3 | # error_on_line_overflow = true 4 | # error_on_unformatted = true 5 | fn_single_line = true 6 | format_code_in_doc_comments = true 7 | format_macro_matchers = true 8 | format_strings = true 9 | inline_attribute_width = 80 10 | match_arm_blocks = false 11 | max_width = 80 12 | imports_granularity = "One" 13 | newline_style = "Unix" 14 | normalize_doc_attributes = true 15 | overflow_delimited_expr = true 16 | reorder_impl_items = true 17 | group_imports = "StdExternalCrate" 18 | struct_field_align_threshold = 40 19 | tab_spaces = 2 20 | use_field_init_shorthand = true 21 | use_small_heuristics = "Max" 22 | use_try_shorthand = true 23 | version = "Two" 24 | wrap_comments = true 25 | 26 | -------------------------------------------------------------------------------- /src/response/configuration.rs: -------------------------------------------------------------------------------- 1 | pub struct Configuration { 2 | is_proxy: bool, 3 | is_raw: bool, 4 | is_no_css: bool, 5 | } 6 | 7 | impl Configuration { 8 | pub const fn new() -> Self { 9 | Self { is_proxy: false, is_raw: false, is_no_css: false } 10 | } 11 | 12 | pub const fn is_proxy(&self) -> bool { self.is_proxy } 13 | 14 | pub const fn is_raw(&self) -> bool { self.is_raw } 15 | 16 | pub const fn is_no_css(&self) -> bool { self.is_no_css } 17 | 18 | pub const fn set_proxy(&mut self, is_proxy: bool) { 19 | self.is_proxy = is_proxy; 20 | } 21 | 22 | pub const fn set_raw(&mut self, is_raw: bool) { self.is_raw = is_raw; } 23 | 24 | pub const fn set_no_css(&mut self, is_no_css: bool) { 25 | self.is_no_css = is_no_css; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /.github/workflows/check.yaml: -------------------------------------------------------------------------------- 1 | name: Check ✅ 2 | on: 3 | workflow_dispatch: 4 | push: 5 | paths: 6 | - "*" 7 | pull_request: 8 | paths: 9 | - "*" 10 | env: 11 | CARGO_TERM_COLOR: always 12 | jobs: 13 | check: 14 | name: Check ✅ 15 | runs-on: ubuntu-latest 16 | steps: 17 | - name: Checkout 🛒 18 | uses: actions/checkout@v3 19 | - name: Toolchain 🧰 20 | uses: actions-rs/toolchain@v1 21 | with: 22 | profile: minimal 23 | toolchain: stable 24 | components: rustfmt, clippy 25 | override: true 26 | - name: Check ✅ 27 | uses: actions-rs/cargo@v1 28 | continue-on-error: false 29 | with: 30 | command: check 31 | args: --verbose 32 | -------------------------------------------------------------------------------- /Earthfile: -------------------------------------------------------------------------------- 1 | VERSION 0.7 2 | 3 | image: 4 | ARG tag=latest 5 | 6 | FROM scratch 7 | 8 | COPY +build/september . 9 | 10 | EXPOSE 80 11 | 12 | CMD ["./september"] 13 | 14 | SAVE IMAGE --push fuwn/september:$tag 15 | 16 | build: 17 | FROM messense/rust-musl-cross:x86_64-musl 18 | 19 | WORKDIR /source 20 | 21 | RUN cargo new september 22 | 23 | WORKDIR /source/september 24 | 25 | COPY Cargo.* . 26 | 27 | RUN --mount=type=cache,target=/usr/local/cargo/registry cargo build --release 28 | 29 | COPY .git .git 30 | COPY src src 31 | COPY build.rs build.rs 32 | COPY Cargo.* . 33 | COPY default.css . 34 | 35 | RUN --mount=type=cache,target=/usr/local/cargo/registry cargo build --release 36 | RUN strip -s /source/september/target/x86_64-unknown-linux-musl/release/september 37 | RUN mv /source/september/target/x86_64-unknown-linux-musl/release/september . 38 | 39 | SAVE ARTIFACT /source/september/september 40 | -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- 1 | #![deny( 2 | warnings, 3 | nonstandard_style, 4 | unused, 5 | future_incompatible, 6 | rust_2018_idioms, 7 | unsafe_code 8 | )] 9 | #![deny(clippy::all, clippy::nursery, clippy::pedantic)] 10 | #![recursion_limit = "128"] 11 | #![allow(clippy::cast_precision_loss)] 12 | 13 | mod html; 14 | mod response; 15 | mod url; 16 | 17 | #[macro_use] extern crate log; 18 | 19 | use {actix_web::web, response::default, std::env::var}; 20 | 21 | #[actix_web::main] 22 | async fn main() -> std::io::Result<()> { 23 | std::env::set_var("RUST_LOG", "actix_web=info"); 24 | dotenv::dotenv().ok(); 25 | pretty_env_logger::init(); 26 | 27 | actix_web::HttpServer::new(move || { 28 | actix_web::App::new() 29 | .default_service(web::get().to(default)) 30 | .wrap(actix_web::middleware::Logger::default()) 31 | }) 32 | .bind(( 33 | "0.0.0.0", 34 | var("PORT").map_or(80, |port| match port.parse::<_>() { 35 | Ok(port) => port, 36 | Err(e) => { 37 | warn!("could not use PORT from environment variables: {e}"); 38 | warn!("proceeding with default port: 80"); 39 | 40 | 80 41 | } 42 | }), 43 | ))? 44 | .run() 45 | .await 46 | } 47 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 2 | 3 | [package] 4 | name = "september" 5 | version = "0.3.1" 6 | authors = ["Fuwn "] 7 | edition = "2021" 8 | description = "A simple and efficient Gemini-to-HTTP proxy." 9 | readme = "README.md" 10 | homepage = "https://github.com/gemrest/september" 11 | repository = "https://github.com/gemrest/september" 12 | license = "GPL-3.0-only" 13 | keywords = ["rust", "gemini", "proxy"] 14 | categories = ["web-programming", "web-programming::http-server"] 15 | rust-version = "1.83.0" 16 | 17 | # Slower builds, faster executables 18 | [profile.release] 19 | lto = "fat" 20 | codegen-units = 1 21 | opt-level = 3 22 | 23 | [dependencies] 24 | # Gemini 25 | germ = { version = "0.4.7", features = ["ast", "meta"] } 26 | 27 | # HTTP 28 | actix-web = "4.11.0" 29 | 30 | # Logging 31 | pretty_env_logger = "0.5.0" 32 | log = "0.4.27" 33 | 34 | # Environment Variables 35 | dotenv = "0.15.0" 36 | 37 | # URL Standard 38 | url = "2.5.4" 39 | 40 | # Markdown Encoding 41 | comrak = "0.29.0" 42 | 43 | [build-dependencies] 44 | # Compile-time Environment Variables 45 | vergen = { version = "8.3.2", features = ["git", "gitoxide"] } 46 | 47 | # `Result` 48 | anyhow = "1.0.98" 49 | -------------------------------------------------------------------------------- /src/url.rs: -------------------------------------------------------------------------------- 1 | use url::Url; 2 | 3 | pub fn from_path( 4 | path: &str, 5 | fallback: bool, 6 | configuration: &mut crate::response::configuration::Configuration, 7 | ) -> Result { 8 | Url::try_from(&*if path.starts_with("/proxy") { 9 | configuration.set_proxy(true); 10 | 11 | format!( 12 | "gemini://{}{}", 13 | path.replace("/proxy/", ""), 14 | if fallback { "/" } else { "" } 15 | ) 16 | } else if path.starts_with("/x") { 17 | configuration.set_proxy(true); 18 | 19 | format!( 20 | "gemini://{}{}", 21 | path.replace("/x/", ""), 22 | if fallback { "/" } else { "" } 23 | ) 24 | } else if path.starts_with("/raw") { 25 | configuration.set_proxy(true); 26 | configuration.set_raw(true); 27 | 28 | format!( 29 | "gemini://{}{}", 30 | path.replace("/raw/", ""), 31 | if fallback { "/" } else { "" } 32 | ) 33 | } else if path.starts_with("/nocss") { 34 | configuration.set_proxy(true); 35 | configuration.set_no_css(true); 36 | 37 | format!( 38 | "gemini://{}{}", 39 | path.replace("/nocss/", ""), 40 | if fallback { "/" } else { "" } 41 | ) 42 | } else { 43 | format!( 44 | "{}{}{}", 45 | { 46 | std::env::var("ROOT").unwrap_or_else(|_| { 47 | warn!( 48 | "could not use ROOT from environment variables, proceeding with \ 49 | default root: gemini://fuwn.me" 50 | ); 51 | 52 | "gemini://fuwn.me".to_string() 53 | }) 54 | }, 55 | path, 56 | if fallback { "/" } else { "" } 57 | ) 58 | }) 59 | } 60 | 61 | pub fn matches_pattern(pattern: &str, path: &str) -> bool { 62 | if !pattern.contains('*') { 63 | return path == pattern; 64 | } 65 | 66 | let parts: Vec<&str> = pattern.split('*').collect(); 67 | let mut position = if pattern.starts_with('*') { 68 | 0 69 | } else { 70 | let first = parts.first().unwrap(); 71 | 72 | if !path.starts_with(first) { 73 | return false; 74 | } 75 | 76 | first.len() 77 | }; 78 | let before_last = parts.len().saturating_sub(1); 79 | 80 | for part in &parts[1..before_last] { 81 | if part.is_empty() { 82 | continue; 83 | } 84 | 85 | if let Some(found) = path[position..].find(part) { 86 | position += found + part.len(); 87 | } else { 88 | return false; 89 | } 90 | } 91 | 92 | if !pattern.ends_with('*') { 93 | let last = parts.last().unwrap(); 94 | 95 | if !path[position..].ends_with(last) { 96 | return false; 97 | } 98 | } 99 | 100 | true 101 | } 102 | -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- 1 | { 2 | "nodes": { 3 | "crane": { 4 | "locked": { 5 | "lastModified": 1727316705, 6 | "narHash": "sha256-/mumx8AQ5xFuCJqxCIOFCHTVlxHkMT21idpbgbm/TIE=", 7 | "owner": "ipetkov", 8 | "repo": "crane", 9 | "rev": "5b03654ce046b5167e7b0bccbd8244cb56c16f0e", 10 | "type": "github" 11 | }, 12 | "original": { 13 | "owner": "ipetkov", 14 | "repo": "crane", 15 | "type": "github" 16 | } 17 | }, 18 | "flake-utils": { 19 | "inputs": { 20 | "systems": [ 21 | "systems" 22 | ] 23 | }, 24 | "locked": { 25 | "lastModified": 1710146030, 26 | "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", 27 | "owner": "numtide", 28 | "repo": "flake-utils", 29 | "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", 30 | "type": "github" 31 | }, 32 | "original": { 33 | "owner": "numtide", 34 | "repo": "flake-utils", 35 | "type": "github" 36 | } 37 | }, 38 | "nixpkgs": { 39 | "locked": { 40 | "lastModified": 1726206720, 41 | "narHash": "sha256-tI7141IHDABMNgz4iXDo8agCp0SeTLbaIZ2DRndwcmk=", 42 | "owner": "NixOS", 43 | "repo": "nixpkgs", 44 | "rev": "673d99f1406cb09b8eb6feab4743ebdf70046557", 45 | "type": "github" 46 | }, 47 | "original": { 48 | "owner": "NixOS", 49 | "ref": "nixpkgs-unstable", 50 | "repo": "nixpkgs", 51 | "type": "github" 52 | } 53 | }, 54 | "root": { 55 | "inputs": { 56 | "crane": "crane", 57 | "flake-utils": "flake-utils", 58 | "nixpkgs": "nixpkgs", 59 | "rust-overlay": "rust-overlay", 60 | "systems": "systems" 61 | } 62 | }, 63 | "rust-overlay": { 64 | "inputs": { 65 | "nixpkgs": [ 66 | "nixpkgs" 67 | ] 68 | }, 69 | "locked": { 70 | "lastModified": 1726280639, 71 | "narHash": "sha256-YfLRPlFZWrT2oRLNAoqf7G3+NnUTDdlIJk6tmBU7kXM=", 72 | "owner": "oxalica", 73 | "repo": "rust-overlay", 74 | "rev": "e9f8641c92f26fd1e076e705edb12147c384171d", 75 | "type": "github" 76 | }, 77 | "original": { 78 | "owner": "oxalica", 79 | "repo": "rust-overlay", 80 | "type": "github" 81 | } 82 | }, 83 | "systems": { 84 | "locked": { 85 | "lastModified": 1681028828, 86 | "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 87 | "owner": "nix-systems", 88 | "repo": "default", 89 | "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 90 | "type": "github" 91 | }, 92 | "original": { 93 | "owner": "nix-systems", 94 | "repo": "default", 95 | "type": "github" 96 | } 97 | } 98 | }, 99 | "root": "root", 100 | "version": 7 101 | } 102 | -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- 1 | { 2 | description = "Simple & Efficient Gemini-to-HTTP Proxy"; 3 | 4 | inputs = { 5 | crane.url = "github:ipetkov/crane"; 6 | nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; 7 | systems.url = "github:nix-systems/default"; 8 | 9 | flake-utils = { 10 | url = "github:numtide/flake-utils"; 11 | inputs.systems.follows = "systems"; 12 | }; 13 | 14 | rust-overlay = { 15 | url = "github:oxalica/rust-overlay"; 16 | inputs.nixpkgs.follows = "nixpkgs"; 17 | }; 18 | }; 19 | 20 | outputs = 21 | { 22 | crane, 23 | flake-utils, 24 | nixpkgs, 25 | rust-overlay, 26 | self, 27 | ... 28 | }: 29 | flake-utils.lib.eachDefaultSystem ( 30 | system: 31 | let 32 | pkgs = import nixpkgs { 33 | inherit system; 34 | 35 | overlays = [ (import rust-overlay) ]; 36 | }; 37 | 38 | craneLib = crane.mkLib pkgs; 39 | 40 | meta = with pkgs.lib; { 41 | homepage = "https://github.com/gemrest/september"; 42 | description = "Simple & Efficient Gemini-to-HTTP Proxy"; 43 | license = licenses.gpl3Only; 44 | maintainers = [ maintainers.Fuwn ]; 45 | mainPackage = "september"; 46 | platforms = platforms.linux; 47 | }; 48 | 49 | september = craneLib.buildPackage { 50 | inherit meta; 51 | 52 | strictDeps = true; 53 | 54 | src = pkgs.lib.cleanSourceWith { 55 | src = ./.; 56 | 57 | filter = 58 | path: type: 59 | builtins.match ".*css$" path != null 60 | || builtins.match ".*\\.git.*" path != null 61 | || (craneLib.filterCargoSources path type); 62 | }; 63 | }; 64 | in 65 | { 66 | packages = { 67 | inherit september; 68 | 69 | default = self.packages.${system}.september; 70 | }; 71 | 72 | apps = { 73 | september = { 74 | inherit meta; 75 | 76 | type = "app"; 77 | program = "${self.packages.${system}.september}/bin/september"; 78 | }; 79 | 80 | default = self.apps.${system}.september; 81 | }; 82 | 83 | devShells.default = 84 | with pkgs; 85 | mkShell.override 86 | { 87 | stdenv = stdenvAdapters.useMoldLinker clangStdenv; 88 | } 89 | { 90 | RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; 91 | 92 | buildInputs = [ 93 | cargo-make 94 | openssl 95 | pkg-config 96 | cargo-watch 97 | 98 | (lib.hiPrio ( 99 | rust-bin.stable.latest.minimal.override { 100 | extensions = [ "rust-docs" ]; 101 | } 102 | )) 103 | 104 | (rust-bin.selectLatestNightlyWith ( 105 | toolchain: 106 | toolchain.minimal.override { 107 | extensions = [ "rustfmt" ]; 108 | } 109 | )) 110 | ]; 111 | }; 112 | } 113 | ); 114 | } 115 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # September 2 | 3 | [![github.com](https://github.com/gemrest/september/actions/workflows/check.yaml/badge.svg?branch=main)](https://github.com/gemrest/september/actions/workflows/check.yaml) 4 | 5 | September is a simple and efficient Gemini-to-HTTP proxy written in [Rust](https://www.rust-lang.org/). 6 | 7 | September remains simple, but packs more features than you could imagine, all configurable via environment variables. 8 | 9 | ## Usage 10 | 11 | A production deployment of September can be found at , with the root capsule set as [gemini://fuwn.me](gemini://fuwn.me). 12 | 13 | You can try proxying any external capsule through the `/proxy/` route: . 14 | 15 | ### Docker 16 | 17 | `docker run` allows you to pass environment variables via the `-e` flag. 18 | 19 | ```shell 20 | # September with a custom root, listening on port 8080 21 | docker run -d \ 22 | -e ROOT="gemini://fuwn.me" \ 23 | -p 8080:80 \ 24 | fuwn/september:latest 25 | 26 | # September with a custom root, port, and external stylesheet, listening on port 80 27 | docker run -d \ 28 | -e ROOT="gemini://fuwn.me" \ 29 | -e PORT="8080" \ 30 | -e CSS_EXTERNAL="https://example.com/style.css" \ 31 | -p 80:80 \ 32 | fuwn/september:latest 33 | ``` 34 | 35 | You may start to find this way of passing configuration cumbersome for many options, so a Docker management tool like [Portainer](https://www.portainer.io/) or a Docker Compose file might come in handy. 36 | 37 | ### Docker Compose 38 | 39 | Docker Compose is a file-configurable Docker utility to make deploying exact container configuration and configuration sets simple. This repository provides a sample Docker Compose file, [`./docker-compose.yaml`](./docker-compose.yaml), with some examples configuration values that you can modify to your liking. 40 | 41 | After editing the file, you can bring up the composition using `docker-compose` command. 42 | 43 | ```shell 44 | docker-compose up -d 45 | ``` 46 | 47 | ### Executable 48 | 49 | While generally discouraged, you can run the September executable by itself and configure it through environment variables. 50 | 51 | ```shell 52 | ROOT="gemini://fuwn.me" PORT="8080" CSS_EXTERNAL="https://example.com/style.css" ./september 53 | ``` 54 | 55 | If available, September will use the relative directory's `.env` file for populating its configuration. Here is an example `.env` file with a few values added. 56 | 57 | ```dotenv 58 | # .env 59 | 60 | ROOT=gemini://fuwn.me 61 | PORT=8080 62 | CSS_EXTERNAL=https://example.com/style.css 63 | HEAD= 64 | ``` 65 | 66 | ## Configuration 67 | 68 | All configuration options with examples can be found in the [Configuration.md](./Configuration.md) file. Regardless of deployment method, these options remain present in each case. 69 | 70 | ## Styling 71 | 72 | Want to give your website a shiny new look? Try using one of these sources to find a stylish and **minimal** (!!) CSS theme/ framework! 73 | 74 | - [dohliam/dropin-minimal-css](https://github.com/dohliam/dropin-minimal-css): Drop-in switcher for previewing minimal CSS frameworks 75 | - [dbohdan/classless-css](https://github.com/dbohdan/classless-css): A list of classless CSS themes/frameworks with screenshots 76 | 77 | ## Origins 78 | 79 | The story of September starts with a simple request to add environment variable-configurable options to a pre-existing Gemini proxy. 80 | 81 | The proxy in question already had options, just that they were command-line flag configurable options. Apparently, containerising a networked application is not a "valid use-case", and everyone should prefer running raw binaries on their systems and servers. Also, finicky command-line arguments reign superior to the industry standard environment variable, or at least that's what I gather from this author's response to adding a few extra lines of code that I already wrote out for environment variable support. 82 | 83 | Anyway, I forked the proxy. Somewhere down the line, I realised that this proxy just isn't cutting it and was poorly designed to begin with, so I threw it in the figurative trash, and wrote September from scratch. 84 | 85 | In the end, it all worked out, since September has become the easiest to configure, most feature-packed, quickest to understand (and quickest in general) Gemini-to-HTTP proxy of the bunch. 86 | 87 | ## License 88 | 89 | This project is licensed with the [GNU General Public License v3.0](./LICENSE). 90 | -------------------------------------------------------------------------------- /Configuration.md: -------------------------------------------------------------------------------- 1 | # Configuration 2 | 3 | The configuration for September is managed entirely through environment variables. 4 | 5 | ## `PORT` 6 | 7 | Bind September to a custom port. 8 | 9 | Generally, you shouldn't touch this option if you are deploying using Docker. 10 | 11 | If no `PORT` is provided or the `PORT` could not be parsed appropriately as an 12 | unsigned 16-bit integer, `PORT` will default to `80`. 13 | 14 | ```dotenv 15 | PORT=1337 16 | ``` 17 | 18 | ## `ROOT` 19 | 20 | Root Gemini capsule to proxy when not visiting a "/proxy" route 21 | 22 | If no `ROOT` is provided, `ROOT` will default to `"gemini://fuwn.me"`. 23 | 24 | ```dotenv 25 | ROOT=gemini://fuwn.me 26 | ``` 27 | 28 | ## `CSS_EXTERNAL` 29 | 30 | A comma-separated list of external CSS files to apply to the HTML response 31 | 32 | If no `CSS_EXTERNAL` value is provided, a default stylesheet of 33 | [LaTeX.css](https://latex.vercel.app/) and the styles within 34 | [`default.css`](./default.css) will be applied. 35 | 36 | ```dotenv 37 | CSS_EXTERNAL=https://cdnjs.cloudflare.com/ajax/libs/mini.css/3.0.1/mini-default.min.css 38 | ``` 39 | 40 | ## `KEEP_GEMINI` 41 | 42 | A comma-separated list of Gemini URL fragments to keep as is when proxying. 43 | 44 | Wildcards are supported using the `*` character, and exceptions can be made 45 | using the `!` character 46 | 47 | ```dotenv 48 | # These rules ensure that all Gemini URLs will be left untouched in the proxied 49 | # HTML response except for URLs under the "fuwn.me" domain 50 | KEEP_GEMINI=!*fuwn.me/*,gemini://* 51 | ``` 52 | 53 | ## `HEAD` 54 | 55 | Insert any string at the end of the HTML `` 56 | 57 | ```dotenv 58 | HEAD= 59 | ``` 60 | 61 | ## `PROXY_BY_DEFAULT` 62 | 63 | Control whether all Gemini URLs are proxied. 64 | 65 | Similar to `KEEP_GEMINI_EXACT` and `KEEP_GEMINI_DOMAIN`, but global 66 | 67 | This configuration value defaults to `true`. 68 | 69 | ```dotenv 70 | PROXY_BY_DEFAULT=false 71 | ``` 72 | 73 | ## `FAVICON_EXTERNAL` 74 | 75 | An external favicon file to apply to the HTML response 76 | 77 | ```dotenv 78 | FAVICON_EXTERNAL=https://example.com/favicon.ico 79 | ``` 80 | 81 | ## `PLAIN_TEXT_ROUTE` 82 | 83 | A comma-separated list of paths to treat as plain text routes 84 | 85 | These patterns do not support regular expressions, but do support the use of `*` 86 | as a wildcard. 87 | 88 | ```dotenv 89 | PLAIN_TEXT_ROUTE=/robots.txt,/license.txt,*.xml 90 | ``` 91 | 92 | ## `MATHJAX` 93 | 94 | Enable MathJax support for rendering LaTeX within `$` and `$$` delimiters. 95 | 96 | This configuration value defaults to `false`. 97 | 98 | ```dotenv 99 | MATHJAX=true 100 | ``` 101 | 102 | ## `HEADER` 103 | 104 | Adds a large text header to the top of a proxy page 105 | 106 | Only available in styled routes 107 | 108 | ```dotenv 109 | HEADER="This string will show up at the top of my proxied capsule." 110 | ``` 111 | 112 | ## `EMBED_IMAGES` 113 | 114 | Embed images in the HTML response if a link to an image is found. 115 | 116 | A value of `1` will enable this feature, while keeping a link to the image. 117 | 118 | Any non-empty value other than `1` will enable this feature, while removing the link to the image. 119 | 120 | ```dotenv 121 | EMBED_IMAGES=2 122 | ``` 123 | 124 | ## `CONDENSE_LINKS` 125 | 126 | Condense adjacent links to a single line 127 | 128 | A value of `*` will condense all adjacent links to a single line. 129 | 130 | A comma-separated list of paths will condense adjacent links to a single line only on those paths. 131 | 132 | ### Example 133 | 134 | ```plaintext 135 | 136 | 137 |

Link

138 |

Link

139 |

Link

140 | 141 | 142 |

Link | Link | Link

143 | ``` 144 | 145 | ## `PRIMARY_COLOUR` 146 | 147 | Set the primary colour of elements in the default stylesheet. This field 148 | controls the colour of items such as links and highlights. 149 | 150 | Popular choices are `var(--base0D)` for a blue, or `var(--base09)` for an 151 | amber colour. 152 | 153 | ### Examples 154 | 155 | ```plaintext 156 | PRIMARY_COLOUR=var(--base09) 157 | PRIMARY_COLOUR=red 158 | PRIMARY_COLOUR=#ff0000 159 | ``` 160 | 161 | ## `CONDENSE_LINKS_AT_HEADING` 162 | 163 | This configuration option is similar to `CONDENSE_LINKS`, but only condenses 164 | links found under specific headings. 165 | 166 | For instance, I condense the few links I have on my index page under the 167 | "# Fuwn[.me]" heading, and I condense my quick links/navigation panel under the 168 | "## Quick Links" heading. 169 | 170 | This way, I don't accidentally condense my entire sitemap, which could be 171 | hundreds of links long, but I do condense my quick links on every page. 172 | 173 | ```dotenv 174 | CONDENSE_LINKS_AT_HEADINGS="## Quick Links,# Fuwn[.me]" 175 | ``` 176 | -------------------------------------------------------------------------------- /default.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --bg: var(--base00); 3 | --off-bg: var(--base01); 4 | --inner-bg: var(--base02); 5 | --fg: var(--base04); 6 | --off-fg: var(--base04); 7 | --muted: var(--base03); 8 | --link: var(--primary); 9 | --hover: var(--base0E); 10 | --highlight: var(--primary); 11 | --logo: var(--primary); 12 | --font-monospace: "Fira Mono", monospace; 13 | --font-size: auto; 14 | } 15 | 16 | @media (max-width: 600px) { 17 | :root { 18 | --font-size: 13.5px; 19 | } 20 | } 21 | 22 | body { 23 | background-color: var(--bg); 24 | color: var(--fg); 25 | font-family: var(--font-monospace); 26 | font-size: var(--font-size); 27 | line-height: math(1rem / var(--font-size)); 28 | } 29 | 30 | h1, 31 | h2, 32 | h3, 33 | h4, 34 | h5, 35 | h6 { 36 | font-size: var(--font-size); 37 | margin: 1.5rem 0 0 0; 38 | font-weight: 600; 39 | } 40 | 41 | h1 + h2, 42 | h1 + h3, 43 | h1 + h4, 44 | h1 + h5, 45 | h1 + h6, 46 | h2 + h3, 47 | h2 + h4, 48 | h2 + h5, 49 | h2 + h6, 50 | h3 + h4, 51 | h3 + h5, 52 | h3 + h6, 53 | h4 + h5, 54 | h4 + h6, 55 | h5 + h6 { 56 | margin: 0; 57 | } 58 | 59 | h1:before { 60 | content: "# "; 61 | } 62 | 63 | h2:before { 64 | content: "## "; 65 | } 66 | 67 | h3:before { 68 | content: "### "; 69 | } 70 | 71 | h4:before { 72 | content: "#### "; 73 | } 74 | 75 | h5:before { 76 | content: "##### "; 77 | } 78 | 79 | h6:before { 80 | content: "###### "; 81 | } 82 | 83 | h1:before, 84 | h2:before, 85 | h3:before, 86 | h4:before, 87 | h5:before, 88 | h6:before { 89 | color: var(--muted); 90 | font-weight: 400; 91 | } 92 | 93 | h1:first-child { 94 | margin-top: 0; 95 | } 96 | 97 | p { 98 | margin: 0 0 1.5rem 0; 99 | } 100 | 101 | a:link, 102 | a:visited { 103 | color: var(--link); 104 | text-decoration: none; 105 | } 106 | 107 | a:hover, 108 | a:active, 109 | a.active { 110 | background-color: var(--link); 111 | color: var(--bg); 112 | } 113 | 114 | ul { 115 | margin: 0 0 1.5rem 0; 116 | padding-left: 1.25rem; 117 | } 118 | 119 | ol { 120 | margin: 0 0 1.5rem 0; 121 | padding-left: 1.75rem; 122 | } 123 | 124 | ul ul, 125 | ul ol, 126 | ol ul, 127 | ol ol { 128 | margin: 0; 129 | } 130 | 131 | ul li::marker { 132 | content: "∗\00A0"; 133 | color: var(--muted); 134 | } 135 | 136 | ol li::marker { 137 | color: var(--muted); 138 | } 139 | 140 | dt { 141 | margin: 0; 142 | font-weight: bold; 143 | } 144 | 145 | dd { 146 | margin: 0 0 0 1.5rem; 147 | font-style: italic; 148 | } 149 | 150 | dd + dt { 151 | margin-top: 1.5rem; 152 | } 153 | 154 | dl { 155 | margin: 0 0 1.5rem 0; 156 | } 157 | 158 | blockquote { 159 | position: relative; 160 | margin: 0 0 1.5rem 1.5rem; 161 | } 162 | 163 | blockquote::before { 164 | position: absolute; 165 | left: -1.5rem; 166 | content: ">"; 167 | color: var(--muted); 168 | } 169 | 170 | pre, 171 | code, 172 | kbd, 173 | samp { 174 | background: var(--inner-bg) !important; 175 | font-family: var(--font-monospace); 176 | color: var(--off-fg); 177 | } 178 | 179 | pre { 180 | overflow-x: auto; 181 | padding: 1.5rem; 182 | margin: 0 0 1.5rem 0; 183 | } 184 | 185 | b, 186 | strong { 187 | font-weight: 600; 188 | } 189 | 190 | ::selection, 191 | mark { 192 | background-color: var(--highlight); 193 | color: var(--bg); 194 | } 195 | 196 | hr { 197 | border: 0; 198 | margin-bottom: 1.5rem; 199 | } 200 | 201 | hr:after { 202 | content: "---"; 203 | color: var(--muted); 204 | } 205 | 206 | sup, 207 | sub { 208 | vertical-align: baseline; 209 | position: relative; 210 | top: -0.25rem; 211 | font-size: unset; 212 | } 213 | 214 | sub { 215 | top: 0.25rem; 216 | } 217 | 218 | table { 219 | border-spacing: 0; 220 | margin: 0 0 1.5rem 0; 221 | overflow-wrap: anywhere; 222 | } 223 | 224 | th, 225 | td { 226 | padding: 0 0.75rem; 227 | vertical-align: top; 228 | } 229 | 230 | th:first-child, 231 | td:first-child { 232 | padding-left: 0; 233 | } 234 | 235 | th { 236 | text-align: inherit; 237 | } 238 | 239 | img { 240 | max-width: 100%; 241 | height: auto; 242 | } 243 | 244 | :root { 245 | --base00: #f8f8f8; 246 | --base001: #ffffff; 247 | --base0011: #ffffff80; 248 | --base01: #e8e8e8; 249 | --base02: #d8d8d8; 250 | --base03: #b8b8b8; 251 | --base04: #585858; 252 | --base05: #383838; 253 | --base06: #282828; 254 | --base07: #181818; 255 | --base08: #ab4642; 256 | --base09: #dc9656; 257 | --base0A: #f7ca88; 258 | --base0B: #a1b56c; 259 | --base0C: #86c1b9; 260 | --base0D: #7cafc2; 261 | --base0E: #ba8baf; 262 | --base0F: #a16946; 263 | } 264 | 265 | @media (prefers-color-scheme: dark) { 266 | :root { 267 | --base00: #080808; 268 | --base001: #0c0c0c; 269 | --base0011: #0c0c0c80; 270 | --base01: #181818; 271 | --base02: #282828; 272 | --base03: #484848; 273 | --base04: #a8a8a8; 274 | --base05: #c8c8c8; 275 | --base06: #d8d8d8; 276 | --base07: #f8f8f8; 277 | --base08: #9a4541; 278 | --base09: #cb9555; 279 | --base0A: #f6c987; 280 | --base0B: #a0b45b; 281 | --base0C: #85c0b8; 282 | --base0D: #7baeb1; 283 | --base0E: #b98aae; 284 | --base0F: #a06845; 285 | } 286 | } 287 | 288 | .gemini-fragment { 289 | -webkit-touch-callout: none; 290 | -webkit-user-select: none; 291 | -khtml-user-select: none; 292 | -moz-user-select: none; 293 | -ms-user-select: none; 294 | user-select: none; 295 | color: var(--muted); 296 | } 297 | 298 | /* * { 299 | transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, 300 | border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; 301 | } */ 302 | -------------------------------------------------------------------------------- /src/response.rs: -------------------------------------------------------------------------------- 1 | pub mod configuration; 2 | 3 | use { 4 | crate::url::{from_path as url_from_path, matches_pattern}, 5 | actix_web::{Error, HttpResponse}, 6 | std::{env::var, fmt::Write, time::Instant}, 7 | }; 8 | 9 | const CSS: &str = include_str!("../default.css"); 10 | 11 | #[allow(clippy::future_not_send, clippy::too_many_lines)] 12 | pub async fn default( 13 | http_request: actix_web::HttpRequest, 14 | ) -> Result { 15 | if ["/proxy", "/proxy/", "/x", "/x/", "/raw", "/raw/", "/nocss", "/nocss/"] 16 | .contains(&http_request.path()) 17 | { 18 | return Ok(HttpResponse::Ok() 19 | .content_type("text/html") 20 | .body(r"

September

21 |

This is a proxy path. Specify a Gemini URL without the protocol (gemini://) to proxy it.

22 |

To proxy gemini://fuwn.me/uptime, visit https://fuwn.me/proxy/fuwn.me/uptime.

23 |

Additionally, you may visit /raw to view the raw Gemini content, or /nocss to view the content without CSS.

24 | ")); 25 | } 26 | 27 | let mut configuration = configuration::Configuration::new(); 28 | let url = match url_from_path( 29 | &format!("{}{}", http_request.path(), { 30 | if !http_request.query_string().is_empty() 31 | || http_request.uri().to_string().ends_with('?') 32 | { 33 | format!("?{}", http_request.query_string()) 34 | } else { 35 | String::new() 36 | } 37 | }), 38 | false, 39 | &mut configuration, 40 | ) { 41 | Ok(url) => url, 42 | Err(e) => { 43 | return Ok( 44 | HttpResponse::BadRequest() 45 | .content_type("text/plain") 46 | .body(format!("{e}")), 47 | ); 48 | } 49 | }; 50 | let mut timer = Instant::now(); 51 | let mut response = match germ::request::request(&url).await { 52 | Ok(response) => response, 53 | Err(e) => { 54 | return Ok(HttpResponse::Ok().body(e.to_string())); 55 | } 56 | }; 57 | let mut redirect_response_status = None; 58 | let mut redirect_url = None; 59 | 60 | if *response.status() == germ::request::Status::PermanentRedirect 61 | || *response.status() == germ::request::Status::TemporaryRedirect 62 | { 63 | redirect_response_status = Some(*response.status()); 64 | redirect_url = Some( 65 | url::Url::parse(&if response.meta().starts_with('/') { 66 | format!( 67 | "gemini://{}{}", 68 | url.domain().unwrap_or_default(), 69 | response.meta() 70 | ) 71 | } else { 72 | response.meta().to_string() 73 | }) 74 | .unwrap(), 75 | ); 76 | response = 77 | match germ::request::request(&redirect_url.clone().unwrap()).await { 78 | Ok(response) => response, 79 | Err(e) => { 80 | return Ok(HttpResponse::Ok().body(e.to_string())); 81 | } 82 | } 83 | } 84 | 85 | let response_time_taken = timer.elapsed(); 86 | let meta = germ::meta::Meta::from_string(response.meta().to_string()); 87 | let charset = meta 88 | .parameters() 89 | .get("charset") 90 | .map_or_else(|| "utf-8".to_string(), ToString::to_string); 91 | let language = 92 | meta.parameters().get("lang").map_or_else(String::new, ToString::to_string); 93 | 94 | timer = Instant::now(); 95 | 96 | if response.meta().starts_with("image/") { 97 | if let Some(content_bytes) = &response.content_bytes() { 98 | return Ok( 99 | HttpResponse::build(actix_web::http::StatusCode::OK) 100 | .content_type(response.meta().as_ref()) 101 | .body(content_bytes.to_vec()), 102 | ); 103 | } 104 | } 105 | 106 | let mut html_context = if configuration.is_raw() { 107 | String::new() 108 | } else { 109 | format!( 110 | r#""#, 111 | if language.is_empty() { 112 | String::new() 113 | } else { 114 | format!(" lang=\"{language}\"") 115 | } 116 | ) 117 | }; 118 | let gemini_html = 119 | crate::html::from_gemini(&response, &url, &configuration).unwrap(); 120 | let gemini_title = gemini_html.0; 121 | let convert_time_taken = timer.elapsed(); 122 | 123 | if configuration.is_raw() { 124 | html_context.push_str( 125 | &response.content().as_ref().map_or_else(String::default, String::clone), 126 | ); 127 | 128 | return Ok( 129 | HttpResponse::Ok() 130 | .content_type(format!("{}; charset={charset}", meta.mime())) 131 | .body(html_context), 132 | ); 133 | } 134 | 135 | if configuration.is_no_css() { 136 | html_context.push_str(&gemini_html.1); 137 | 138 | return Ok( 139 | HttpResponse::Ok() 140 | .content_type(format!("text/html; charset={}", meta.mime())) 141 | .body(html_context), 142 | ); 143 | } 144 | 145 | if let Ok(css) = var("CSS_EXTERNAL") { 146 | let stylesheets = 147 | css.split(',').filter(|s| !s.is_empty()).collect::>(); 148 | 149 | for stylesheet in stylesheets { 150 | let _ = write!( 151 | &mut html_context, 152 | "", 153 | ); 154 | } 155 | } else if !configuration.is_no_css() { 156 | let _ = write!( 157 | &mut html_context, 158 | r#""# 159 | ); 160 | 161 | if let Ok(primary) = var("PRIMARY_COLOUR") { 162 | let _ = write!( 163 | &mut html_context, 164 | "" 165 | ); 166 | } else { 167 | let _ = write!( 168 | &mut html_context, 169 | "" 170 | ); 171 | } 172 | } 173 | 174 | if let Ok(favicon) = var("FAVICON_EXTERNAL") { 175 | let _ = write!( 176 | &mut html_context, 177 | "", 178 | ); 179 | } 180 | 181 | if var("MATHJAX").unwrap_or_else(|_| "true".to_string()).to_lowercase() 182 | == "true" 183 | { 184 | html_context.push_str( 185 | r#""#, 188 | ); 189 | } 190 | 191 | if let Ok(head) = var("HEAD") { 192 | html_context.push_str(&head); 193 | } 194 | 195 | let _ = write!(&mut html_context, "{gemini_title}"); 196 | let _ = write!(&mut html_context, ""); 197 | 198 | if !http_request.path().starts_with("/proxy") { 199 | if let Ok(header) = var("HEADER") { 200 | let _ = write!( 201 | &mut html_context, 202 | "
{header}
" 203 | ); 204 | } 205 | } 206 | 207 | match response.status() { 208 | germ::request::Status::Success => { 209 | if let (Some(status), Some(url)) = 210 | (redirect_response_status, redirect_url) 211 | { 212 | let _ = write!( 213 | &mut html_context, 214 | "
This page {} redirects to {}.
", 216 | if status == germ::request::Status::PermanentRedirect { 217 | "permanently" 218 | } else { 219 | "temporarily" 220 | }, 221 | url, 222 | url 223 | ); 224 | } 225 | 226 | html_context.push_str(&gemini_html.1); 227 | } 228 | _ => { 229 | let _ = write!(&mut html_context, "

{}

", response.meta()); 230 | } 231 | } 232 | 233 | let _ = write!( 234 | &mut html_context, 235 | "
\nProxy Information 236 |
237 |
Original URL
{0}
239 |
Status Code
240 |
{} ({})
241 |
Meta
{}
\ 242 | 243 |
Capsule Response Time
244 |
{} milliseconds
245 |
Gemini-to-HTML \ 246 | Time
247 |
{} milliseconds
248 |
249 |

This content has been proxied \ 250 | by September \ 251 | ({}).

252 |
", 253 | url, 254 | response.status(), 255 | i32::from(*response.status()), 256 | response.meta(), 257 | response_time_taken.as_nanos() as f64 / 1_000_000.0, 258 | convert_time_taken.as_nanos() as f64 / 1_000_000.0, 259 | format_args!("/tree/{}", env!("VERGEN_GIT_SHA")), 260 | env!("VERGEN_GIT_SHA").get(0..5).unwrap_or("UNKNOWN"), 261 | ); 262 | 263 | if let Ok(plain_texts) = var("PLAIN_TEXT_ROUTE") { 264 | if plain_texts.split(',').any(|r| { 265 | matches_pattern(r, http_request.path()) 266 | || matches_pattern(r, http_request.path().trim_end_matches('/')) 267 | }) { 268 | return Ok(HttpResponse::Ok().body( 269 | response.content().as_ref().map_or_else(String::default, String::clone), 270 | )); 271 | } 272 | } 273 | 274 | Ok( 275 | HttpResponse::Ok() 276 | .content_type(format!("text/html; charset={charset}")) 277 | .body(html_context), 278 | ) 279 | } 280 | -------------------------------------------------------------------------------- /src/html.rs: -------------------------------------------------------------------------------- 1 | use { 2 | crate::url::matches_pattern, 3 | germ::ast::Node, 4 | std::{env::var, fmt::Write}, 5 | url::Url, 6 | }; 7 | 8 | fn link_from_host_href(url: &Url, href: &str) -> Option { 9 | if href.starts_with("/proxy/") { 10 | Some(format!("gemini://{}", href.replace("/proxy/", ""))) 11 | } else { 12 | Some(format!( 13 | "gemini://{}{}{}", 14 | url.domain()?, 15 | { if href.starts_with('/') { "" } else { "/" } }, 16 | href 17 | )) 18 | } 19 | } 20 | 21 | fn safe(text: &str) -> String { 22 | let is_ordered_list = text.starts_with(|c: char| c.is_ascii_digit()) 23 | && text.get(1..3) == Some(". "); 24 | 25 | if is_ordered_list { 26 | text.to_string() 27 | } else { 28 | comrak::markdown_to_html(text, &comrak::ComrakOptions::default()) 29 | .replace("

", "") 30 | .replace("

", "") 31 | } 32 | } 33 | 34 | #[allow(clippy::too_many_lines, clippy::cognitive_complexity)] 35 | pub fn from_gemini( 36 | response: &germ::request::Response, 37 | url: &Url, 38 | configuration: &crate::response::configuration::Configuration, 39 | ) -> Option<(String, String)> { 40 | const GEMINI_FRAGMENT: &str = 41 | r#"=> "#; 42 | let ast_tree = germ::ast::Ast::from_string( 43 | response.content().as_ref().map_or_else(String::default, String::clone), 44 | ); 45 | let ast = ast_tree.inner(); 46 | let mut html = String::new(); 47 | let mut title = String::new(); 48 | let mut previous_link = false; 49 | let mut previous_link_count = 0; 50 | let condense_links = { 51 | let links = var("CONDENSE_LINKS").map_or_else( 52 | |_| vec![], 53 | |condense_links| { 54 | condense_links 55 | .split(',') 56 | .map(std::string::ToString::to_string) 57 | .collect() 58 | }, 59 | ); 60 | 61 | links.contains(&url.path().to_string()) || links.contains(&"*".to_string()) 62 | }; 63 | let condensible_headings_value = 64 | var("CONDENSE_LINKS_AT_HEADINGS").unwrap_or_default(); 65 | let condensible_headings = if condensible_headings_value.is_empty() { 66 | vec![] 67 | } else { 68 | condensible_headings_value.split(',').collect::>() 69 | }; 70 | let mut in_condense_links_flag_trap = !condensible_headings.is_empty(); 71 | 72 | for node in ast { 73 | if condensible_headings.contains(&node.to_gemtext().as_str()) { 74 | in_condense_links_flag_trap = true; 75 | } 76 | 77 | let align_adjacent_links = |html: &str| { 78 | if previous_link_count > 0 { 79 | html 80 | .chars() 81 | .rev() 82 | .collect::() 83 | .replacen(&GEMINI_FRAGMENT.chars().rev().collect::(), "", 1) 84 | .chars() 85 | .rev() 86 | .collect::() 87 | } else { 88 | html.to_string() 89 | } 90 | }; 91 | 92 | if previous_link 93 | && (!matches!(node, Node::Link { .. }) 94 | || (!condense_links && !in_condense_links_flag_trap)) 95 | { 96 | if let Some(next) = ast.iter().skip_while(|n| n != &node).nth(1) { 97 | if matches!(next, Node::Link { .. }) || previous_link { 98 | html.push_str("
"); 99 | } else { 100 | html.push_str("

"); 101 | } 102 | } else { 103 | html.push_str("

"); 104 | } 105 | 106 | previous_link = false; 107 | html = align_adjacent_links(&html); 108 | previous_link_count = 0; 109 | } else if previous_link { 110 | html = align_adjacent_links(&html); 111 | 112 | html.push_str(r#" | "#); 113 | 114 | previous_link_count += 1; 115 | } else if !previous_link && matches!(node, Node::Link { .. }) { 116 | html.push_str("

"); 117 | } 118 | 119 | match node { 120 | Node::Text(text) => { 121 | let _ = write!(&mut html, "

{}

", safe(text)); 122 | } 123 | Node::Link { to, text } => { 124 | let mut href = to.to_string(); 125 | let mut surface = false; 126 | 127 | if href.starts_with("./") || href.starts_with("../") { 128 | if let Ok(url) = url.join(&href) { 129 | href = url.to_string(); 130 | } 131 | } 132 | 133 | if href.contains("://") && !href.starts_with("gemini://") { 134 | surface = true; 135 | } else if !href.contains("://") && href.contains(':') { 136 | href = href.to_string(); 137 | } else if !href.starts_with("gemini://") && !href.starts_with('/') { 138 | href = format!( 139 | "{}/{}", 140 | url.domain().unwrap(), 141 | if url.path().ends_with('/') { 142 | format!("{}{}", url.path(), href) 143 | } else { 144 | format!("{}/{}", url.path(), href) 145 | } 146 | ) 147 | .replace("//", "/"); 148 | href = format!("gemini://{href}"); 149 | } else if href.starts_with('/') || !href.contains("://") { 150 | href = link_from_host_href(url, &href)?; 151 | } 152 | 153 | if var("PROXY_BY_DEFAULT") 154 | .unwrap_or_else(|_| "true".to_string()) 155 | .to_lowercase() 156 | == "true" 157 | && href.contains("gemini://") 158 | && !surface 159 | { 160 | if (configuration.is_proxy()) 161 | || configuration.is_no_css() 162 | || href 163 | .trim_start_matches("gemini://") 164 | .trim_end_matches('/') 165 | .split('/') 166 | .collect::>() 167 | .first() 168 | .unwrap() 169 | != &url.host().unwrap().to_string().as_str() 170 | { 171 | href = format!( 172 | "/{}/{}", 173 | if configuration.is_no_css() { "nocss" } else { "proxy" }, 174 | href.trim_start_matches("gemini://") 175 | ); 176 | } else { 177 | href = href.trim_start_matches("gemini://").replacen( 178 | &if let Some(host) = url.host() { 179 | host.to_string() 180 | } else { 181 | return None; 182 | }, 183 | "", 184 | 1, 185 | ); 186 | } 187 | } 188 | 189 | if let Ok(keeps) = var("KEEP_GEMINI") { 190 | let patterns = keeps.split(',').collect::>(); 191 | 192 | if (href.starts_with('/') || !href.contains("://")) && !surface { 193 | let temporary_href = link_from_host_href(url, &href)?; 194 | let should_exclude = patterns 195 | .iter() 196 | .filter(|p| p.starts_with('!')) 197 | .any(|p| matches_pattern(&p[1..], &temporary_href)); 198 | 199 | if !should_exclude { 200 | let should_include = patterns 201 | .iter() 202 | .filter(|p| !p.starts_with('!')) 203 | .any(|p| matches_pattern(p, &temporary_href)); 204 | 205 | if should_include { 206 | href = temporary_href; 207 | } 208 | } 209 | } 210 | } 211 | 212 | if let Ok(embed_images) = var("EMBED_IMAGES") { 213 | if let Some(extension) = std::path::Path::new(&href).extension() { 214 | if extension == "png" 215 | || extension == "jpg" 216 | || extension == "jpeg" 217 | || extension == "gif" 218 | || extension == "webp" 219 | || extension == "svg" 220 | { 221 | if embed_images == "1" { 222 | let _ = writeln!( 223 | &mut html, 224 | "

{} Embedded below

", 225 | href, 226 | safe(text.as_ref().unwrap_or(to)), 227 | ); 228 | } 229 | 230 | let _ = writeln!( 231 | &mut html, 232 | "

\"{}\"

", 233 | safe(&href), 234 | safe(text.as_ref().unwrap_or(to)), 235 | ); 236 | 237 | continue; 238 | } 239 | } 240 | } 241 | 242 | previous_link = true; 243 | 244 | let _ = write!( 245 | &mut html, 246 | r#"{}{}"#, 247 | GEMINI_FRAGMENT, 248 | href, 249 | safe(text.as_ref().unwrap_or(to)).trim(), 250 | ); 251 | } 252 | Node::Heading { level, text } => { 253 | if !condensible_headings.contains(&node.to_gemtext().as_str()) { 254 | in_condense_links_flag_trap = false; 255 | } 256 | 257 | if title.is_empty() && *level == 1 { 258 | title = safe(text).to_string(); 259 | } 260 | 261 | let _ = write!( 262 | &mut html, 263 | "<{}>{}", 264 | match level { 265 | 1 => "h1", 266 | 2 => "h2", 267 | 3 => "h3", 268 | _ => "p", 269 | }, 270 | safe(text), 271 | ); 272 | } 273 | Node::List(items) => { 274 | let _ = write!( 275 | &mut html, 276 | "
    {}
", 277 | items 278 | .iter() 279 | .map(|i| format!("
  • {}
  • ", safe(i))) 280 | .collect::>() 281 | .join("\n") 282 | ); 283 | } 284 | Node::Blockquote(text) => { 285 | let _ = write!(&mut html, "
    {}
    ", safe(text)); 286 | } 287 | Node::PreformattedText { text, .. } => { 288 | let mut new_text = text.to_string(); 289 | 290 | new_text.pop(); 291 | 292 | let _ = write!(&mut html, "
    {new_text}
    "); 293 | } 294 | Node::Whitespace => {} 295 | } 296 | } 297 | 298 | Some((title, html)) 299 | } 300 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- 1 | # This file is automatically @generated by Cargo. 2 | # It is not intended for manual editing. 3 | version = 4 4 | 5 | [[package]] 6 | name = "actix-codec" 7 | version = "0.5.1" 8 | source = "registry+https://github.com/rust-lang/crates.io-index" 9 | checksum = "617a8268e3537fe1d8c9ead925fca49ef6400927ee7bc26750e90ecee14ce4b8" 10 | dependencies = [ 11 | "bitflags 1.3.2", 12 | "bytes", 13 | "futures-core", 14 | "futures-sink", 15 | "memchr", 16 | "pin-project-lite", 17 | "tokio", 18 | "tokio-util", 19 | "tracing", 20 | ] 21 | 22 | [[package]] 23 | name = "actix-http" 24 | version = "3.11.0" 25 | source = "registry+https://github.com/rust-lang/crates.io-index" 26 | checksum = "44dfe5c9e0004c623edc65391dfd51daa201e7e30ebd9c9bedf873048ec32bc2" 27 | dependencies = [ 28 | "actix-codec", 29 | "actix-rt", 30 | "actix-service", 31 | "actix-utils", 32 | "base64", 33 | "bitflags 2.9.1", 34 | "brotli", 35 | "bytes", 36 | "bytestring", 37 | "derive_more", 38 | "encoding_rs", 39 | "flate2", 40 | "foldhash", 41 | "futures-core", 42 | "h2", 43 | "http", 44 | "httparse", 45 | "httpdate", 46 | "itoa", 47 | "language-tags", 48 | "local-channel", 49 | "mime", 50 | "percent-encoding", 51 | "pin-project-lite", 52 | "rand", 53 | "sha1", 54 | "smallvec", 55 | "tokio", 56 | "tokio-util", 57 | "tracing", 58 | "zstd", 59 | ] 60 | 61 | [[package]] 62 | name = "actix-macros" 63 | version = "0.2.3" 64 | source = "registry+https://github.com/rust-lang/crates.io-index" 65 | checksum = "465a6172cf69b960917811022d8f29bc0b7fa1398bc4f78b3c466673db1213b6" 66 | dependencies = [ 67 | "quote", 68 | "syn 1.0.109", 69 | ] 70 | 71 | [[package]] 72 | name = "actix-router" 73 | version = "0.5.3" 74 | source = "registry+https://github.com/rust-lang/crates.io-index" 75 | checksum = "13d324164c51f63867b57e73ba5936ea151b8a41a1d23d1031eeb9f70d0236f8" 76 | dependencies = [ 77 | "bytestring", 78 | "cfg-if", 79 | "http", 80 | "regex", 81 | "regex-lite", 82 | "serde", 83 | "tracing", 84 | ] 85 | 86 | [[package]] 87 | name = "actix-rt" 88 | version = "2.10.0" 89 | source = "registry+https://github.com/rust-lang/crates.io-index" 90 | checksum = "24eda4e2a6e042aa4e55ac438a2ae052d3b5da0ecf83d7411e1a368946925208" 91 | dependencies = [ 92 | "futures-core", 93 | "tokio", 94 | ] 95 | 96 | [[package]] 97 | name = "actix-server" 98 | version = "2.6.0" 99 | source = "registry+https://github.com/rust-lang/crates.io-index" 100 | checksum = "a65064ea4a457eaf07f2fba30b4c695bf43b721790e9530d26cb6f9019ff7502" 101 | dependencies = [ 102 | "actix-rt", 103 | "actix-service", 104 | "actix-utils", 105 | "futures-core", 106 | "futures-util", 107 | "mio", 108 | "socket2", 109 | "tokio", 110 | "tracing", 111 | ] 112 | 113 | [[package]] 114 | name = "actix-service" 115 | version = "2.0.2" 116 | source = "registry+https://github.com/rust-lang/crates.io-index" 117 | checksum = "3b894941f818cfdc7ccc4b9e60fa7e53b5042a2e8567270f9147d5591893373a" 118 | dependencies = [ 119 | "futures-core", 120 | "paste", 121 | "pin-project-lite", 122 | ] 123 | 124 | [[package]] 125 | name = "actix-utils" 126 | version = "3.0.1" 127 | source = "registry+https://github.com/rust-lang/crates.io-index" 128 | checksum = "88a1dcdff1466e3c2488e1cb5c36a71822750ad43839937f85d2f4d9f8b705d8" 129 | dependencies = [ 130 | "local-waker", 131 | "pin-project-lite", 132 | ] 133 | 134 | [[package]] 135 | name = "actix-web" 136 | version = "4.11.0" 137 | source = "registry+https://github.com/rust-lang/crates.io-index" 138 | checksum = "a597b77b5c6d6a1e1097fddde329a83665e25c5437c696a3a9a4aa514a614dea" 139 | dependencies = [ 140 | "actix-codec", 141 | "actix-http", 142 | "actix-macros", 143 | "actix-router", 144 | "actix-rt", 145 | "actix-server", 146 | "actix-service", 147 | "actix-utils", 148 | "actix-web-codegen", 149 | "bytes", 150 | "bytestring", 151 | "cfg-if", 152 | "cookie", 153 | "derive_more", 154 | "encoding_rs", 155 | "foldhash", 156 | "futures-core", 157 | "futures-util", 158 | "impl-more", 159 | "itoa", 160 | "language-tags", 161 | "log", 162 | "mime", 163 | "once_cell", 164 | "pin-project-lite", 165 | "regex", 166 | "regex-lite", 167 | "serde", 168 | "serde_json", 169 | "serde_urlencoded", 170 | "smallvec", 171 | "socket2", 172 | "time", 173 | "tracing", 174 | "url", 175 | ] 176 | 177 | [[package]] 178 | name = "actix-web-codegen" 179 | version = "4.3.0" 180 | source = "registry+https://github.com/rust-lang/crates.io-index" 181 | checksum = "f591380e2e68490b5dfaf1dd1aa0ebe78d84ba7067078512b4ea6e4492d622b8" 182 | dependencies = [ 183 | "actix-router", 184 | "proc-macro2", 185 | "quote", 186 | "syn 2.0.101", 187 | ] 188 | 189 | [[package]] 190 | name = "addr2line" 191 | version = "0.24.2" 192 | source = "registry+https://github.com/rust-lang/crates.io-index" 193 | checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" 194 | dependencies = [ 195 | "gimli", 196 | ] 197 | 198 | [[package]] 199 | name = "adler2" 200 | version = "2.0.0" 201 | source = "registry+https://github.com/rust-lang/crates.io-index" 202 | checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" 203 | 204 | [[package]] 205 | name = "ahash" 206 | version = "0.8.11" 207 | source = "registry+https://github.com/rust-lang/crates.io-index" 208 | checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" 209 | dependencies = [ 210 | "cfg-if", 211 | "once_cell", 212 | "version_check", 213 | "zerocopy 0.7.35", 214 | ] 215 | 216 | [[package]] 217 | name = "aho-corasick" 218 | version = "1.1.3" 219 | source = "registry+https://github.com/rust-lang/crates.io-index" 220 | checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" 221 | dependencies = [ 222 | "memchr", 223 | ] 224 | 225 | [[package]] 226 | name = "alloc-no-stdlib" 227 | version = "2.0.4" 228 | source = "registry+https://github.com/rust-lang/crates.io-index" 229 | checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3" 230 | 231 | [[package]] 232 | name = "alloc-stdlib" 233 | version = "0.2.2" 234 | source = "registry+https://github.com/rust-lang/crates.io-index" 235 | checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece" 236 | dependencies = [ 237 | "alloc-no-stdlib", 238 | ] 239 | 240 | [[package]] 241 | name = "allocator-api2" 242 | version = "0.2.21" 243 | source = "registry+https://github.com/rust-lang/crates.io-index" 244 | checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" 245 | 246 | [[package]] 247 | name = "anstream" 248 | version = "0.6.14" 249 | source = "registry+https://github.com/rust-lang/crates.io-index" 250 | checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" 251 | dependencies = [ 252 | "anstyle", 253 | "anstyle-parse", 254 | "anstyle-query", 255 | "anstyle-wincon", 256 | "colorchoice", 257 | "is_terminal_polyfill", 258 | "utf8parse", 259 | ] 260 | 261 | [[package]] 262 | name = "anstyle" 263 | version = "1.0.7" 264 | source = "registry+https://github.com/rust-lang/crates.io-index" 265 | checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" 266 | 267 | [[package]] 268 | name = "anstyle-parse" 269 | version = "0.2.4" 270 | source = "registry+https://github.com/rust-lang/crates.io-index" 271 | checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" 272 | dependencies = [ 273 | "utf8parse", 274 | ] 275 | 276 | [[package]] 277 | name = "anstyle-query" 278 | version = "1.1.0" 279 | source = "registry+https://github.com/rust-lang/crates.io-index" 280 | checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391" 281 | dependencies = [ 282 | "windows-sys 0.52.0", 283 | ] 284 | 285 | [[package]] 286 | name = "anstyle-wincon" 287 | version = "3.0.3" 288 | source = "registry+https://github.com/rust-lang/crates.io-index" 289 | checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" 290 | dependencies = [ 291 | "anstyle", 292 | "windows-sys 0.52.0", 293 | ] 294 | 295 | [[package]] 296 | name = "anyhow" 297 | version = "1.0.98" 298 | source = "registry+https://github.com/rust-lang/crates.io-index" 299 | checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487" 300 | 301 | [[package]] 302 | name = "arc-swap" 303 | version = "1.6.0" 304 | source = "registry+https://github.com/rust-lang/crates.io-index" 305 | checksum = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6" 306 | 307 | [[package]] 308 | name = "autocfg" 309 | version = "1.4.0" 310 | source = "registry+https://github.com/rust-lang/crates.io-index" 311 | checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" 312 | 313 | [[package]] 314 | name = "backtrace" 315 | version = "0.3.75" 316 | source = "registry+https://github.com/rust-lang/crates.io-index" 317 | checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002" 318 | dependencies = [ 319 | "addr2line", 320 | "cfg-if", 321 | "libc", 322 | "miniz_oxide", 323 | "object", 324 | "rustc-demangle", 325 | "windows-targets 0.52.6", 326 | ] 327 | 328 | [[package]] 329 | name = "base64" 330 | version = "0.22.1" 331 | source = "registry+https://github.com/rust-lang/crates.io-index" 332 | checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" 333 | 334 | [[package]] 335 | name = "bincode" 336 | version = "1.3.3" 337 | source = "registry+https://github.com/rust-lang/crates.io-index" 338 | checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" 339 | dependencies = [ 340 | "serde", 341 | ] 342 | 343 | [[package]] 344 | name = "bit-set" 345 | version = "0.5.3" 346 | source = "registry+https://github.com/rust-lang/crates.io-index" 347 | checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" 348 | dependencies = [ 349 | "bit-vec", 350 | ] 351 | 352 | [[package]] 353 | name = "bit-vec" 354 | version = "0.6.3" 355 | source = "registry+https://github.com/rust-lang/crates.io-index" 356 | checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" 357 | 358 | [[package]] 359 | name = "bitflags" 360 | version = "1.3.2" 361 | source = "registry+https://github.com/rust-lang/crates.io-index" 362 | checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 363 | 364 | [[package]] 365 | name = "bitflags" 366 | version = "2.9.1" 367 | source = "registry+https://github.com/rust-lang/crates.io-index" 368 | checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" 369 | 370 | [[package]] 371 | name = "block-buffer" 372 | version = "0.10.4" 373 | source = "registry+https://github.com/rust-lang/crates.io-index" 374 | checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 375 | dependencies = [ 376 | "generic-array", 377 | ] 378 | 379 | [[package]] 380 | name = "brotli" 381 | version = "8.0.1" 382 | source = "registry+https://github.com/rust-lang/crates.io-index" 383 | checksum = "9991eea70ea4f293524138648e41ee89b0b2b12ddef3b255effa43c8056e0e0d" 384 | dependencies = [ 385 | "alloc-no-stdlib", 386 | "alloc-stdlib", 387 | "brotli-decompressor", 388 | ] 389 | 390 | [[package]] 391 | name = "brotli-decompressor" 392 | version = "5.0.0" 393 | source = "registry+https://github.com/rust-lang/crates.io-index" 394 | checksum = "874bb8112abecc98cbd6d81ea4fa7e94fb9449648c93cc89aa40c81c24d7de03" 395 | dependencies = [ 396 | "alloc-no-stdlib", 397 | "alloc-stdlib", 398 | ] 399 | 400 | [[package]] 401 | name = "bstr" 402 | version = "1.5.0" 403 | source = "registry+https://github.com/rust-lang/crates.io-index" 404 | checksum = "a246e68bb43f6cd9db24bea052a53e40405417c5fb372e3d1a8a7f770a564ef5" 405 | dependencies = [ 406 | "memchr", 407 | "once_cell", 408 | "regex-automata", 409 | "serde", 410 | ] 411 | 412 | [[package]] 413 | name = "bumpalo" 414 | version = "3.17.0" 415 | source = "registry+https://github.com/rust-lang/crates.io-index" 416 | checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" 417 | 418 | [[package]] 419 | name = "bytes" 420 | version = "1.10.1" 421 | source = "registry+https://github.com/rust-lang/crates.io-index" 422 | checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" 423 | 424 | [[package]] 425 | name = "bytestring" 426 | version = "1.4.0" 427 | source = "registry+https://github.com/rust-lang/crates.io-index" 428 | checksum = "e465647ae23b2823b0753f50decb2d5a86d2bb2cac04788fafd1f80e45378e5f" 429 | dependencies = [ 430 | "bytes", 431 | ] 432 | 433 | [[package]] 434 | name = "caseless" 435 | version = "0.2.1" 436 | source = "registry+https://github.com/rust-lang/crates.io-index" 437 | checksum = "808dab3318747be122cb31d36de18d4d1c81277a76f8332a02b81a3d73463d7f" 438 | dependencies = [ 439 | "regex", 440 | "unicode-normalization", 441 | ] 442 | 443 | [[package]] 444 | name = "cc" 445 | version = "1.2.25" 446 | source = "registry+https://github.com/rust-lang/crates.io-index" 447 | checksum = "d0fc897dc1e865cc67c0e05a836d9d3f1df3cbe442aa4a9473b18e12624a4951" 448 | dependencies = [ 449 | "jobserver", 450 | "libc", 451 | "shlex", 452 | ] 453 | 454 | [[package]] 455 | name = "cfg-if" 456 | version = "1.0.0" 457 | source = "registry+https://github.com/rust-lang/crates.io-index" 458 | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 459 | 460 | [[package]] 461 | name = "clap" 462 | version = "4.5.10" 463 | source = "registry+https://github.com/rust-lang/crates.io-index" 464 | checksum = "8f6b81fb3c84f5563d509c59b5a48d935f689e993afa90fe39047f05adef9142" 465 | dependencies = [ 466 | "clap_builder", 467 | "clap_derive", 468 | ] 469 | 470 | [[package]] 471 | name = "clap_builder" 472 | version = "4.5.10" 473 | source = "registry+https://github.com/rust-lang/crates.io-index" 474 | checksum = "5ca6706fd5224857d9ac5eb9355f6683563cc0541c7cd9d014043b57cbec78ac" 475 | dependencies = [ 476 | "anstream", 477 | "anstyle", 478 | "clap_lex", 479 | "strsim", 480 | "terminal_size", 481 | ] 482 | 483 | [[package]] 484 | name = "clap_derive" 485 | version = "4.5.8" 486 | source = "registry+https://github.com/rust-lang/crates.io-index" 487 | checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" 488 | dependencies = [ 489 | "heck", 490 | "proc-macro2", 491 | "quote", 492 | "syn 2.0.101", 493 | ] 494 | 495 | [[package]] 496 | name = "clap_lex" 497 | version = "0.7.1" 498 | source = "registry+https://github.com/rust-lang/crates.io-index" 499 | checksum = "4b82cf0babdbd58558212896d1a4272303a57bdb245c2bf1147185fb45640e70" 500 | 501 | [[package]] 502 | name = "clru" 503 | version = "0.6.1" 504 | source = "registry+https://github.com/rust-lang/crates.io-index" 505 | checksum = "b8191fa7302e03607ff0e237d4246cc043ff5b3cb9409d995172ba3bea16b807" 506 | 507 | [[package]] 508 | name = "colorchoice" 509 | version = "1.0.1" 510 | source = "registry+https://github.com/rust-lang/crates.io-index" 511 | checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" 512 | 513 | [[package]] 514 | name = "comrak" 515 | version = "0.29.0" 516 | source = "registry+https://github.com/rust-lang/crates.io-index" 517 | checksum = "d8c32ff8b21372fab0e9ecc4e42536055702dc5faa418362bffd1544f9d12637" 518 | dependencies = [ 519 | "caseless", 520 | "clap", 521 | "derive_builder", 522 | "entities", 523 | "memchr", 524 | "once_cell", 525 | "regex", 526 | "shell-words", 527 | "slug", 528 | "syntect", 529 | "typed-arena", 530 | "unicode_categories", 531 | "xdg", 532 | ] 533 | 534 | [[package]] 535 | name = "cookie" 536 | version = "0.16.2" 537 | source = "registry+https://github.com/rust-lang/crates.io-index" 538 | checksum = "e859cd57d0710d9e06c381b550c06e76992472a8c6d527aecd2fc673dcc231fb" 539 | dependencies = [ 540 | "percent-encoding", 541 | "time", 542 | "version_check", 543 | ] 544 | 545 | [[package]] 546 | name = "cpufeatures" 547 | version = "0.2.17" 548 | source = "registry+https://github.com/rust-lang/crates.io-index" 549 | checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" 550 | dependencies = [ 551 | "libc", 552 | ] 553 | 554 | [[package]] 555 | name = "crc32fast" 556 | version = "1.4.2" 557 | source = "registry+https://github.com/rust-lang/crates.io-index" 558 | checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" 559 | dependencies = [ 560 | "cfg-if", 561 | ] 562 | 563 | [[package]] 564 | name = "crypto-common" 565 | version = "0.1.6" 566 | source = "registry+https://github.com/rust-lang/crates.io-index" 567 | checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 568 | dependencies = [ 569 | "generic-array", 570 | "typenum", 571 | ] 572 | 573 | [[package]] 574 | name = "darling" 575 | version = "0.20.10" 576 | source = "registry+https://github.com/rust-lang/crates.io-index" 577 | checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" 578 | dependencies = [ 579 | "darling_core", 580 | "darling_macro", 581 | ] 582 | 583 | [[package]] 584 | name = "darling_core" 585 | version = "0.20.10" 586 | source = "registry+https://github.com/rust-lang/crates.io-index" 587 | checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5" 588 | dependencies = [ 589 | "fnv", 590 | "ident_case", 591 | "proc-macro2", 592 | "quote", 593 | "strsim", 594 | "syn 2.0.101", 595 | ] 596 | 597 | [[package]] 598 | name = "darling_macro" 599 | version = "0.20.10" 600 | source = "registry+https://github.com/rust-lang/crates.io-index" 601 | checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" 602 | dependencies = [ 603 | "darling_core", 604 | "quote", 605 | "syn 2.0.101", 606 | ] 607 | 608 | [[package]] 609 | name = "deranged" 610 | version = "0.4.0" 611 | source = "registry+https://github.com/rust-lang/crates.io-index" 612 | checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e" 613 | dependencies = [ 614 | "powerfmt", 615 | ] 616 | 617 | [[package]] 618 | name = "derive_builder" 619 | version = "0.20.0" 620 | source = "registry+https://github.com/rust-lang/crates.io-index" 621 | checksum = "0350b5cb0331628a5916d6c5c0b72e97393b8b6b03b47a9284f4e7f5a405ffd7" 622 | dependencies = [ 623 | "derive_builder_macro", 624 | ] 625 | 626 | [[package]] 627 | name = "derive_builder_core" 628 | version = "0.20.0" 629 | source = "registry+https://github.com/rust-lang/crates.io-index" 630 | checksum = "d48cda787f839151732d396ac69e3473923d54312c070ee21e9effcaa8ca0b1d" 631 | dependencies = [ 632 | "darling", 633 | "proc-macro2", 634 | "quote", 635 | "syn 2.0.101", 636 | ] 637 | 638 | [[package]] 639 | name = "derive_builder_macro" 640 | version = "0.20.0" 641 | source = "registry+https://github.com/rust-lang/crates.io-index" 642 | checksum = "206868b8242f27cecce124c19fd88157fbd0dd334df2587f36417bafbc85097b" 643 | dependencies = [ 644 | "derive_builder_core", 645 | "syn 2.0.101", 646 | ] 647 | 648 | [[package]] 649 | name = "derive_more" 650 | version = "2.0.1" 651 | source = "registry+https://github.com/rust-lang/crates.io-index" 652 | checksum = "093242cf7570c207c83073cf82f79706fe7b8317e98620a47d5be7c3d8497678" 653 | dependencies = [ 654 | "derive_more-impl", 655 | ] 656 | 657 | [[package]] 658 | name = "derive_more-impl" 659 | version = "2.0.1" 660 | source = "registry+https://github.com/rust-lang/crates.io-index" 661 | checksum = "bda628edc44c4bb645fbe0f758797143e4e07926f7ebf4e9bdfbd3d2ce621df3" 662 | dependencies = [ 663 | "proc-macro2", 664 | "quote", 665 | "syn 2.0.101", 666 | "unicode-xid", 667 | ] 668 | 669 | [[package]] 670 | name = "deunicode" 671 | version = "1.6.0" 672 | source = "registry+https://github.com/rust-lang/crates.io-index" 673 | checksum = "339544cc9e2c4dc3fc7149fd630c5f22263a4fdf18a98afd0075784968b5cf00" 674 | 675 | [[package]] 676 | name = "digest" 677 | version = "0.10.7" 678 | source = "registry+https://github.com/rust-lang/crates.io-index" 679 | checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" 680 | dependencies = [ 681 | "block-buffer", 682 | "crypto-common", 683 | ] 684 | 685 | [[package]] 686 | name = "displaydoc" 687 | version = "0.2.5" 688 | source = "registry+https://github.com/rust-lang/crates.io-index" 689 | checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" 690 | dependencies = [ 691 | "proc-macro2", 692 | "quote", 693 | "syn 2.0.101", 694 | ] 695 | 696 | [[package]] 697 | name = "dotenv" 698 | version = "0.15.0" 699 | source = "registry+https://github.com/rust-lang/crates.io-index" 700 | checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" 701 | 702 | [[package]] 703 | name = "dunce" 704 | version = "1.0.4" 705 | source = "registry+https://github.com/rust-lang/crates.io-index" 706 | checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" 707 | 708 | [[package]] 709 | name = "encoding_rs" 710 | version = "0.8.35" 711 | source = "registry+https://github.com/rust-lang/crates.io-index" 712 | checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" 713 | dependencies = [ 714 | "cfg-if", 715 | ] 716 | 717 | [[package]] 718 | name = "entities" 719 | version = "1.0.1" 720 | source = "registry+https://github.com/rust-lang/crates.io-index" 721 | checksum = "b5320ae4c3782150d900b79807611a59a99fc9a1d61d686faafc24b93fc8d7ca" 722 | 723 | [[package]] 724 | name = "env_logger" 725 | version = "0.10.0" 726 | source = "registry+https://github.com/rust-lang/crates.io-index" 727 | checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" 728 | dependencies = [ 729 | "humantime", 730 | "is-terminal", 731 | "log", 732 | "regex", 733 | "termcolor", 734 | ] 735 | 736 | [[package]] 737 | name = "equivalent" 738 | version = "1.0.2" 739 | source = "registry+https://github.com/rust-lang/crates.io-index" 740 | checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" 741 | 742 | [[package]] 743 | name = "errno" 744 | version = "0.3.9" 745 | source = "registry+https://github.com/rust-lang/crates.io-index" 746 | checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" 747 | dependencies = [ 748 | "libc", 749 | "windows-sys 0.52.0", 750 | ] 751 | 752 | [[package]] 753 | name = "fancy-regex" 754 | version = "0.11.0" 755 | source = "registry+https://github.com/rust-lang/crates.io-index" 756 | checksum = "b95f7c0680e4142284cf8b22c14a476e87d61b004a3a0861872b32ef7ead40a2" 757 | dependencies = [ 758 | "bit-set", 759 | "regex", 760 | ] 761 | 762 | [[package]] 763 | name = "faster-hex" 764 | version = "0.9.0" 765 | source = "registry+https://github.com/rust-lang/crates.io-index" 766 | checksum = "a2a2b11eda1d40935b26cf18f6833c526845ae8c41e58d09af6adeb6f0269183" 767 | 768 | [[package]] 769 | name = "fastrand" 770 | version = "2.1.0" 771 | source = "registry+https://github.com/rust-lang/crates.io-index" 772 | checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" 773 | 774 | [[package]] 775 | name = "filetime" 776 | version = "0.2.21" 777 | source = "registry+https://github.com/rust-lang/crates.io-index" 778 | checksum = "5cbc844cecaee9d4443931972e1289c8ff485cb4cc2767cb03ca139ed6885153" 779 | dependencies = [ 780 | "cfg-if", 781 | "libc", 782 | "redox_syscall", 783 | "windows-sys 0.48.0", 784 | ] 785 | 786 | [[package]] 787 | name = "flate2" 788 | version = "1.1.1" 789 | source = "registry+https://github.com/rust-lang/crates.io-index" 790 | checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece" 791 | dependencies = [ 792 | "crc32fast", 793 | "miniz_oxide", 794 | ] 795 | 796 | [[package]] 797 | name = "fnv" 798 | version = "1.0.7" 799 | source = "registry+https://github.com/rust-lang/crates.io-index" 800 | checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 801 | 802 | [[package]] 803 | name = "foldhash" 804 | version = "0.1.5" 805 | source = "registry+https://github.com/rust-lang/crates.io-index" 806 | checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" 807 | 808 | [[package]] 809 | name = "form_urlencoded" 810 | version = "1.2.1" 811 | source = "registry+https://github.com/rust-lang/crates.io-index" 812 | checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" 813 | dependencies = [ 814 | "percent-encoding", 815 | ] 816 | 817 | [[package]] 818 | name = "futures-core" 819 | version = "0.3.31" 820 | source = "registry+https://github.com/rust-lang/crates.io-index" 821 | checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" 822 | 823 | [[package]] 824 | name = "futures-sink" 825 | version = "0.3.31" 826 | source = "registry+https://github.com/rust-lang/crates.io-index" 827 | checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" 828 | 829 | [[package]] 830 | name = "futures-task" 831 | version = "0.3.31" 832 | source = "registry+https://github.com/rust-lang/crates.io-index" 833 | checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" 834 | 835 | [[package]] 836 | name = "futures-util" 837 | version = "0.3.31" 838 | source = "registry+https://github.com/rust-lang/crates.io-index" 839 | checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" 840 | dependencies = [ 841 | "futures-core", 842 | "futures-task", 843 | "pin-project-lite", 844 | "pin-utils", 845 | ] 846 | 847 | [[package]] 848 | name = "generic-array" 849 | version = "0.14.7" 850 | source = "registry+https://github.com/rust-lang/crates.io-index" 851 | checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" 852 | dependencies = [ 853 | "typenum", 854 | "version_check", 855 | ] 856 | 857 | [[package]] 858 | name = "germ" 859 | version = "0.4.7" 860 | source = "registry+https://github.com/rust-lang/crates.io-index" 861 | checksum = "603354f11eb56ae667d4f1ec32162b90a01c8c40c70195f5386f2fc65e5aa272" 862 | dependencies = [ 863 | "anyhow", 864 | "rustls", 865 | "tokio", 866 | "tokio-rustls", 867 | "url", 868 | ] 869 | 870 | [[package]] 871 | name = "getrandom" 872 | version = "0.2.16" 873 | source = "registry+https://github.com/rust-lang/crates.io-index" 874 | checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" 875 | dependencies = [ 876 | "cfg-if", 877 | "libc", 878 | "wasi 0.11.0+wasi-snapshot-preview1", 879 | ] 880 | 881 | [[package]] 882 | name = "getrandom" 883 | version = "0.3.3" 884 | source = "registry+https://github.com/rust-lang/crates.io-index" 885 | checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4" 886 | dependencies = [ 887 | "cfg-if", 888 | "libc", 889 | "r-efi", 890 | "wasi 0.14.2+wasi-0.2.4", 891 | ] 892 | 893 | [[package]] 894 | name = "gimli" 895 | version = "0.31.1" 896 | source = "registry+https://github.com/rust-lang/crates.io-index" 897 | checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" 898 | 899 | [[package]] 900 | name = "gix" 901 | version = "0.63.0" 902 | source = "registry+https://github.com/rust-lang/crates.io-index" 903 | checksum = "984c5018adfa7a4536ade67990b3ebc6e11ab57b3d6cd9968de0947ca99b4b06" 904 | dependencies = [ 905 | "gix-actor", 906 | "gix-commitgraph", 907 | "gix-config", 908 | "gix-date", 909 | "gix-diff", 910 | "gix-discover", 911 | "gix-features", 912 | "gix-fs", 913 | "gix-glob", 914 | "gix-hash", 915 | "gix-hashtable", 916 | "gix-index", 917 | "gix-lock", 918 | "gix-macros", 919 | "gix-object", 920 | "gix-odb", 921 | "gix-pack", 922 | "gix-path", 923 | "gix-ref", 924 | "gix-refspec", 925 | "gix-revision", 926 | "gix-revwalk", 927 | "gix-sec", 928 | "gix-tempfile", 929 | "gix-trace", 930 | "gix-traverse", 931 | "gix-url", 932 | "gix-utils", 933 | "gix-validate", 934 | "once_cell", 935 | "parking_lot", 936 | "signal-hook", 937 | "smallvec", 938 | "thiserror", 939 | ] 940 | 941 | [[package]] 942 | name = "gix-actor" 943 | version = "0.31.4" 944 | source = "registry+https://github.com/rust-lang/crates.io-index" 945 | checksum = "d9b8ee65074b2bbb91d9d97c15d172ea75043aefebf9869b5b329149dc76501c" 946 | dependencies = [ 947 | "bstr", 948 | "gix-date", 949 | "gix-utils", 950 | "itoa", 951 | "thiserror", 952 | "winnow", 953 | ] 954 | 955 | [[package]] 956 | name = "gix-bitmap" 957 | version = "0.2.11" 958 | source = "registry+https://github.com/rust-lang/crates.io-index" 959 | checksum = "a371db66cbd4e13f0ed9dc4c0fea712d7276805fccc877f77e96374d317e87ae" 960 | dependencies = [ 961 | "thiserror", 962 | ] 963 | 964 | [[package]] 965 | name = "gix-chunk" 966 | version = "0.4.8" 967 | source = "registry+https://github.com/rust-lang/crates.io-index" 968 | checksum = "45c8751169961ba7640b513c3b24af61aa962c967aaf04116734975cd5af0c52" 969 | dependencies = [ 970 | "thiserror", 971 | ] 972 | 973 | [[package]] 974 | name = "gix-commitgraph" 975 | version = "0.24.3" 976 | source = "registry+https://github.com/rust-lang/crates.io-index" 977 | checksum = "133b06f67f565836ec0c473e2116a60fb74f80b6435e21d88013ac0e3c60fc78" 978 | dependencies = [ 979 | "bstr", 980 | "gix-chunk", 981 | "gix-features", 982 | "gix-hash", 983 | "memmap2", 984 | "thiserror", 985 | ] 986 | 987 | [[package]] 988 | name = "gix-config" 989 | version = "0.37.0" 990 | source = "registry+https://github.com/rust-lang/crates.io-index" 991 | checksum = "53fafe42957e11d98e354a66b6bd70aeea00faf2f62dd11164188224a507c840" 992 | dependencies = [ 993 | "bstr", 994 | "gix-config-value", 995 | "gix-features", 996 | "gix-glob", 997 | "gix-path", 998 | "gix-ref", 999 | "gix-sec", 1000 | "memchr", 1001 | "once_cell", 1002 | "smallvec", 1003 | "thiserror", 1004 | "unicode-bom", 1005 | "winnow", 1006 | ] 1007 | 1008 | [[package]] 1009 | name = "gix-config-value" 1010 | version = "0.14.6" 1011 | source = "registry+https://github.com/rust-lang/crates.io-index" 1012 | checksum = "fbd06203b1a9b33a78c88252a625031b094d9e1b647260070c25b09910c0a804" 1013 | dependencies = [ 1014 | "bitflags 2.9.1", 1015 | "bstr", 1016 | "gix-path", 1017 | "libc", 1018 | "thiserror", 1019 | ] 1020 | 1021 | [[package]] 1022 | name = "gix-date" 1023 | version = "0.8.6" 1024 | source = "registry+https://github.com/rust-lang/crates.io-index" 1025 | checksum = "367ee9093b0c2b04fd04c5c7c8b6a1082713534eab537597ae343663a518fa99" 1026 | dependencies = [ 1027 | "bstr", 1028 | "itoa", 1029 | "thiserror", 1030 | "time", 1031 | ] 1032 | 1033 | [[package]] 1034 | name = "gix-diff" 1035 | version = "0.44.0" 1036 | source = "registry+https://github.com/rust-lang/crates.io-index" 1037 | checksum = "40b9bd8b2d07b6675a840b56a6c177d322d45fa082672b0dad8f063b25baf0a4" 1038 | dependencies = [ 1039 | "bstr", 1040 | "gix-hash", 1041 | "gix-object", 1042 | "thiserror", 1043 | ] 1044 | 1045 | [[package]] 1046 | name = "gix-discover" 1047 | version = "0.32.0" 1048 | source = "registry+https://github.com/rust-lang/crates.io-index" 1049 | checksum = "fc27c699b63da66b50d50c00668bc0b7e90c3a382ef302865e891559935f3dbf" 1050 | dependencies = [ 1051 | "bstr", 1052 | "dunce", 1053 | "gix-fs", 1054 | "gix-hash", 1055 | "gix-path", 1056 | "gix-ref", 1057 | "gix-sec", 1058 | "thiserror", 1059 | ] 1060 | 1061 | [[package]] 1062 | name = "gix-features" 1063 | version = "0.38.2" 1064 | source = "registry+https://github.com/rust-lang/crates.io-index" 1065 | checksum = "ac7045ac9fe5f9c727f38799d002a7ed3583cd777e3322a7c4b43e3cf437dc69" 1066 | dependencies = [ 1067 | "crc32fast", 1068 | "flate2", 1069 | "gix-hash", 1070 | "gix-trace", 1071 | "gix-utils", 1072 | "libc", 1073 | "once_cell", 1074 | "prodash", 1075 | "sha1_smol", 1076 | "thiserror", 1077 | "walkdir", 1078 | ] 1079 | 1080 | [[package]] 1081 | name = "gix-fs" 1082 | version = "0.11.3" 1083 | source = "registry+https://github.com/rust-lang/crates.io-index" 1084 | checksum = "f2bfe6249cfea6d0c0e0990d5226a4cb36f030444ba9e35e0639275db8f98575" 1085 | dependencies = [ 1086 | "fastrand", 1087 | "gix-features", 1088 | "gix-utils", 1089 | ] 1090 | 1091 | [[package]] 1092 | name = "gix-glob" 1093 | version = "0.16.5" 1094 | source = "registry+https://github.com/rust-lang/crates.io-index" 1095 | checksum = "74908b4bbc0a0a40852737e5d7889f676f081e340d5451a16e5b4c50d592f111" 1096 | dependencies = [ 1097 | "bitflags 2.9.1", 1098 | "bstr", 1099 | "gix-features", 1100 | "gix-path", 1101 | ] 1102 | 1103 | [[package]] 1104 | name = "gix-hash" 1105 | version = "0.14.2" 1106 | source = "registry+https://github.com/rust-lang/crates.io-index" 1107 | checksum = "f93d7df7366121b5018f947a04d37f034717e113dcf9ccd85c34b58e57a74d5e" 1108 | dependencies = [ 1109 | "faster-hex", 1110 | "thiserror", 1111 | ] 1112 | 1113 | [[package]] 1114 | name = "gix-hashtable" 1115 | version = "0.5.2" 1116 | source = "registry+https://github.com/rust-lang/crates.io-index" 1117 | checksum = "7ddf80e16f3c19ac06ce415a38b8591993d3f73aede049cb561becb5b3a8e242" 1118 | dependencies = [ 1119 | "gix-hash", 1120 | "hashbrown 0.14.5", 1121 | "parking_lot", 1122 | ] 1123 | 1124 | [[package]] 1125 | name = "gix-index" 1126 | version = "0.33.0" 1127 | source = "registry+https://github.com/rust-lang/crates.io-index" 1128 | checksum = "2d8c5a5f1c58edcbc5692b174cda2703aba82ed17d7176ff4c1752eb48b1b167" 1129 | dependencies = [ 1130 | "bitflags 2.9.1", 1131 | "bstr", 1132 | "filetime", 1133 | "fnv", 1134 | "gix-bitmap", 1135 | "gix-features", 1136 | "gix-fs", 1137 | "gix-hash", 1138 | "gix-lock", 1139 | "gix-object", 1140 | "gix-traverse", 1141 | "gix-utils", 1142 | "gix-validate", 1143 | "hashbrown 0.14.5", 1144 | "itoa", 1145 | "libc", 1146 | "memmap2", 1147 | "rustix 0.38.34", 1148 | "smallvec", 1149 | "thiserror", 1150 | ] 1151 | 1152 | [[package]] 1153 | name = "gix-lock" 1154 | version = "14.0.0" 1155 | source = "registry+https://github.com/rust-lang/crates.io-index" 1156 | checksum = "e3bc7fe297f1f4614774989c00ec8b1add59571dc9b024b4c00acb7dedd4e19d" 1157 | dependencies = [ 1158 | "gix-tempfile", 1159 | "gix-utils", 1160 | "thiserror", 1161 | ] 1162 | 1163 | [[package]] 1164 | name = "gix-macros" 1165 | version = "0.1.5" 1166 | source = "registry+https://github.com/rust-lang/crates.io-index" 1167 | checksum = "999ce923619f88194171a67fb3e6d613653b8d4d6078b529b15a765da0edcc17" 1168 | dependencies = [ 1169 | "proc-macro2", 1170 | "quote", 1171 | "syn 2.0.101", 1172 | ] 1173 | 1174 | [[package]] 1175 | name = "gix-object" 1176 | version = "0.42.2" 1177 | source = "registry+https://github.com/rust-lang/crates.io-index" 1178 | checksum = "1fe2dc4a41191c680c942e6ebd630c8107005983c4679214fdb1007dcf5ae1df" 1179 | dependencies = [ 1180 | "bstr", 1181 | "gix-actor", 1182 | "gix-date", 1183 | "gix-features", 1184 | "gix-hash", 1185 | "gix-utils", 1186 | "gix-validate", 1187 | "itoa", 1188 | "smallvec", 1189 | "thiserror", 1190 | "winnow", 1191 | ] 1192 | 1193 | [[package]] 1194 | name = "gix-odb" 1195 | version = "0.61.0" 1196 | source = "registry+https://github.com/rust-lang/crates.io-index" 1197 | checksum = "e92b9790e2c919166865d0825b26cc440a387c175bed1b43a2fa99c0e9d45e98" 1198 | dependencies = [ 1199 | "arc-swap", 1200 | "gix-date", 1201 | "gix-features", 1202 | "gix-fs", 1203 | "gix-hash", 1204 | "gix-object", 1205 | "gix-pack", 1206 | "gix-path", 1207 | "gix-quote", 1208 | "parking_lot", 1209 | "tempfile", 1210 | "thiserror", 1211 | ] 1212 | 1213 | [[package]] 1214 | name = "gix-pack" 1215 | version = "0.51.0" 1216 | source = "registry+https://github.com/rust-lang/crates.io-index" 1217 | checksum = "7a8da51212dbff944713edb2141ed7e002eea326b8992070374ce13a6cb610b3" 1218 | dependencies = [ 1219 | "clru", 1220 | "gix-chunk", 1221 | "gix-features", 1222 | "gix-hash", 1223 | "gix-hashtable", 1224 | "gix-object", 1225 | "gix-path", 1226 | "gix-tempfile", 1227 | "memmap2", 1228 | "parking_lot", 1229 | "smallvec", 1230 | "thiserror", 1231 | ] 1232 | 1233 | [[package]] 1234 | name = "gix-path" 1235 | version = "0.10.10" 1236 | source = "registry+https://github.com/rust-lang/crates.io-index" 1237 | checksum = "38d5b8722112fa2fa87135298780bc833b0e9f6c56cc82795d209804b3a03484" 1238 | dependencies = [ 1239 | "bstr", 1240 | "gix-trace", 1241 | "home", 1242 | "once_cell", 1243 | "thiserror", 1244 | ] 1245 | 1246 | [[package]] 1247 | name = "gix-quote" 1248 | version = "0.4.12" 1249 | source = "registry+https://github.com/rust-lang/crates.io-index" 1250 | checksum = "cbff4f9b9ea3fa7a25a70ee62f545143abef624ac6aa5884344e70c8b0a1d9ff" 1251 | dependencies = [ 1252 | "bstr", 1253 | "gix-utils", 1254 | "thiserror", 1255 | ] 1256 | 1257 | [[package]] 1258 | name = "gix-ref" 1259 | version = "0.44.1" 1260 | source = "registry+https://github.com/rust-lang/crates.io-index" 1261 | checksum = "3394a2997e5bc6b22ebc1e1a87b41eeefbcfcff3dbfa7c4bd73cb0ac8f1f3e2e" 1262 | dependencies = [ 1263 | "gix-actor", 1264 | "gix-date", 1265 | "gix-features", 1266 | "gix-fs", 1267 | "gix-hash", 1268 | "gix-lock", 1269 | "gix-object", 1270 | "gix-path", 1271 | "gix-tempfile", 1272 | "gix-utils", 1273 | "gix-validate", 1274 | "memmap2", 1275 | "thiserror", 1276 | "winnow", 1277 | ] 1278 | 1279 | [[package]] 1280 | name = "gix-refspec" 1281 | version = "0.23.0" 1282 | source = "registry+https://github.com/rust-lang/crates.io-index" 1283 | checksum = "dde848865834a54fe4d9b4573f15d0e9a68eaf3d061b42d3ed52b4b8acf880b2" 1284 | dependencies = [ 1285 | "bstr", 1286 | "gix-hash", 1287 | "gix-revision", 1288 | "gix-validate", 1289 | "smallvec", 1290 | "thiserror", 1291 | ] 1292 | 1293 | [[package]] 1294 | name = "gix-revision" 1295 | version = "0.27.1" 1296 | source = "registry+https://github.com/rust-lang/crates.io-index" 1297 | checksum = "63e08f8107ed1f93a83bcfbb4c38084c7cb3f6cd849793f1d5eec235f9b13b2b" 1298 | dependencies = [ 1299 | "bstr", 1300 | "gix-date", 1301 | "gix-hash", 1302 | "gix-hashtable", 1303 | "gix-object", 1304 | "gix-revwalk", 1305 | "gix-trace", 1306 | "thiserror", 1307 | ] 1308 | 1309 | [[package]] 1310 | name = "gix-revwalk" 1311 | version = "0.13.1" 1312 | source = "registry+https://github.com/rust-lang/crates.io-index" 1313 | checksum = "4181db9cfcd6d1d0fd258e91569dbb61f94cb788b441b5294dd7f1167a3e788f" 1314 | dependencies = [ 1315 | "gix-commitgraph", 1316 | "gix-date", 1317 | "gix-hash", 1318 | "gix-hashtable", 1319 | "gix-object", 1320 | "smallvec", 1321 | "thiserror", 1322 | ] 1323 | 1324 | [[package]] 1325 | name = "gix-sec" 1326 | version = "0.10.6" 1327 | source = "registry+https://github.com/rust-lang/crates.io-index" 1328 | checksum = "fddc27984a643b20dd03e97790555804f98cf07404e0e552c0ad8133266a79a1" 1329 | dependencies = [ 1330 | "bitflags 2.9.1", 1331 | "gix-path", 1332 | "libc", 1333 | "windows-sys 0.52.0", 1334 | ] 1335 | 1336 | [[package]] 1337 | name = "gix-tempfile" 1338 | version = "14.0.2" 1339 | source = "registry+https://github.com/rust-lang/crates.io-index" 1340 | checksum = "046b4927969fa816a150a0cda2e62c80016fe11fb3c3184e4dddf4e542f108aa" 1341 | dependencies = [ 1342 | "gix-fs", 1343 | "libc", 1344 | "once_cell", 1345 | "parking_lot", 1346 | "signal-hook", 1347 | "signal-hook-registry", 1348 | "tempfile", 1349 | ] 1350 | 1351 | [[package]] 1352 | name = "gix-trace" 1353 | version = "0.1.9" 1354 | source = "registry+https://github.com/rust-lang/crates.io-index" 1355 | checksum = "f924267408915fddcd558e3f37295cc7d6a3e50f8bd8b606cee0808c3915157e" 1356 | 1357 | [[package]] 1358 | name = "gix-traverse" 1359 | version = "0.39.1" 1360 | source = "registry+https://github.com/rust-lang/crates.io-index" 1361 | checksum = "f20cb69b63eb3e4827939f42c05b7756e3488ef49c25c412a876691d568ee2a0" 1362 | dependencies = [ 1363 | "bitflags 2.9.1", 1364 | "gix-commitgraph", 1365 | "gix-date", 1366 | "gix-hash", 1367 | "gix-hashtable", 1368 | "gix-object", 1369 | "gix-revwalk", 1370 | "smallvec", 1371 | "thiserror", 1372 | ] 1373 | 1374 | [[package]] 1375 | name = "gix-url" 1376 | version = "0.27.5" 1377 | source = "registry+https://github.com/rust-lang/crates.io-index" 1378 | checksum = "fd280c5e84fb22e128ed2a053a0daeacb6379469be6a85e3d518a0636e160c89" 1379 | dependencies = [ 1380 | "bstr", 1381 | "gix-features", 1382 | "gix-path", 1383 | "home", 1384 | "thiserror", 1385 | "url", 1386 | ] 1387 | 1388 | [[package]] 1389 | name = "gix-utils" 1390 | version = "0.1.12" 1391 | source = "registry+https://github.com/rust-lang/crates.io-index" 1392 | checksum = "35192df7fd0fa112263bad8021e2df7167df4cc2a6e6d15892e1e55621d3d4dc" 1393 | dependencies = [ 1394 | "fastrand", 1395 | "unicode-normalization", 1396 | ] 1397 | 1398 | [[package]] 1399 | name = "gix-validate" 1400 | version = "0.8.5" 1401 | source = "registry+https://github.com/rust-lang/crates.io-index" 1402 | checksum = "82c27dd34a49b1addf193c92070bcbf3beaf6e10f16a78544de6372e146a0acf" 1403 | dependencies = [ 1404 | "bstr", 1405 | "thiserror", 1406 | ] 1407 | 1408 | [[package]] 1409 | name = "h2" 1410 | version = "0.3.26" 1411 | source = "registry+https://github.com/rust-lang/crates.io-index" 1412 | checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" 1413 | dependencies = [ 1414 | "bytes", 1415 | "fnv", 1416 | "futures-core", 1417 | "futures-sink", 1418 | "futures-util", 1419 | "http", 1420 | "indexmap", 1421 | "slab", 1422 | "tokio", 1423 | "tokio-util", 1424 | "tracing", 1425 | ] 1426 | 1427 | [[package]] 1428 | name = "hashbrown" 1429 | version = "0.14.5" 1430 | source = "registry+https://github.com/rust-lang/crates.io-index" 1431 | checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" 1432 | dependencies = [ 1433 | "ahash", 1434 | "allocator-api2", 1435 | ] 1436 | 1437 | [[package]] 1438 | name = "hashbrown" 1439 | version = "0.15.3" 1440 | source = "registry+https://github.com/rust-lang/crates.io-index" 1441 | checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3" 1442 | 1443 | [[package]] 1444 | name = "heck" 1445 | version = "0.5.0" 1446 | source = "registry+https://github.com/rust-lang/crates.io-index" 1447 | checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 1448 | 1449 | [[package]] 1450 | name = "hermit-abi" 1451 | version = "0.3.1" 1452 | source = "registry+https://github.com/rust-lang/crates.io-index" 1453 | checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" 1454 | 1455 | [[package]] 1456 | name = "home" 1457 | version = "0.5.5" 1458 | source = "registry+https://github.com/rust-lang/crates.io-index" 1459 | checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" 1460 | dependencies = [ 1461 | "windows-sys 0.48.0", 1462 | ] 1463 | 1464 | [[package]] 1465 | name = "http" 1466 | version = "0.2.12" 1467 | source = "registry+https://github.com/rust-lang/crates.io-index" 1468 | checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" 1469 | dependencies = [ 1470 | "bytes", 1471 | "fnv", 1472 | "itoa", 1473 | ] 1474 | 1475 | [[package]] 1476 | name = "httparse" 1477 | version = "1.10.1" 1478 | source = "registry+https://github.com/rust-lang/crates.io-index" 1479 | checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" 1480 | 1481 | [[package]] 1482 | name = "httpdate" 1483 | version = "1.0.2" 1484 | source = "registry+https://github.com/rust-lang/crates.io-index" 1485 | checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" 1486 | 1487 | [[package]] 1488 | name = "humantime" 1489 | version = "2.1.0" 1490 | source = "registry+https://github.com/rust-lang/crates.io-index" 1491 | checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" 1492 | 1493 | [[package]] 1494 | name = "icu_collections" 1495 | version = "2.0.0" 1496 | source = "registry+https://github.com/rust-lang/crates.io-index" 1497 | checksum = "200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47" 1498 | dependencies = [ 1499 | "displaydoc", 1500 | "potential_utf", 1501 | "yoke", 1502 | "zerofrom", 1503 | "zerovec", 1504 | ] 1505 | 1506 | [[package]] 1507 | name = "icu_locale_core" 1508 | version = "2.0.0" 1509 | source = "registry+https://github.com/rust-lang/crates.io-index" 1510 | checksum = "0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a" 1511 | dependencies = [ 1512 | "displaydoc", 1513 | "litemap", 1514 | "tinystr", 1515 | "writeable", 1516 | "zerovec", 1517 | ] 1518 | 1519 | [[package]] 1520 | name = "icu_normalizer" 1521 | version = "2.0.0" 1522 | source = "registry+https://github.com/rust-lang/crates.io-index" 1523 | checksum = "436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979" 1524 | dependencies = [ 1525 | "displaydoc", 1526 | "icu_collections", 1527 | "icu_normalizer_data", 1528 | "icu_properties", 1529 | "icu_provider", 1530 | "smallvec", 1531 | "zerovec", 1532 | ] 1533 | 1534 | [[package]] 1535 | name = "icu_normalizer_data" 1536 | version = "2.0.0" 1537 | source = "registry+https://github.com/rust-lang/crates.io-index" 1538 | checksum = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3" 1539 | 1540 | [[package]] 1541 | name = "icu_properties" 1542 | version = "2.0.1" 1543 | source = "registry+https://github.com/rust-lang/crates.io-index" 1544 | checksum = "016c619c1eeb94efb86809b015c58f479963de65bdb6253345c1a1276f22e32b" 1545 | dependencies = [ 1546 | "displaydoc", 1547 | "icu_collections", 1548 | "icu_locale_core", 1549 | "icu_properties_data", 1550 | "icu_provider", 1551 | "potential_utf", 1552 | "zerotrie", 1553 | "zerovec", 1554 | ] 1555 | 1556 | [[package]] 1557 | name = "icu_properties_data" 1558 | version = "2.0.1" 1559 | source = "registry+https://github.com/rust-lang/crates.io-index" 1560 | checksum = "298459143998310acd25ffe6810ed544932242d3f07083eee1084d83a71bd632" 1561 | 1562 | [[package]] 1563 | name = "icu_provider" 1564 | version = "2.0.0" 1565 | source = "registry+https://github.com/rust-lang/crates.io-index" 1566 | checksum = "03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af" 1567 | dependencies = [ 1568 | "displaydoc", 1569 | "icu_locale_core", 1570 | "stable_deref_trait", 1571 | "tinystr", 1572 | "writeable", 1573 | "yoke", 1574 | "zerofrom", 1575 | "zerotrie", 1576 | "zerovec", 1577 | ] 1578 | 1579 | [[package]] 1580 | name = "ident_case" 1581 | version = "1.0.1" 1582 | source = "registry+https://github.com/rust-lang/crates.io-index" 1583 | checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" 1584 | 1585 | [[package]] 1586 | name = "idna" 1587 | version = "1.0.3" 1588 | source = "registry+https://github.com/rust-lang/crates.io-index" 1589 | checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" 1590 | dependencies = [ 1591 | "idna_adapter", 1592 | "smallvec", 1593 | "utf8_iter", 1594 | ] 1595 | 1596 | [[package]] 1597 | name = "idna_adapter" 1598 | version = "1.2.1" 1599 | source = "registry+https://github.com/rust-lang/crates.io-index" 1600 | checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" 1601 | dependencies = [ 1602 | "icu_normalizer", 1603 | "icu_properties", 1604 | ] 1605 | 1606 | [[package]] 1607 | name = "impl-more" 1608 | version = "0.1.8" 1609 | source = "registry+https://github.com/rust-lang/crates.io-index" 1610 | checksum = "aae21c3177a27788957044151cc2800043d127acaa460a47ebb9b84dfa2c6aa0" 1611 | 1612 | [[package]] 1613 | name = "indexmap" 1614 | version = "2.9.0" 1615 | source = "registry+https://github.com/rust-lang/crates.io-index" 1616 | checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" 1617 | dependencies = [ 1618 | "equivalent", 1619 | "hashbrown 0.15.3", 1620 | ] 1621 | 1622 | [[package]] 1623 | name = "io-lifetimes" 1624 | version = "1.0.11" 1625 | source = "registry+https://github.com/rust-lang/crates.io-index" 1626 | checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" 1627 | dependencies = [ 1628 | "hermit-abi", 1629 | "libc", 1630 | "windows-sys 0.48.0", 1631 | ] 1632 | 1633 | [[package]] 1634 | name = "is-terminal" 1635 | version = "0.4.7" 1636 | source = "registry+https://github.com/rust-lang/crates.io-index" 1637 | checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f" 1638 | dependencies = [ 1639 | "hermit-abi", 1640 | "io-lifetimes", 1641 | "rustix 0.37.19", 1642 | "windows-sys 0.48.0", 1643 | ] 1644 | 1645 | [[package]] 1646 | name = "is_terminal_polyfill" 1647 | version = "1.70.0" 1648 | source = "registry+https://github.com/rust-lang/crates.io-index" 1649 | checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" 1650 | 1651 | [[package]] 1652 | name = "itoa" 1653 | version = "1.0.15" 1654 | source = "registry+https://github.com/rust-lang/crates.io-index" 1655 | checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" 1656 | 1657 | [[package]] 1658 | name = "jobserver" 1659 | version = "0.1.33" 1660 | source = "registry+https://github.com/rust-lang/crates.io-index" 1661 | checksum = "38f262f097c174adebe41eb73d66ae9c06b2844fb0da69969647bbddd9b0538a" 1662 | dependencies = [ 1663 | "getrandom 0.3.3", 1664 | "libc", 1665 | ] 1666 | 1667 | [[package]] 1668 | name = "language-tags" 1669 | version = "0.3.2" 1670 | source = "registry+https://github.com/rust-lang/crates.io-index" 1671 | checksum = "d4345964bb142484797b161f473a503a434de77149dd8c7427788c6e13379388" 1672 | 1673 | [[package]] 1674 | name = "libc" 1675 | version = "0.2.172" 1676 | source = "registry+https://github.com/rust-lang/crates.io-index" 1677 | checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" 1678 | 1679 | [[package]] 1680 | name = "linked-hash-map" 1681 | version = "0.5.6" 1682 | source = "registry+https://github.com/rust-lang/crates.io-index" 1683 | checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" 1684 | 1685 | [[package]] 1686 | name = "linux-raw-sys" 1687 | version = "0.3.8" 1688 | source = "registry+https://github.com/rust-lang/crates.io-index" 1689 | checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" 1690 | 1691 | [[package]] 1692 | name = "linux-raw-sys" 1693 | version = "0.4.14" 1694 | source = "registry+https://github.com/rust-lang/crates.io-index" 1695 | checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" 1696 | 1697 | [[package]] 1698 | name = "litemap" 1699 | version = "0.8.0" 1700 | source = "registry+https://github.com/rust-lang/crates.io-index" 1701 | checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956" 1702 | 1703 | [[package]] 1704 | name = "local-channel" 1705 | version = "0.1.3" 1706 | source = "registry+https://github.com/rust-lang/crates.io-index" 1707 | checksum = "7f303ec0e94c6c54447f84f3b0ef7af769858a9c4ef56ef2a986d3dcd4c3fc9c" 1708 | dependencies = [ 1709 | "futures-core", 1710 | "futures-sink", 1711 | "futures-util", 1712 | "local-waker", 1713 | ] 1714 | 1715 | [[package]] 1716 | name = "local-waker" 1717 | version = "0.1.3" 1718 | source = "registry+https://github.com/rust-lang/crates.io-index" 1719 | checksum = "e34f76eb3611940e0e7d53a9aaa4e6a3151f69541a282fd0dad5571420c53ff1" 1720 | 1721 | [[package]] 1722 | name = "lock_api" 1723 | version = "0.4.12" 1724 | source = "registry+https://github.com/rust-lang/crates.io-index" 1725 | checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" 1726 | dependencies = [ 1727 | "autocfg", 1728 | "scopeguard", 1729 | ] 1730 | 1731 | [[package]] 1732 | name = "log" 1733 | version = "0.4.27" 1734 | source = "registry+https://github.com/rust-lang/crates.io-index" 1735 | checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" 1736 | 1737 | [[package]] 1738 | name = "memchr" 1739 | version = "2.7.4" 1740 | source = "registry+https://github.com/rust-lang/crates.io-index" 1741 | checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" 1742 | 1743 | [[package]] 1744 | name = "memmap2" 1745 | version = "0.9.4" 1746 | source = "registry+https://github.com/rust-lang/crates.io-index" 1747 | checksum = "fe751422e4a8caa417e13c3ea66452215d7d63e19e604f4980461212f3ae1322" 1748 | dependencies = [ 1749 | "libc", 1750 | ] 1751 | 1752 | [[package]] 1753 | name = "mime" 1754 | version = "0.3.17" 1755 | source = "registry+https://github.com/rust-lang/crates.io-index" 1756 | checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 1757 | 1758 | [[package]] 1759 | name = "miniz_oxide" 1760 | version = "0.8.8" 1761 | source = "registry+https://github.com/rust-lang/crates.io-index" 1762 | checksum = "3be647b768db090acb35d5ec5db2b0e1f1de11133ca123b9eacf5137868f892a" 1763 | dependencies = [ 1764 | "adler2", 1765 | ] 1766 | 1767 | [[package]] 1768 | name = "mio" 1769 | version = "1.0.4" 1770 | source = "registry+https://github.com/rust-lang/crates.io-index" 1771 | checksum = "78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c" 1772 | dependencies = [ 1773 | "libc", 1774 | "log", 1775 | "wasi 0.11.0+wasi-snapshot-preview1", 1776 | "windows-sys 0.59.0", 1777 | ] 1778 | 1779 | [[package]] 1780 | name = "num-conv" 1781 | version = "0.1.0" 1782 | source = "registry+https://github.com/rust-lang/crates.io-index" 1783 | checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" 1784 | 1785 | [[package]] 1786 | name = "num_threads" 1787 | version = "0.1.6" 1788 | source = "registry+https://github.com/rust-lang/crates.io-index" 1789 | checksum = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44" 1790 | dependencies = [ 1791 | "libc", 1792 | ] 1793 | 1794 | [[package]] 1795 | name = "object" 1796 | version = "0.36.7" 1797 | source = "registry+https://github.com/rust-lang/crates.io-index" 1798 | checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" 1799 | dependencies = [ 1800 | "memchr", 1801 | ] 1802 | 1803 | [[package]] 1804 | name = "once_cell" 1805 | version = "1.21.3" 1806 | source = "registry+https://github.com/rust-lang/crates.io-index" 1807 | checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" 1808 | 1809 | [[package]] 1810 | name = "onig" 1811 | version = "6.4.0" 1812 | source = "registry+https://github.com/rust-lang/crates.io-index" 1813 | checksum = "8c4b31c8722ad9171c6d77d3557db078cab2bd50afcc9d09c8b315c59df8ca4f" 1814 | dependencies = [ 1815 | "bitflags 1.3.2", 1816 | "libc", 1817 | "once_cell", 1818 | "onig_sys", 1819 | ] 1820 | 1821 | [[package]] 1822 | name = "onig_sys" 1823 | version = "69.8.1" 1824 | source = "registry+https://github.com/rust-lang/crates.io-index" 1825 | checksum = "7b829e3d7e9cc74c7e315ee8edb185bf4190da5acde74afd7fc59c35b1f086e7" 1826 | dependencies = [ 1827 | "cc", 1828 | "pkg-config", 1829 | ] 1830 | 1831 | [[package]] 1832 | name = "parking_lot" 1833 | version = "0.12.1" 1834 | source = "registry+https://github.com/rust-lang/crates.io-index" 1835 | checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" 1836 | dependencies = [ 1837 | "lock_api", 1838 | "parking_lot_core", 1839 | ] 1840 | 1841 | [[package]] 1842 | name = "parking_lot_core" 1843 | version = "0.9.7" 1844 | source = "registry+https://github.com/rust-lang/crates.io-index" 1845 | checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521" 1846 | dependencies = [ 1847 | "cfg-if", 1848 | "libc", 1849 | "redox_syscall", 1850 | "smallvec", 1851 | "windows-sys 0.45.0", 1852 | ] 1853 | 1854 | [[package]] 1855 | name = "paste" 1856 | version = "1.0.15" 1857 | source = "registry+https://github.com/rust-lang/crates.io-index" 1858 | checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" 1859 | 1860 | [[package]] 1861 | name = "percent-encoding" 1862 | version = "2.3.1" 1863 | source = "registry+https://github.com/rust-lang/crates.io-index" 1864 | checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" 1865 | 1866 | [[package]] 1867 | name = "pin-project-lite" 1868 | version = "0.2.16" 1869 | source = "registry+https://github.com/rust-lang/crates.io-index" 1870 | checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" 1871 | 1872 | [[package]] 1873 | name = "pin-utils" 1874 | version = "0.1.0" 1875 | source = "registry+https://github.com/rust-lang/crates.io-index" 1876 | checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 1877 | 1878 | [[package]] 1879 | name = "pkg-config" 1880 | version = "0.3.32" 1881 | source = "registry+https://github.com/rust-lang/crates.io-index" 1882 | checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" 1883 | 1884 | [[package]] 1885 | name = "plist" 1886 | version = "1.7.0" 1887 | source = "registry+https://github.com/rust-lang/crates.io-index" 1888 | checksum = "42cf17e9a1800f5f396bc67d193dc9411b59012a5876445ef450d449881e1016" 1889 | dependencies = [ 1890 | "base64", 1891 | "indexmap", 1892 | "quick-xml", 1893 | "serde", 1894 | "time", 1895 | ] 1896 | 1897 | [[package]] 1898 | name = "potential_utf" 1899 | version = "0.1.2" 1900 | source = "registry+https://github.com/rust-lang/crates.io-index" 1901 | checksum = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585" 1902 | dependencies = [ 1903 | "zerovec", 1904 | ] 1905 | 1906 | [[package]] 1907 | name = "powerfmt" 1908 | version = "0.2.0" 1909 | source = "registry+https://github.com/rust-lang/crates.io-index" 1910 | checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" 1911 | 1912 | [[package]] 1913 | name = "ppv-lite86" 1914 | version = "0.2.21" 1915 | source = "registry+https://github.com/rust-lang/crates.io-index" 1916 | checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" 1917 | dependencies = [ 1918 | "zerocopy 0.8.25", 1919 | ] 1920 | 1921 | [[package]] 1922 | name = "pretty_env_logger" 1923 | version = "0.5.0" 1924 | source = "registry+https://github.com/rust-lang/crates.io-index" 1925 | checksum = "865724d4dbe39d9f3dd3b52b88d859d66bcb2d6a0acfd5ea68a65fb66d4bdc1c" 1926 | dependencies = [ 1927 | "env_logger", 1928 | "log", 1929 | ] 1930 | 1931 | [[package]] 1932 | name = "proc-macro2" 1933 | version = "1.0.95" 1934 | source = "registry+https://github.com/rust-lang/crates.io-index" 1935 | checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" 1936 | dependencies = [ 1937 | "unicode-ident", 1938 | ] 1939 | 1940 | [[package]] 1941 | name = "prodash" 1942 | version = "28.0.0" 1943 | source = "registry+https://github.com/rust-lang/crates.io-index" 1944 | checksum = "744a264d26b88a6a7e37cbad97953fa233b94d585236310bcbc88474b4092d79" 1945 | 1946 | [[package]] 1947 | name = "quick-xml" 1948 | version = "0.32.0" 1949 | source = "registry+https://github.com/rust-lang/crates.io-index" 1950 | checksum = "1d3a6e5838b60e0e8fa7a43f22ade549a37d61f8bdbe636d0d7816191de969c2" 1951 | dependencies = [ 1952 | "memchr", 1953 | ] 1954 | 1955 | [[package]] 1956 | name = "quote" 1957 | version = "1.0.40" 1958 | source = "registry+https://github.com/rust-lang/crates.io-index" 1959 | checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" 1960 | dependencies = [ 1961 | "proc-macro2", 1962 | ] 1963 | 1964 | [[package]] 1965 | name = "r-efi" 1966 | version = "5.2.0" 1967 | source = "registry+https://github.com/rust-lang/crates.io-index" 1968 | checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" 1969 | 1970 | [[package]] 1971 | name = "rand" 1972 | version = "0.9.1" 1973 | source = "registry+https://github.com/rust-lang/crates.io-index" 1974 | checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97" 1975 | dependencies = [ 1976 | "rand_chacha", 1977 | "rand_core", 1978 | ] 1979 | 1980 | [[package]] 1981 | name = "rand_chacha" 1982 | version = "0.9.0" 1983 | source = "registry+https://github.com/rust-lang/crates.io-index" 1984 | checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" 1985 | dependencies = [ 1986 | "ppv-lite86", 1987 | "rand_core", 1988 | ] 1989 | 1990 | [[package]] 1991 | name = "rand_core" 1992 | version = "0.9.3" 1993 | source = "registry+https://github.com/rust-lang/crates.io-index" 1994 | checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" 1995 | dependencies = [ 1996 | "getrandom 0.3.3", 1997 | ] 1998 | 1999 | [[package]] 2000 | name = "redox_syscall" 2001 | version = "0.2.16" 2002 | source = "registry+https://github.com/rust-lang/crates.io-index" 2003 | checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" 2004 | dependencies = [ 2005 | "bitflags 1.3.2", 2006 | ] 2007 | 2008 | [[package]] 2009 | name = "regex" 2010 | version = "1.8.1" 2011 | source = "registry+https://github.com/rust-lang/crates.io-index" 2012 | checksum = "af83e617f331cc6ae2da5443c602dfa5af81e517212d9d611a5b3ba1777b5370" 2013 | dependencies = [ 2014 | "aho-corasick", 2015 | "memchr", 2016 | "regex-syntax 0.7.1", 2017 | ] 2018 | 2019 | [[package]] 2020 | name = "regex-automata" 2021 | version = "0.1.10" 2022 | source = "registry+https://github.com/rust-lang/crates.io-index" 2023 | checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" 2024 | 2025 | [[package]] 2026 | name = "regex-lite" 2027 | version = "0.1.6" 2028 | source = "registry+https://github.com/rust-lang/crates.io-index" 2029 | checksum = "53a49587ad06b26609c52e423de037e7f57f20d53535d66e08c695f347df952a" 2030 | 2031 | [[package]] 2032 | name = "regex-syntax" 2033 | version = "0.7.1" 2034 | source = "registry+https://github.com/rust-lang/crates.io-index" 2035 | checksum = "a5996294f19bd3aae0453a862ad728f60e6600695733dd5df01da90c54363a3c" 2036 | 2037 | [[package]] 2038 | name = "regex-syntax" 2039 | version = "0.8.4" 2040 | source = "registry+https://github.com/rust-lang/crates.io-index" 2041 | checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" 2042 | 2043 | [[package]] 2044 | name = "ring" 2045 | version = "0.17.14" 2046 | source = "registry+https://github.com/rust-lang/crates.io-index" 2047 | checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" 2048 | dependencies = [ 2049 | "cc", 2050 | "cfg-if", 2051 | "getrandom 0.2.16", 2052 | "libc", 2053 | "untrusted", 2054 | "windows-sys 0.52.0", 2055 | ] 2056 | 2057 | [[package]] 2058 | name = "rustc-demangle" 2059 | version = "0.1.24" 2060 | source = "registry+https://github.com/rust-lang/crates.io-index" 2061 | checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" 2062 | 2063 | [[package]] 2064 | name = "rustix" 2065 | version = "0.37.19" 2066 | source = "registry+https://github.com/rust-lang/crates.io-index" 2067 | checksum = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d" 2068 | dependencies = [ 2069 | "bitflags 1.3.2", 2070 | "errno", 2071 | "io-lifetimes", 2072 | "libc", 2073 | "linux-raw-sys 0.3.8", 2074 | "windows-sys 0.48.0", 2075 | ] 2076 | 2077 | [[package]] 2078 | name = "rustix" 2079 | version = "0.38.34" 2080 | source = "registry+https://github.com/rust-lang/crates.io-index" 2081 | checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" 2082 | dependencies = [ 2083 | "bitflags 2.9.1", 2084 | "errno", 2085 | "libc", 2086 | "linux-raw-sys 0.4.14", 2087 | "windows-sys 0.52.0", 2088 | ] 2089 | 2090 | [[package]] 2091 | name = "rustls" 2092 | version = "0.21.12" 2093 | source = "registry+https://github.com/rust-lang/crates.io-index" 2094 | checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" 2095 | dependencies = [ 2096 | "log", 2097 | "ring", 2098 | "rustls-webpki", 2099 | "sct", 2100 | ] 2101 | 2102 | [[package]] 2103 | name = "rustls-webpki" 2104 | version = "0.101.7" 2105 | source = "registry+https://github.com/rust-lang/crates.io-index" 2106 | checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" 2107 | dependencies = [ 2108 | "ring", 2109 | "untrusted", 2110 | ] 2111 | 2112 | [[package]] 2113 | name = "rustversion" 2114 | version = "1.0.17" 2115 | source = "registry+https://github.com/rust-lang/crates.io-index" 2116 | checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" 2117 | 2118 | [[package]] 2119 | name = "ryu" 2120 | version = "1.0.20" 2121 | source = "registry+https://github.com/rust-lang/crates.io-index" 2122 | checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" 2123 | 2124 | [[package]] 2125 | name = "same-file" 2126 | version = "1.0.6" 2127 | source = "registry+https://github.com/rust-lang/crates.io-index" 2128 | checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 2129 | dependencies = [ 2130 | "winapi-util", 2131 | ] 2132 | 2133 | [[package]] 2134 | name = "scopeguard" 2135 | version = "1.2.0" 2136 | source = "registry+https://github.com/rust-lang/crates.io-index" 2137 | checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 2138 | 2139 | [[package]] 2140 | name = "sct" 2141 | version = "0.7.1" 2142 | source = "registry+https://github.com/rust-lang/crates.io-index" 2143 | checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" 2144 | dependencies = [ 2145 | "ring", 2146 | "untrusted", 2147 | ] 2148 | 2149 | [[package]] 2150 | name = "september" 2151 | version = "0.3.1" 2152 | dependencies = [ 2153 | "actix-web", 2154 | "anyhow", 2155 | "comrak", 2156 | "dotenv", 2157 | "germ", 2158 | "log", 2159 | "pretty_env_logger", 2160 | "url", 2161 | "vergen", 2162 | ] 2163 | 2164 | [[package]] 2165 | name = "serde" 2166 | version = "1.0.219" 2167 | source = "registry+https://github.com/rust-lang/crates.io-index" 2168 | checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" 2169 | dependencies = [ 2170 | "serde_derive", 2171 | ] 2172 | 2173 | [[package]] 2174 | name = "serde_derive" 2175 | version = "1.0.219" 2176 | source = "registry+https://github.com/rust-lang/crates.io-index" 2177 | checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" 2178 | dependencies = [ 2179 | "proc-macro2", 2180 | "quote", 2181 | "syn 2.0.101", 2182 | ] 2183 | 2184 | [[package]] 2185 | name = "serde_json" 2186 | version = "1.0.140" 2187 | source = "registry+https://github.com/rust-lang/crates.io-index" 2188 | checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" 2189 | dependencies = [ 2190 | "itoa", 2191 | "memchr", 2192 | "ryu", 2193 | "serde", 2194 | ] 2195 | 2196 | [[package]] 2197 | name = "serde_urlencoded" 2198 | version = "0.7.1" 2199 | source = "registry+https://github.com/rust-lang/crates.io-index" 2200 | checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" 2201 | dependencies = [ 2202 | "form_urlencoded", 2203 | "itoa", 2204 | "ryu", 2205 | "serde", 2206 | ] 2207 | 2208 | [[package]] 2209 | name = "sha1" 2210 | version = "0.10.5" 2211 | source = "registry+https://github.com/rust-lang/crates.io-index" 2212 | checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" 2213 | dependencies = [ 2214 | "cfg-if", 2215 | "cpufeatures", 2216 | "digest", 2217 | ] 2218 | 2219 | [[package]] 2220 | name = "sha1_smol" 2221 | version = "1.0.0" 2222 | source = "registry+https://github.com/rust-lang/crates.io-index" 2223 | checksum = "ae1a47186c03a32177042e55dbc5fd5aee900b8e0069a8d70fba96a9375cd012" 2224 | 2225 | [[package]] 2226 | name = "shell-words" 2227 | version = "1.1.0" 2228 | source = "registry+https://github.com/rust-lang/crates.io-index" 2229 | checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde" 2230 | 2231 | [[package]] 2232 | name = "shlex" 2233 | version = "1.3.0" 2234 | source = "registry+https://github.com/rust-lang/crates.io-index" 2235 | checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" 2236 | 2237 | [[package]] 2238 | name = "signal-hook" 2239 | version = "0.3.15" 2240 | source = "registry+https://github.com/rust-lang/crates.io-index" 2241 | checksum = "732768f1176d21d09e076c23a93123d40bba92d50c4058da34d45c8de8e682b9" 2242 | dependencies = [ 2243 | "libc", 2244 | "signal-hook-registry", 2245 | ] 2246 | 2247 | [[package]] 2248 | name = "signal-hook-registry" 2249 | version = "1.4.5" 2250 | source = "registry+https://github.com/rust-lang/crates.io-index" 2251 | checksum = "9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410" 2252 | dependencies = [ 2253 | "libc", 2254 | ] 2255 | 2256 | [[package]] 2257 | name = "slab" 2258 | version = "0.4.9" 2259 | source = "registry+https://github.com/rust-lang/crates.io-index" 2260 | checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" 2261 | dependencies = [ 2262 | "autocfg", 2263 | ] 2264 | 2265 | [[package]] 2266 | name = "slug" 2267 | version = "0.1.5" 2268 | source = "registry+https://github.com/rust-lang/crates.io-index" 2269 | checksum = "3bd94acec9c8da640005f8e135a39fc0372e74535e6b368b7a04b875f784c8c4" 2270 | dependencies = [ 2271 | "deunicode", 2272 | "wasm-bindgen", 2273 | ] 2274 | 2275 | [[package]] 2276 | name = "smallvec" 2277 | version = "1.15.0" 2278 | source = "registry+https://github.com/rust-lang/crates.io-index" 2279 | checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" 2280 | 2281 | [[package]] 2282 | name = "socket2" 2283 | version = "0.5.10" 2284 | source = "registry+https://github.com/rust-lang/crates.io-index" 2285 | checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678" 2286 | dependencies = [ 2287 | "libc", 2288 | "windows-sys 0.52.0", 2289 | ] 2290 | 2291 | [[package]] 2292 | name = "stable_deref_trait" 2293 | version = "1.2.0" 2294 | source = "registry+https://github.com/rust-lang/crates.io-index" 2295 | checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" 2296 | 2297 | [[package]] 2298 | name = "strsim" 2299 | version = "0.11.1" 2300 | source = "registry+https://github.com/rust-lang/crates.io-index" 2301 | checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" 2302 | 2303 | [[package]] 2304 | name = "syn" 2305 | version = "1.0.109" 2306 | source = "registry+https://github.com/rust-lang/crates.io-index" 2307 | checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 2308 | dependencies = [ 2309 | "proc-macro2", 2310 | "quote", 2311 | "unicode-ident", 2312 | ] 2313 | 2314 | [[package]] 2315 | name = "syn" 2316 | version = "2.0.101" 2317 | source = "registry+https://github.com/rust-lang/crates.io-index" 2318 | checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf" 2319 | dependencies = [ 2320 | "proc-macro2", 2321 | "quote", 2322 | "unicode-ident", 2323 | ] 2324 | 2325 | [[package]] 2326 | name = "synstructure" 2327 | version = "0.13.2" 2328 | source = "registry+https://github.com/rust-lang/crates.io-index" 2329 | checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" 2330 | dependencies = [ 2331 | "proc-macro2", 2332 | "quote", 2333 | "syn 2.0.101", 2334 | ] 2335 | 2336 | [[package]] 2337 | name = "syntect" 2338 | version = "5.2.0" 2339 | source = "registry+https://github.com/rust-lang/crates.io-index" 2340 | checksum = "874dcfa363995604333cf947ae9f751ca3af4522c60886774c4963943b4746b1" 2341 | dependencies = [ 2342 | "bincode", 2343 | "bitflags 1.3.2", 2344 | "fancy-regex", 2345 | "flate2", 2346 | "fnv", 2347 | "once_cell", 2348 | "onig", 2349 | "plist", 2350 | "regex-syntax 0.8.4", 2351 | "serde", 2352 | "serde_derive", 2353 | "serde_json", 2354 | "thiserror", 2355 | "walkdir", 2356 | "yaml-rust", 2357 | ] 2358 | 2359 | [[package]] 2360 | name = "tempfile" 2361 | version = "3.12.0" 2362 | source = "registry+https://github.com/rust-lang/crates.io-index" 2363 | checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64" 2364 | dependencies = [ 2365 | "cfg-if", 2366 | "fastrand", 2367 | "once_cell", 2368 | "rustix 0.38.34", 2369 | "windows-sys 0.59.0", 2370 | ] 2371 | 2372 | [[package]] 2373 | name = "termcolor" 2374 | version = "1.2.0" 2375 | source = "registry+https://github.com/rust-lang/crates.io-index" 2376 | checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" 2377 | dependencies = [ 2378 | "winapi-util", 2379 | ] 2380 | 2381 | [[package]] 2382 | name = "terminal_size" 2383 | version = "0.3.0" 2384 | source = "registry+https://github.com/rust-lang/crates.io-index" 2385 | checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" 2386 | dependencies = [ 2387 | "rustix 0.38.34", 2388 | "windows-sys 0.48.0", 2389 | ] 2390 | 2391 | [[package]] 2392 | name = "thiserror" 2393 | version = "1.0.40" 2394 | source = "registry+https://github.com/rust-lang/crates.io-index" 2395 | checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" 2396 | dependencies = [ 2397 | "thiserror-impl", 2398 | ] 2399 | 2400 | [[package]] 2401 | name = "thiserror-impl" 2402 | version = "1.0.40" 2403 | source = "registry+https://github.com/rust-lang/crates.io-index" 2404 | checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" 2405 | dependencies = [ 2406 | "proc-macro2", 2407 | "quote", 2408 | "syn 2.0.101", 2409 | ] 2410 | 2411 | [[package]] 2412 | name = "time" 2413 | version = "0.3.41" 2414 | source = "registry+https://github.com/rust-lang/crates.io-index" 2415 | checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" 2416 | dependencies = [ 2417 | "deranged", 2418 | "itoa", 2419 | "libc", 2420 | "num-conv", 2421 | "num_threads", 2422 | "powerfmt", 2423 | "serde", 2424 | "time-core", 2425 | "time-macros", 2426 | ] 2427 | 2428 | [[package]] 2429 | name = "time-core" 2430 | version = "0.1.4" 2431 | source = "registry+https://github.com/rust-lang/crates.io-index" 2432 | checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" 2433 | 2434 | [[package]] 2435 | name = "time-macros" 2436 | version = "0.2.22" 2437 | source = "registry+https://github.com/rust-lang/crates.io-index" 2438 | checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49" 2439 | dependencies = [ 2440 | "num-conv", 2441 | "time-core", 2442 | ] 2443 | 2444 | [[package]] 2445 | name = "tinystr" 2446 | version = "0.8.1" 2447 | source = "registry+https://github.com/rust-lang/crates.io-index" 2448 | checksum = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b" 2449 | dependencies = [ 2450 | "displaydoc", 2451 | "zerovec", 2452 | ] 2453 | 2454 | [[package]] 2455 | name = "tinyvec" 2456 | version = "1.6.0" 2457 | source = "registry+https://github.com/rust-lang/crates.io-index" 2458 | checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" 2459 | dependencies = [ 2460 | "tinyvec_macros", 2461 | ] 2462 | 2463 | [[package]] 2464 | name = "tinyvec_macros" 2465 | version = "0.1.1" 2466 | source = "registry+https://github.com/rust-lang/crates.io-index" 2467 | checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 2468 | 2469 | [[package]] 2470 | name = "tokio" 2471 | version = "1.45.1" 2472 | source = "registry+https://github.com/rust-lang/crates.io-index" 2473 | checksum = "75ef51a33ef1da925cea3e4eb122833cb377c61439ca401b770f54902b806779" 2474 | dependencies = [ 2475 | "backtrace", 2476 | "bytes", 2477 | "libc", 2478 | "mio", 2479 | "parking_lot", 2480 | "pin-project-lite", 2481 | "signal-hook-registry", 2482 | "socket2", 2483 | "tokio-macros", 2484 | "windows-sys 0.52.0", 2485 | ] 2486 | 2487 | [[package]] 2488 | name = "tokio-macros" 2489 | version = "2.5.0" 2490 | source = "registry+https://github.com/rust-lang/crates.io-index" 2491 | checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" 2492 | dependencies = [ 2493 | "proc-macro2", 2494 | "quote", 2495 | "syn 2.0.101", 2496 | ] 2497 | 2498 | [[package]] 2499 | name = "tokio-rustls" 2500 | version = "0.24.1" 2501 | source = "registry+https://github.com/rust-lang/crates.io-index" 2502 | checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" 2503 | dependencies = [ 2504 | "rustls", 2505 | "tokio", 2506 | ] 2507 | 2508 | [[package]] 2509 | name = "tokio-util" 2510 | version = "0.7.8" 2511 | source = "registry+https://github.com/rust-lang/crates.io-index" 2512 | checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" 2513 | dependencies = [ 2514 | "bytes", 2515 | "futures-core", 2516 | "futures-sink", 2517 | "pin-project-lite", 2518 | "tokio", 2519 | "tracing", 2520 | ] 2521 | 2522 | [[package]] 2523 | name = "tracing" 2524 | version = "0.1.41" 2525 | source = "registry+https://github.com/rust-lang/crates.io-index" 2526 | checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" 2527 | dependencies = [ 2528 | "log", 2529 | "pin-project-lite", 2530 | "tracing-attributes", 2531 | "tracing-core", 2532 | ] 2533 | 2534 | [[package]] 2535 | name = "tracing-attributes" 2536 | version = "0.1.28" 2537 | source = "registry+https://github.com/rust-lang/crates.io-index" 2538 | checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" 2539 | dependencies = [ 2540 | "proc-macro2", 2541 | "quote", 2542 | "syn 2.0.101", 2543 | ] 2544 | 2545 | [[package]] 2546 | name = "tracing-core" 2547 | version = "0.1.33" 2548 | source = "registry+https://github.com/rust-lang/crates.io-index" 2549 | checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" 2550 | dependencies = [ 2551 | "once_cell", 2552 | ] 2553 | 2554 | [[package]] 2555 | name = "typed-arena" 2556 | version = "2.0.2" 2557 | source = "registry+https://github.com/rust-lang/crates.io-index" 2558 | checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a" 2559 | 2560 | [[package]] 2561 | name = "typenum" 2562 | version = "1.18.0" 2563 | source = "registry+https://github.com/rust-lang/crates.io-index" 2564 | checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" 2565 | 2566 | [[package]] 2567 | name = "unicode-bom" 2568 | version = "2.0.2" 2569 | source = "registry+https://github.com/rust-lang/crates.io-index" 2570 | checksum = "98e90c70c9f0d4d1ee6d0a7d04aa06cb9bbd53d8cfbdd62a0269a7c2eb640552" 2571 | 2572 | [[package]] 2573 | name = "unicode-ident" 2574 | version = "1.0.18" 2575 | source = "registry+https://github.com/rust-lang/crates.io-index" 2576 | checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" 2577 | 2578 | [[package]] 2579 | name = "unicode-normalization" 2580 | version = "0.1.22" 2581 | source = "registry+https://github.com/rust-lang/crates.io-index" 2582 | checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" 2583 | dependencies = [ 2584 | "tinyvec", 2585 | ] 2586 | 2587 | [[package]] 2588 | name = "unicode-xid" 2589 | version = "0.2.6" 2590 | source = "registry+https://github.com/rust-lang/crates.io-index" 2591 | checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" 2592 | 2593 | [[package]] 2594 | name = "unicode_categories" 2595 | version = "0.1.1" 2596 | source = "registry+https://github.com/rust-lang/crates.io-index" 2597 | checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e" 2598 | 2599 | [[package]] 2600 | name = "untrusted" 2601 | version = "0.9.0" 2602 | source = "registry+https://github.com/rust-lang/crates.io-index" 2603 | checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" 2604 | 2605 | [[package]] 2606 | name = "url" 2607 | version = "2.5.4" 2608 | source = "registry+https://github.com/rust-lang/crates.io-index" 2609 | checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" 2610 | dependencies = [ 2611 | "form_urlencoded", 2612 | "idna", 2613 | "percent-encoding", 2614 | ] 2615 | 2616 | [[package]] 2617 | name = "utf8_iter" 2618 | version = "1.0.4" 2619 | source = "registry+https://github.com/rust-lang/crates.io-index" 2620 | checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" 2621 | 2622 | [[package]] 2623 | name = "utf8parse" 2624 | version = "0.2.2" 2625 | source = "registry+https://github.com/rust-lang/crates.io-index" 2626 | checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" 2627 | 2628 | [[package]] 2629 | name = "vergen" 2630 | version = "8.3.2" 2631 | source = "registry+https://github.com/rust-lang/crates.io-index" 2632 | checksum = "2990d9ea5967266ea0ccf413a4aa5c42a93dbcfda9cb49a97de6931726b12566" 2633 | dependencies = [ 2634 | "anyhow", 2635 | "cfg-if", 2636 | "gix", 2637 | "rustversion", 2638 | "time", 2639 | ] 2640 | 2641 | [[package]] 2642 | name = "version_check" 2643 | version = "0.9.5" 2644 | source = "registry+https://github.com/rust-lang/crates.io-index" 2645 | checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" 2646 | 2647 | [[package]] 2648 | name = "walkdir" 2649 | version = "2.3.3" 2650 | source = "registry+https://github.com/rust-lang/crates.io-index" 2651 | checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" 2652 | dependencies = [ 2653 | "same-file", 2654 | "winapi-util", 2655 | ] 2656 | 2657 | [[package]] 2658 | name = "wasi" 2659 | version = "0.11.0+wasi-snapshot-preview1" 2660 | source = "registry+https://github.com/rust-lang/crates.io-index" 2661 | checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 2662 | 2663 | [[package]] 2664 | name = "wasi" 2665 | version = "0.14.2+wasi-0.2.4" 2666 | source = "registry+https://github.com/rust-lang/crates.io-index" 2667 | checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" 2668 | dependencies = [ 2669 | "wit-bindgen-rt", 2670 | ] 2671 | 2672 | [[package]] 2673 | name = "wasm-bindgen" 2674 | version = "0.2.100" 2675 | source = "registry+https://github.com/rust-lang/crates.io-index" 2676 | checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" 2677 | dependencies = [ 2678 | "cfg-if", 2679 | "once_cell", 2680 | "rustversion", 2681 | "wasm-bindgen-macro", 2682 | ] 2683 | 2684 | [[package]] 2685 | name = "wasm-bindgen-backend" 2686 | version = "0.2.100" 2687 | source = "registry+https://github.com/rust-lang/crates.io-index" 2688 | checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" 2689 | dependencies = [ 2690 | "bumpalo", 2691 | "log", 2692 | "proc-macro2", 2693 | "quote", 2694 | "syn 2.0.101", 2695 | "wasm-bindgen-shared", 2696 | ] 2697 | 2698 | [[package]] 2699 | name = "wasm-bindgen-macro" 2700 | version = "0.2.100" 2701 | source = "registry+https://github.com/rust-lang/crates.io-index" 2702 | checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" 2703 | dependencies = [ 2704 | "quote", 2705 | "wasm-bindgen-macro-support", 2706 | ] 2707 | 2708 | [[package]] 2709 | name = "wasm-bindgen-macro-support" 2710 | version = "0.2.100" 2711 | source = "registry+https://github.com/rust-lang/crates.io-index" 2712 | checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" 2713 | dependencies = [ 2714 | "proc-macro2", 2715 | "quote", 2716 | "syn 2.0.101", 2717 | "wasm-bindgen-backend", 2718 | "wasm-bindgen-shared", 2719 | ] 2720 | 2721 | [[package]] 2722 | name = "wasm-bindgen-shared" 2723 | version = "0.2.100" 2724 | source = "registry+https://github.com/rust-lang/crates.io-index" 2725 | checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" 2726 | dependencies = [ 2727 | "unicode-ident", 2728 | ] 2729 | 2730 | [[package]] 2731 | name = "winapi" 2732 | version = "0.3.9" 2733 | source = "registry+https://github.com/rust-lang/crates.io-index" 2734 | checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 2735 | dependencies = [ 2736 | "winapi-i686-pc-windows-gnu", 2737 | "winapi-x86_64-pc-windows-gnu", 2738 | ] 2739 | 2740 | [[package]] 2741 | name = "winapi-i686-pc-windows-gnu" 2742 | version = "0.4.0" 2743 | source = "registry+https://github.com/rust-lang/crates.io-index" 2744 | checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 2745 | 2746 | [[package]] 2747 | name = "winapi-util" 2748 | version = "0.1.5" 2749 | source = "registry+https://github.com/rust-lang/crates.io-index" 2750 | checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" 2751 | dependencies = [ 2752 | "winapi", 2753 | ] 2754 | 2755 | [[package]] 2756 | name = "winapi-x86_64-pc-windows-gnu" 2757 | version = "0.4.0" 2758 | source = "registry+https://github.com/rust-lang/crates.io-index" 2759 | checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 2760 | 2761 | [[package]] 2762 | name = "windows-sys" 2763 | version = "0.45.0" 2764 | source = "registry+https://github.com/rust-lang/crates.io-index" 2765 | checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" 2766 | dependencies = [ 2767 | "windows-targets 0.42.2", 2768 | ] 2769 | 2770 | [[package]] 2771 | name = "windows-sys" 2772 | version = "0.48.0" 2773 | source = "registry+https://github.com/rust-lang/crates.io-index" 2774 | checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 2775 | dependencies = [ 2776 | "windows-targets 0.48.0", 2777 | ] 2778 | 2779 | [[package]] 2780 | name = "windows-sys" 2781 | version = "0.52.0" 2782 | source = "registry+https://github.com/rust-lang/crates.io-index" 2783 | checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 2784 | dependencies = [ 2785 | "windows-targets 0.52.6", 2786 | ] 2787 | 2788 | [[package]] 2789 | name = "windows-sys" 2790 | version = "0.59.0" 2791 | source = "registry+https://github.com/rust-lang/crates.io-index" 2792 | checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" 2793 | dependencies = [ 2794 | "windows-targets 0.52.6", 2795 | ] 2796 | 2797 | [[package]] 2798 | name = "windows-targets" 2799 | version = "0.42.2" 2800 | source = "registry+https://github.com/rust-lang/crates.io-index" 2801 | checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" 2802 | dependencies = [ 2803 | "windows_aarch64_gnullvm 0.42.2", 2804 | "windows_aarch64_msvc 0.42.2", 2805 | "windows_i686_gnu 0.42.2", 2806 | "windows_i686_msvc 0.42.2", 2807 | "windows_x86_64_gnu 0.42.2", 2808 | "windows_x86_64_gnullvm 0.42.2", 2809 | "windows_x86_64_msvc 0.42.2", 2810 | ] 2811 | 2812 | [[package]] 2813 | name = "windows-targets" 2814 | version = "0.48.0" 2815 | source = "registry+https://github.com/rust-lang/crates.io-index" 2816 | checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5" 2817 | dependencies = [ 2818 | "windows_aarch64_gnullvm 0.48.0", 2819 | "windows_aarch64_msvc 0.48.0", 2820 | "windows_i686_gnu 0.48.0", 2821 | "windows_i686_msvc 0.48.0", 2822 | "windows_x86_64_gnu 0.48.0", 2823 | "windows_x86_64_gnullvm 0.48.0", 2824 | "windows_x86_64_msvc 0.48.0", 2825 | ] 2826 | 2827 | [[package]] 2828 | name = "windows-targets" 2829 | version = "0.52.6" 2830 | source = "registry+https://github.com/rust-lang/crates.io-index" 2831 | checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" 2832 | dependencies = [ 2833 | "windows_aarch64_gnullvm 0.52.6", 2834 | "windows_aarch64_msvc 0.52.6", 2835 | "windows_i686_gnu 0.52.6", 2836 | "windows_i686_gnullvm", 2837 | "windows_i686_msvc 0.52.6", 2838 | "windows_x86_64_gnu 0.52.6", 2839 | "windows_x86_64_gnullvm 0.52.6", 2840 | "windows_x86_64_msvc 0.52.6", 2841 | ] 2842 | 2843 | [[package]] 2844 | name = "windows_aarch64_gnullvm" 2845 | version = "0.42.2" 2846 | source = "registry+https://github.com/rust-lang/crates.io-index" 2847 | checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" 2848 | 2849 | [[package]] 2850 | name = "windows_aarch64_gnullvm" 2851 | version = "0.48.0" 2852 | source = "registry+https://github.com/rust-lang/crates.io-index" 2853 | checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" 2854 | 2855 | [[package]] 2856 | name = "windows_aarch64_gnullvm" 2857 | version = "0.52.6" 2858 | source = "registry+https://github.com/rust-lang/crates.io-index" 2859 | checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" 2860 | 2861 | [[package]] 2862 | name = "windows_aarch64_msvc" 2863 | version = "0.42.2" 2864 | source = "registry+https://github.com/rust-lang/crates.io-index" 2865 | checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" 2866 | 2867 | [[package]] 2868 | name = "windows_aarch64_msvc" 2869 | version = "0.48.0" 2870 | source = "registry+https://github.com/rust-lang/crates.io-index" 2871 | checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" 2872 | 2873 | [[package]] 2874 | name = "windows_aarch64_msvc" 2875 | version = "0.52.6" 2876 | source = "registry+https://github.com/rust-lang/crates.io-index" 2877 | checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" 2878 | 2879 | [[package]] 2880 | name = "windows_i686_gnu" 2881 | version = "0.42.2" 2882 | source = "registry+https://github.com/rust-lang/crates.io-index" 2883 | checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" 2884 | 2885 | [[package]] 2886 | name = "windows_i686_gnu" 2887 | version = "0.48.0" 2888 | source = "registry+https://github.com/rust-lang/crates.io-index" 2889 | checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" 2890 | 2891 | [[package]] 2892 | name = "windows_i686_gnu" 2893 | version = "0.52.6" 2894 | source = "registry+https://github.com/rust-lang/crates.io-index" 2895 | checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" 2896 | 2897 | [[package]] 2898 | name = "windows_i686_gnullvm" 2899 | version = "0.52.6" 2900 | source = "registry+https://github.com/rust-lang/crates.io-index" 2901 | checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" 2902 | 2903 | [[package]] 2904 | name = "windows_i686_msvc" 2905 | version = "0.42.2" 2906 | source = "registry+https://github.com/rust-lang/crates.io-index" 2907 | checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" 2908 | 2909 | [[package]] 2910 | name = "windows_i686_msvc" 2911 | version = "0.48.0" 2912 | source = "registry+https://github.com/rust-lang/crates.io-index" 2913 | checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" 2914 | 2915 | [[package]] 2916 | name = "windows_i686_msvc" 2917 | version = "0.52.6" 2918 | source = "registry+https://github.com/rust-lang/crates.io-index" 2919 | checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" 2920 | 2921 | [[package]] 2922 | name = "windows_x86_64_gnu" 2923 | version = "0.42.2" 2924 | source = "registry+https://github.com/rust-lang/crates.io-index" 2925 | checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" 2926 | 2927 | [[package]] 2928 | name = "windows_x86_64_gnu" 2929 | version = "0.48.0" 2930 | source = "registry+https://github.com/rust-lang/crates.io-index" 2931 | checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" 2932 | 2933 | [[package]] 2934 | name = "windows_x86_64_gnu" 2935 | version = "0.52.6" 2936 | source = "registry+https://github.com/rust-lang/crates.io-index" 2937 | checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" 2938 | 2939 | [[package]] 2940 | name = "windows_x86_64_gnullvm" 2941 | version = "0.42.2" 2942 | source = "registry+https://github.com/rust-lang/crates.io-index" 2943 | checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" 2944 | 2945 | [[package]] 2946 | name = "windows_x86_64_gnullvm" 2947 | version = "0.48.0" 2948 | source = "registry+https://github.com/rust-lang/crates.io-index" 2949 | checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" 2950 | 2951 | [[package]] 2952 | name = "windows_x86_64_gnullvm" 2953 | version = "0.52.6" 2954 | source = "registry+https://github.com/rust-lang/crates.io-index" 2955 | checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" 2956 | 2957 | [[package]] 2958 | name = "windows_x86_64_msvc" 2959 | version = "0.42.2" 2960 | source = "registry+https://github.com/rust-lang/crates.io-index" 2961 | checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" 2962 | 2963 | [[package]] 2964 | name = "windows_x86_64_msvc" 2965 | version = "0.48.0" 2966 | source = "registry+https://github.com/rust-lang/crates.io-index" 2967 | checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" 2968 | 2969 | [[package]] 2970 | name = "windows_x86_64_msvc" 2971 | version = "0.52.6" 2972 | source = "registry+https://github.com/rust-lang/crates.io-index" 2973 | checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" 2974 | 2975 | [[package]] 2976 | name = "winnow" 2977 | version = "0.6.20" 2978 | source = "registry+https://github.com/rust-lang/crates.io-index" 2979 | checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b" 2980 | dependencies = [ 2981 | "memchr", 2982 | ] 2983 | 2984 | [[package]] 2985 | name = "wit-bindgen-rt" 2986 | version = "0.39.0" 2987 | source = "registry+https://github.com/rust-lang/crates.io-index" 2988 | checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" 2989 | dependencies = [ 2990 | "bitflags 2.9.1", 2991 | ] 2992 | 2993 | [[package]] 2994 | name = "writeable" 2995 | version = "0.6.1" 2996 | source = "registry+https://github.com/rust-lang/crates.io-index" 2997 | checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb" 2998 | 2999 | [[package]] 3000 | name = "xdg" 3001 | version = "2.5.2" 3002 | source = "registry+https://github.com/rust-lang/crates.io-index" 3003 | checksum = "213b7324336b53d2414b2db8537e56544d981803139155afa84f76eeebb7a546" 3004 | 3005 | [[package]] 3006 | name = "yaml-rust" 3007 | version = "0.4.5" 3008 | source = "registry+https://github.com/rust-lang/crates.io-index" 3009 | checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" 3010 | dependencies = [ 3011 | "linked-hash-map", 3012 | ] 3013 | 3014 | [[package]] 3015 | name = "yoke" 3016 | version = "0.8.0" 3017 | source = "registry+https://github.com/rust-lang/crates.io-index" 3018 | checksum = "5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc" 3019 | dependencies = [ 3020 | "serde", 3021 | "stable_deref_trait", 3022 | "yoke-derive", 3023 | "zerofrom", 3024 | ] 3025 | 3026 | [[package]] 3027 | name = "yoke-derive" 3028 | version = "0.8.0" 3029 | source = "registry+https://github.com/rust-lang/crates.io-index" 3030 | checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6" 3031 | dependencies = [ 3032 | "proc-macro2", 3033 | "quote", 3034 | "syn 2.0.101", 3035 | "synstructure", 3036 | ] 3037 | 3038 | [[package]] 3039 | name = "zerocopy" 3040 | version = "0.7.35" 3041 | source = "registry+https://github.com/rust-lang/crates.io-index" 3042 | checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" 3043 | dependencies = [ 3044 | "zerocopy-derive 0.7.35", 3045 | ] 3046 | 3047 | [[package]] 3048 | name = "zerocopy" 3049 | version = "0.8.25" 3050 | source = "registry+https://github.com/rust-lang/crates.io-index" 3051 | checksum = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb" 3052 | dependencies = [ 3053 | "zerocopy-derive 0.8.25", 3054 | ] 3055 | 3056 | [[package]] 3057 | name = "zerocopy-derive" 3058 | version = "0.7.35" 3059 | source = "registry+https://github.com/rust-lang/crates.io-index" 3060 | checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" 3061 | dependencies = [ 3062 | "proc-macro2", 3063 | "quote", 3064 | "syn 2.0.101", 3065 | ] 3066 | 3067 | [[package]] 3068 | name = "zerocopy-derive" 3069 | version = "0.8.25" 3070 | source = "registry+https://github.com/rust-lang/crates.io-index" 3071 | checksum = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef" 3072 | dependencies = [ 3073 | "proc-macro2", 3074 | "quote", 3075 | "syn 2.0.101", 3076 | ] 3077 | 3078 | [[package]] 3079 | name = "zerofrom" 3080 | version = "0.1.6" 3081 | source = "registry+https://github.com/rust-lang/crates.io-index" 3082 | checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" 3083 | dependencies = [ 3084 | "zerofrom-derive", 3085 | ] 3086 | 3087 | [[package]] 3088 | name = "zerofrom-derive" 3089 | version = "0.1.6" 3090 | source = "registry+https://github.com/rust-lang/crates.io-index" 3091 | checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" 3092 | dependencies = [ 3093 | "proc-macro2", 3094 | "quote", 3095 | "syn 2.0.101", 3096 | "synstructure", 3097 | ] 3098 | 3099 | [[package]] 3100 | name = "zerotrie" 3101 | version = "0.2.2" 3102 | source = "registry+https://github.com/rust-lang/crates.io-index" 3103 | checksum = "36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595" 3104 | dependencies = [ 3105 | "displaydoc", 3106 | "yoke", 3107 | "zerofrom", 3108 | ] 3109 | 3110 | [[package]] 3111 | name = "zerovec" 3112 | version = "0.11.2" 3113 | source = "registry+https://github.com/rust-lang/crates.io-index" 3114 | checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428" 3115 | dependencies = [ 3116 | "yoke", 3117 | "zerofrom", 3118 | "zerovec-derive", 3119 | ] 3120 | 3121 | [[package]] 3122 | name = "zerovec-derive" 3123 | version = "0.11.1" 3124 | source = "registry+https://github.com/rust-lang/crates.io-index" 3125 | checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f" 3126 | dependencies = [ 3127 | "proc-macro2", 3128 | "quote", 3129 | "syn 2.0.101", 3130 | ] 3131 | 3132 | [[package]] 3133 | name = "zstd" 3134 | version = "0.13.1" 3135 | source = "registry+https://github.com/rust-lang/crates.io-index" 3136 | checksum = "2d789b1514203a1120ad2429eae43a7bd32b90976a7bb8a05f7ec02fa88cc23a" 3137 | dependencies = [ 3138 | "zstd-safe", 3139 | ] 3140 | 3141 | [[package]] 3142 | name = "zstd-safe" 3143 | version = "7.1.0" 3144 | source = "registry+https://github.com/rust-lang/crates.io-index" 3145 | checksum = "1cd99b45c6bc03a018c8b8a86025678c87e55526064e38f9df301989dce7ec0a" 3146 | dependencies = [ 3147 | "zstd-sys", 3148 | ] 3149 | 3150 | [[package]] 3151 | name = "zstd-sys" 3152 | version = "2.0.10+zstd.1.5.6" 3153 | source = "registry+https://github.com/rust-lang/crates.io-index" 3154 | checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" 3155 | dependencies = [ 3156 | "cc", 3157 | "pkg-config", 3158 | ] 3159 | --------------------------------------------------------------------------------