├── .gitignore ├── Cargo.toml ├── .github └── workflows │ ├── ci.yml │ ├── rustdoc.yml │ └── release.yml ├── src ├── config.rs ├── file_iter.rs ├── cli.rs ├── main.rs ├── action.rs └── pdf.rs ├── README.md ├── LICENSE └── Cargo.lock /.gitignore: -------------------------------------------------------------------------------- 1 | # Generated by Cargo 2 | # will have compiled files and executables 3 | /target/ 4 | 5 | # These are backup files generated by rustfmt 6 | **/*.rs.bk 7 | 8 | # pdfs for tests 9 | /pdfs 10 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "fuzzy-pdf" 3 | version = "0.3.6" 4 | authors = ["MarioJim "] 5 | edition = "2018" 6 | description = "Fuzzy finder for a collection of pdf files" 7 | repository = "https://github.com/MarioJim/fuzzy-pdf" 8 | license = "MIT" 9 | 10 | [dependencies] 11 | clap = "3.0.0-beta.2" 12 | grep = "0.2" 13 | lazy_static = "1.4.0" 14 | poppler = { git = "https://github.com/MarioJim/poppler-rs" } 15 | rayon = "1.5" 16 | regex = "1" 17 | skim = "0.9" 18 | termcolor = "1.1" 19 | walkdir = "2" 20 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: Continuous Integration 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | pull_request: 8 | branches: 9 | - '**' 10 | 11 | jobs: 12 | build: 13 | runs-on: ubuntu-latest 14 | 15 | steps: 16 | - name: Checkout repo 17 | uses: actions/checkout@v2 18 | 19 | - name: Install poppler 20 | run: sudo apt-get install libpoppler-glib-dev 21 | 22 | - name: Build 23 | run: cargo build 24 | 25 | - name: Run clippy 26 | uses: actions-rs/clippy-check@v1 27 | with: 28 | token: ${{ secrets.GITHUB_TOKEN }} 29 | args: --all-features 30 | -------------------------------------------------------------------------------- /.github/workflows/rustdoc.yml: -------------------------------------------------------------------------------- 1 | name: Deploy Rustdoc to GitHub Pages 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | 8 | jobs: 9 | release: 10 | runs-on: ubuntu-latest 11 | 12 | steps: 13 | - name: Checkout repo 14 | uses: actions/checkout@v2 15 | 16 | - name: Install poppler 17 | run: sudo apt-get install libpoppler-glib-dev 18 | 19 | - name: Build docs 20 | run: cargo doc --no-deps 21 | 22 | - name: Deploy docs 23 | uses: peaceiris/actions-gh-pages@v3 24 | with: 25 | github_token: ${{ secrets.GITHUB_TOKEN }} 26 | publish_branch: gh-pages 27 | publish_dir: ./target/doc 28 | -------------------------------------------------------------------------------- /src/config.rs: -------------------------------------------------------------------------------- 1 | use clap::ArgMatches; 2 | 3 | pub struct Config { 4 | pub context: usize, 5 | pub max_pages: usize, 6 | pub quiet: bool, 7 | } 8 | 9 | impl Default for Config { 10 | fn default() -> Self { 11 | Self { 12 | context: 3, 13 | max_pages: 100, 14 | quiet: false, 15 | } 16 | } 17 | } 18 | 19 | impl Config { 20 | pub fn new() -> Self { 21 | Self::default() 22 | } 23 | 24 | pub fn modify_with_argmatches(&mut self, matches: &ArgMatches) { 25 | if let Some(context_str) = matches.value_of("context") { 26 | if let Ok(context) = context_str.parse() { 27 | self.context = context; 28 | } 29 | } 30 | if let Some(max_pages_str) = matches.value_of("max-pages") { 31 | if let Ok(max_pages) = max_pages_str.parse() { 32 | self.max_pages = max_pages; 33 | } 34 | } 35 | self.quiet = matches.is_present("quiet"); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/file_iter.rs: -------------------------------------------------------------------------------- 1 | use walkdir::{DirEntry, FilterEntry, IntoIter, WalkDir}; 2 | 3 | /// Encapsulates a `walkdir` iterator 4 | pub enum FileIter { 5 | AllFilesIter(IntoIter), 6 | VisibleFilesIter(FilterEntry fn(&'r DirEntry) -> bool>), 7 | } 8 | 9 | impl FileIter { 10 | /// Creates an iterator based on a path and if it should include hidden files 11 | pub fn new(path: &str, with_hidden_files: bool) -> FileIter { 12 | if with_hidden_files { 13 | FileIter::AllFilesIter(WalkDir::new(path).into_iter()) 14 | } else { 15 | FileIter::VisibleFilesIter(WalkDir::new(path).into_iter().filter_entry(|entry| { 16 | !entry 17 | .file_name() 18 | .to_str() 19 | .map(|s| s.starts_with('.') && s != "." && s != "..") 20 | .unwrap_or(false) 21 | })) 22 | } 23 | } 24 | } 25 | 26 | /// Redirect calling `next()` on the enum to the iterator it encapsulates 27 | impl Iterator for FileIter { 28 | type Item = walkdir::Result; 29 | 30 | fn next(&mut self) -> Option> { 31 | match self { 32 | FileIter::AllFilesIter(it) => it.next(), 33 | FileIter::VisibleFilesIter(it) => it.next(), 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Release pipeline 2 | 3 | on: 4 | push: 5 | tags: 6 | - 'v[0-9]+.[0-9]+.[0-9]+' 7 | 8 | jobs: 9 | release: 10 | runs-on: ubuntu-latest 11 | 12 | steps: 13 | - name: Checkout repo 14 | uses: actions/checkout@v2 15 | 16 | - name: Install poppler 17 | run: sudo apt-get install libpoppler-glib-dev 18 | 19 | - name: Build 20 | run: cargo build --release --locked 21 | 22 | - name: Strip executable 23 | run: strip "target/release/fuzzy-pdf" 24 | 25 | - name: Get the release version from the tag 26 | run: | 27 | # https://github.community/t5/GitHub-Actions/How-to-get-just-the-tag-name/m-p/32167/highlight/true#M1027 28 | echo "FP_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV 29 | 30 | - name: Create GitHub release 31 | id: release 32 | uses: actions/create-release@v1 33 | env: 34 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 35 | with: 36 | tag_name: ${{ github.ref }} 37 | release_name: ${{ env.FP_VERSION }} 38 | draft: false 39 | prerelease: false 40 | 41 | - name: Save release upload URL to artifact 42 | run: echo "RELEASE_URL=${{ steps.release.outputs.upload_url }}" >> $GITHUB_ENV 43 | 44 | - name: Upload release files 45 | uses: actions/upload-release-asset@v1.0.1 46 | env: 47 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 48 | with: 49 | upload_url: ${{ env.RELEASE_URL }} 50 | asset_path: target/release/fuzzy-pdf 51 | asset_name: fuzzy-pdf 52 | asset_content_type: application/octet-stream 53 | -------------------------------------------------------------------------------- /src/cli.rs: -------------------------------------------------------------------------------- 1 | use clap::{crate_version, App, Arg}; 2 | 3 | /// Creates a static clap application for parsing the arguments 4 | pub fn get_app() -> clap::App<'static> { 5 | let default_exec = if cfg!(windows) { 6 | "start" 7 | } else if cfg!(macos) { 8 | "open" 9 | } else { 10 | "xdg-open" 11 | }; 12 | 13 | App::new("fuzzy-pdf") 14 | .version(crate_version!()) 15 | .author("MarioJim ") 16 | .about("Fuzzy finder for a collection of pdf files") 17 | .arg( 18 | Arg::new("PATH") 19 | .about("The path to recursively search for pdf files") 20 | .default_value(".") 21 | .index(1), 22 | ) 23 | .arg( 24 | Arg::new("COMMAND") 25 | .about("The command to execute when an item has been selected") 26 | .long_about(COMMAND_LONG_ABOUT) 27 | .default_value(default_exec) 28 | .index(2), 29 | ) 30 | .arg( 31 | Arg::new("hidden") 32 | .about("Search hidden files also") 33 | .short('H') 34 | .long("hidden"), 35 | ) 36 | .arg( 37 | Arg::new("context") 38 | .about("Surrounding lines to show in the preview") 39 | .short('c') 40 | .long("context") 41 | .takes_value(true), 42 | ) 43 | .arg( 44 | Arg::new("max-pages") 45 | .about("Only parse documents with at most this number of pages. Pass '0' to parse documents with any number of pages") 46 | .short('m') 47 | .long("max-pages") 48 | .takes_value(true), 49 | ) 50 | .arg( 51 | Arg::new("quiet") 52 | .about("Omit printing error messages") 53 | .short('q') 54 | .long("quiet"), 55 | ) 56 | } 57 | 58 | static COMMAND_LONG_ABOUT: &str = "After selecting a file, use \ 59 | this option to either: 60 | - Pass a '-' to print the file path to stdout (pair this with -q \ 61 | option for better results) 62 | - Pass a string with placeholders to be executed. You can use {} \ 63 | or {f} to pass the file path, and {q} for the query typed into the \ 64 | search box. If you don't use any placeholders, the string will be \ 65 | appended with the file path and executed. 66 | 67 | If you don't pass this argument, the program will open the pdf in \ 68 | the system's default pdf viewer, using 'start' for Windows, 'open' \ 69 | for MacOS, and 'xdg-open' for anything else."; 70 | -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- 1 | use std::convert::TryFrom; 2 | use std::sync::{Arc, RwLock}; 3 | 4 | #[macro_use] 5 | extern crate lazy_static; 6 | use rayon::iter::{ParallelBridge, ParallelIterator}; 7 | use skim::{ 8 | prelude::{unbounded, SkimOptionsBuilder}, 9 | Skim, SkimItemReceiver, SkimItemSender, 10 | }; 11 | 12 | /// `Action` and its implementations 13 | mod action; 14 | /// `clap` configuration 15 | mod cli; 16 | /// `Config` struct and its implementations 17 | mod config; 18 | /// `FileIter` enum and its implementations 19 | mod file_iter; 20 | /// `PDFContent` and its implementations 21 | mod pdf; 22 | 23 | use action::Action; 24 | use file_iter::FileIter; 25 | use pdf::PDFContent; 26 | 27 | lazy_static! { 28 | /// Global configuration for the application 29 | pub static ref CONFIG: RwLock = RwLock::new(config::Config::new()); 30 | } 31 | 32 | fn main() { 33 | let matches = cli::get_app().get_matches(); 34 | CONFIG.write().unwrap().modify_with_argmatches(&matches); 35 | let (tx_item, rx_item): (SkimItemSender, SkimItemReceiver) = unbounded(); 36 | 37 | let path = matches.value_of("PATH").unwrap(); 38 | let with_hidden_files = matches.is_present("hidden"); 39 | 40 | FileIter::new(path, with_hidden_files) 41 | .par_bridge() 42 | .filter_map(|possible_entry| { 43 | let possible_pdf = possible_entry.ok()?.into_path(); 44 | if possible_pdf.extension()?.to_str()? == "pdf" { 45 | Some(possible_pdf.into_os_string()) 46 | } else { 47 | None 48 | } 49 | }) 50 | .filter_map(|pdf_path| match PDFContent::try_from(pdf_path) { 51 | Ok(pdf_content) => Some(pdf_content), 52 | Err((error, file_path)) => { 53 | if !CONFIG.read().unwrap().quiet { 54 | println!("{:?}: {:?}", file_path, error); 55 | } 56 | None 57 | } 58 | }) 59 | .for_each_with(tx_item, |tx_item, pdf_content| { 60 | let _ = tx_item.send(Arc::new(pdf_content)); 61 | }); 62 | 63 | let skim_options = SkimOptionsBuilder::default() 64 | .reverse(true) 65 | .exact(true) 66 | .preview_window(Some("down:80%")) 67 | .preview(Some("")) 68 | .build() 69 | .unwrap(); 70 | 71 | match Skim::run_with(&skim_options, Some(rx_item)) { 72 | Some(sk_output) => { 73 | if sk_output.is_abort { 74 | std::process::exit(130) 75 | } 76 | 77 | Action::from_matches(&matches).execute(sk_output); 78 | } 79 | None => std::process::exit(1), 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/action.rs: -------------------------------------------------------------------------------- 1 | use std::env; 2 | use std::process::Command; 3 | 4 | use clap::ArgMatches; 5 | use regex::{Captures, Regex}; 6 | use skim::SkimOutput; 7 | 8 | use crate::pdf; 9 | 10 | /// The different options to do after selecting an item 11 | pub enum Action { 12 | PrintResult, 13 | RunCommand(String), 14 | } 15 | 16 | impl Action { 17 | /// Creates an `Action` from clap's matches 18 | pub fn from_matches(matches: &ArgMatches) -> Self { 19 | match matches.value_of("COMMAND").unwrap().trim() { 20 | "-" => Action::PrintResult, 21 | cmd => Action::RunCommand(String::from(cmd)), 22 | } 23 | } 24 | 25 | /// Executes (and consumes) an Action 26 | pub fn execute(self, arguments: SkimOutput) { 27 | match self { 28 | Action::PrintResult => { 29 | let file_path = self.inject_arguments(arguments); 30 | println!("{}", file_path); 31 | } 32 | Action::RunCommand(_) => { 33 | let shell = env::var("SHELL").unwrap_or_else(|_| "sh".to_string()); 34 | let cmd_str = self.inject_arguments(arguments); 35 | let _ = Command::new(shell).arg("-c").arg(cmd_str).spawn(); 36 | } 37 | } 38 | } 39 | 40 | /// Injects arguments from `SkimOutput` into a given string 41 | fn inject_arguments(self, arguments: SkimOutput) -> String { 42 | let starting_cmd = match self { 43 | Action::PrintResult => String::from("{}"), 44 | Action::RunCommand(cmd) => cmd, 45 | }; 46 | let file_path = arguments 47 | .selected_items 48 | .first() 49 | .unwrap() 50 | .as_any() 51 | .downcast_ref::() 52 | .unwrap() 53 | .file_path 54 | .to_str() 55 | .unwrap(); 56 | let query = arguments.query.as_str(); 57 | 58 | let re_fields = Regex::new(r"(\{ *[qf]? *\})").unwrap(); 59 | if re_fields.is_match(&starting_cmd) { 60 | let injected_cmd = re_fields.replace_all(&starting_cmd, |caps: &Captures| { 61 | let range = &caps[1]; 62 | let range = &range[1..range.len() - 1]; 63 | let range = range.trim(); 64 | let replacement = match range { 65 | "" | "f" => file_path, 66 | "q" => query, 67 | _ => "", 68 | }; 69 | format!("'{}'", replacement) 70 | }); 71 | String::from(injected_cmd) 72 | } else { 73 | format!("{} '{}'", starting_cmd, file_path) 74 | } 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # fuzzy-pdf 2 | 3 | ![Continuous Integration](https://github.com/MarioJim/fuzzy-pdf/workflows/Continuous%20Integration/badge.svg) 4 | ![Release pipeline](https://github.com/MarioJim/fuzzy-pdf/workflows/Release%20pipeline/badge.svg) 5 | ![Lines of code](https://tokei.rs/b1/github/MarioJim/fuzzy-pdf?category=code) 6 | ![GitHub last commit](https://img.shields.io/github/last-commit/MarioJim/fuzzy-pdf) 7 | 8 | Fuzzy finder for a collection of pdf files. Based on [bellecp/fast-p](https://github.com/bellecp/fast-p) but written in Rust and with less external dependencies. 9 | 10 | ## Dependencies 11 | 12 | - `libpoppler-glib` for extracting the text from pdfs 13 | 14 | ## Installation 15 | 16 | If you're an Arch Linux user, then you can install [fuzzy-pdf from the AUR](https://aur.archlinux.org/packages/fuzzy-pdf/): 17 | ![AUR version](https://img.shields.io/aur/version/fuzzy-pdf) 18 | 19 | ``` 20 | $ paru -S fuzzy-pdf 21 | ``` 22 | 23 | Or install the [precompiled version](https://aur.archlinux.org/packages/fuzzy-pdf-bin/) with: 24 | ![AUR version](https://img.shields.io/aur/version/fuzzy-pdf-bin) 25 | 26 | ``` 27 | $ paru -S fuzzy-pdf-bin 28 | ``` 29 | 30 | You can also build it from source using cargo: 31 | 32 | ``` 33 | $ cargo build --release --locked 34 | ``` 35 | 36 | ## Usage 37 | 38 | ``` 39 | fuzzy-pdf 0.3.6 40 | MarioJim 41 | Fuzzy finder for a collection of pdf files 42 | 43 | USAGE: 44 | fuzzy-pdf [FLAGS] [OPTIONS] [ARGS] 45 | 46 | ARGS: 47 | 48 | The path to recursively search for pdf files [default: .] 49 | 50 | After selecting a file, use this option to either: 51 | - Pass a '-' to print the file path to stdout (pair this 52 | with -q option for better results) 53 | - Pass a string with placeholders to be executed. You can 54 | use {} or {f} to pass the file path, and {q} for the query 55 | typed into the search box. If you don't use any placeholders, 56 | the string will be appended with the file path and executed. 57 | 58 | If you don't pass this argument, the program will open the 59 | pdf in the system's default pdf viewer, using 'start' for 60 | Windows, 'open' for MacOS, and 'xdg-open' for anything else. 61 | [default: xdg-open] 62 | 63 | FLAGS: 64 | -h, --help 65 | Prints help information 66 | 67 | -H, --hidden 68 | Search hidden files also 69 | 70 | -q, --quiet 71 | Omit printing error messages 72 | 73 | -V, --version 74 | Prints version information 75 | 76 | OPTIONS: 77 | -c, --context 78 | Surrounding lines to show in the preview 79 | 80 | -m, --max-pages 81 | Only parse documents with at most this number of pages. 82 | Pass '0' to parse documents with any number of pages 83 | ``` 84 | 85 | ## Todo 86 | 87 | - [x] Implement preview using `ripgrep` as a library 88 | - [x] Implement way to inject arguments to the provided command 89 | - [x] Add documentation 90 | - [ ] Add tests 91 | -------------------------------------------------------------------------------- /src/pdf.rs: -------------------------------------------------------------------------------- 1 | use std::borrow::Cow; 2 | use std::convert::TryFrom; 3 | use std::ffi::OsString; 4 | use std::fmt; 5 | use std::sync::Arc; 6 | 7 | use grep::printer::{ColorSpecs, StandardBuilder}; 8 | use grep::regex::RegexMatcherBuilder; 9 | use grep::searcher::SearcherBuilder; 10 | use poppler::PopplerDocument; 11 | use rayon::iter::{IntoParallelIterator, ParallelIterator}; 12 | use skim::{AnsiString, DisplayContext, ItemPreview, PreviewContext, SkimItem}; 13 | use termcolor::Ansi; 14 | 15 | /// Maps a file path to its text content 16 | #[derive(Debug)] 17 | pub struct PDFContent { 18 | pub file_path: OsString, 19 | pub content: String, 20 | } 21 | 22 | impl SkimItem for PDFContent { 23 | /// Returns the file path as the entry to be displayed in the item list 24 | fn display(&self, _: DisplayContext) -> AnsiString { 25 | self.file_path.as_os_str().to_str().unwrap().into() 26 | } 27 | 28 | /// Returns the text contect as the text to be searched on 29 | fn text(&self) -> Cow { 30 | Cow::Borrowed(&self.content) 31 | } 32 | 33 | /// Using `ripgrep` internal components, prints a preview of the content 34 | /// that matches the query with a context of 3 lines before and after 35 | fn preview(&self, context: PreviewContext) -> ItemPreview { 36 | let matcher = RegexMatcherBuilder::new() 37 | .case_smart(true) 38 | .build(context.query) 39 | .unwrap(); 40 | let width = context.width as u64; 41 | let mut printer = StandardBuilder::new() 42 | .stats(false) 43 | .color_specs(ColorSpecs::default_with_color()) 44 | .max_columns(Some(width)) 45 | .max_columns_preview(true) 46 | .build(Ansi::new(vec![])); 47 | let context = crate::CONFIG.read().unwrap().context; 48 | let mut searcher = SearcherBuilder::new() 49 | .line_number(false) 50 | .after_context(context) 51 | .before_context(context) 52 | .build(); 53 | let _ = searcher.search_slice(&matcher, self.content.as_bytes(), printer.sink(&matcher)); 54 | 55 | ItemPreview::AnsiText(String::from_utf8(printer.into_inner().into_inner()).unwrap()) 56 | } 57 | } 58 | 59 | /// Tries to read the pdf's text content using poppler-rs given the file path 60 | impl TryFrom for PDFContent { 61 | type Error = (ParsingError, OsString); 62 | 63 | fn try_from(file_path: OsString) -> Result { 64 | let document = match PopplerDocument::from_file(&file_path, "") { 65 | Ok(pdf_doc) => pdf_doc, 66 | Err(_) => return Err((ParsingError::NotAPDF, file_path)), 67 | }; 68 | 69 | let num_pages = document.n_pages(); 70 | let max_num_pages = crate::CONFIG.read().unwrap().max_pages; 71 | if max_num_pages != 0 && max_num_pages < num_pages { 72 | return Err((ParsingError::TooManyPages, file_path)); 73 | } 74 | 75 | let document_arc = Arc::new(document); 76 | 77 | let content: String = (0..num_pages) 78 | .into_par_iter() 79 | .map(|page_idx| { 80 | Arc::clone(&document_arc) 81 | .page(page_idx) 82 | .map(|page| page.owned_text()) 83 | .flatten() 84 | .unwrap_or_default() 85 | }) 86 | .collect(); 87 | 88 | if content.chars().all(|ch| ch.is_whitespace()) { 89 | Err((ParsingError::EmptyFile, file_path)) 90 | } else { 91 | Ok(PDFContent { file_path, content }) 92 | } 93 | } 94 | } 95 | 96 | /// Errors that can occur while parsing the pdf file 97 | pub enum ParsingError { 98 | /// Poppler couldn't recognize the file as a PDF document 99 | NotAPDF, 100 | /// Poppler returned either an empty string or only whitespace chararcters 101 | EmptyFile, 102 | /// The PDF has more pages than permitted 103 | TooManyPages, 104 | } 105 | 106 | impl fmt::Debug for ParsingError { 107 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 108 | match self { 109 | ParsingError::NotAPDF => write!(f, "file couldn't be read as a pdf"), 110 | ParsingError::EmptyFile => write!(f, "no text could be recognized from this file"), 111 | ParsingError::TooManyPages => write!(f, "has too many pages"), 112 | } 113 | } 114 | } 115 | -------------------------------------------------------------------------------- /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 | . -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- 1 | # This file is automatically @generated by Cargo. 2 | # It is not intended for manual editing. 3 | version = 3 4 | 5 | [[package]] 6 | name = "addr2line" 7 | version = "0.16.0" 8 | source = "registry+https://github.com/rust-lang/crates.io-index" 9 | checksum = "3e61f2b7f93d2c7d2b08263acaa4a363b3e276806c68af6134c44f523bf1aacd" 10 | dependencies = [ 11 | "gimli", 12 | ] 13 | 14 | [[package]] 15 | name = "adler" 16 | version = "1.0.2" 17 | source = "registry+https://github.com/rust-lang/crates.io-index" 18 | checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" 19 | 20 | [[package]] 21 | name = "aho-corasick" 22 | version = "0.7.18" 23 | source = "registry+https://github.com/rust-lang/crates.io-index" 24 | checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" 25 | dependencies = [ 26 | "memchr", 27 | ] 28 | 29 | [[package]] 30 | name = "ansi_term" 31 | version = "0.11.0" 32 | source = "registry+https://github.com/rust-lang/crates.io-index" 33 | checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" 34 | dependencies = [ 35 | "winapi", 36 | ] 37 | 38 | [[package]] 39 | name = "anyhow" 40 | version = "1.0.42" 41 | source = "registry+https://github.com/rust-lang/crates.io-index" 42 | checksum = "595d3cfa7a60d4555cb5067b99f07142a08ea778de5cf993f7b75c7d8fabc486" 43 | 44 | [[package]] 45 | name = "arrayvec" 46 | version = "0.5.2" 47 | source = "registry+https://github.com/rust-lang/crates.io-index" 48 | checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" 49 | 50 | [[package]] 51 | name = "atty" 52 | version = "0.2.14" 53 | source = "registry+https://github.com/rust-lang/crates.io-index" 54 | checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" 55 | dependencies = [ 56 | "hermit-abi", 57 | "libc", 58 | "winapi", 59 | ] 60 | 61 | [[package]] 62 | name = "autocfg" 63 | version = "1.0.1" 64 | source = "registry+https://github.com/rust-lang/crates.io-index" 65 | checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" 66 | 67 | [[package]] 68 | name = "backtrace" 69 | version = "0.3.61" 70 | source = "registry+https://github.com/rust-lang/crates.io-index" 71 | checksum = "e7a905d892734eea339e896738c14b9afce22b5318f64b951e70bf3844419b01" 72 | dependencies = [ 73 | "addr2line", 74 | "cc", 75 | "cfg-if 1.0.0", 76 | "libc", 77 | "miniz_oxide", 78 | "object", 79 | "rustc-demangle", 80 | ] 81 | 82 | [[package]] 83 | name = "base-x" 84 | version = "0.2.8" 85 | source = "registry+https://github.com/rust-lang/crates.io-index" 86 | checksum = "a4521f3e3d031370679b3b140beb36dfe4801b09ac77e30c61941f97df3ef28b" 87 | 88 | [[package]] 89 | name = "base64" 90 | version = "0.13.0" 91 | source = "registry+https://github.com/rust-lang/crates.io-index" 92 | checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" 93 | 94 | [[package]] 95 | name = "beef" 96 | version = "0.5.1" 97 | source = "registry+https://github.com/rust-lang/crates.io-index" 98 | checksum = "bed554bd50246729a1ec158d08aa3235d1b69d94ad120ebe187e28894787e736" 99 | 100 | [[package]] 101 | name = "bindgen" 102 | version = "0.49.4" 103 | source = "registry+https://github.com/rust-lang/crates.io-index" 104 | checksum = "4c07087f3d5731bf3fb375a81841b99597e25dc11bd3bc72d16d43adf6624a6e" 105 | dependencies = [ 106 | "bitflags", 107 | "cexpr", 108 | "cfg-if 0.1.10", 109 | "clang-sys", 110 | "clap 2.33.3", 111 | "env_logger 0.6.2", 112 | "fxhash", 113 | "lazy_static", 114 | "log", 115 | "peeking_take_while", 116 | "proc-macro2 0.4.30", 117 | "quote 0.6.13", 118 | "regex", 119 | "shlex", 120 | "which", 121 | ] 122 | 123 | [[package]] 124 | name = "bitflags" 125 | version = "1.2.1" 126 | source = "registry+https://github.com/rust-lang/crates.io-index" 127 | checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" 128 | 129 | [[package]] 130 | name = "bstr" 131 | version = "0.2.16" 132 | source = "registry+https://github.com/rust-lang/crates.io-index" 133 | checksum = "90682c8d613ad3373e66de8c6411e0ae2ab2571e879d2efbf73558cc66f21279" 134 | dependencies = [ 135 | "lazy_static", 136 | "memchr", 137 | "regex-automata", 138 | ] 139 | 140 | [[package]] 141 | name = "bumpalo" 142 | version = "3.7.0" 143 | source = "registry+https://github.com/rust-lang/crates.io-index" 144 | checksum = "9c59e7af012c713f529e7a3ee57ce9b31ddd858d4b512923602f74608b009631" 145 | 146 | [[package]] 147 | name = "bytecount" 148 | version = "0.6.2" 149 | source = "registry+https://github.com/rust-lang/crates.io-index" 150 | checksum = "72feb31ffc86498dacdbd0fcebb56138e7177a8cc5cea4516031d15ae85a742e" 151 | 152 | [[package]] 153 | name = "byteorder" 154 | version = "1.4.3" 155 | source = "registry+https://github.com/rust-lang/crates.io-index" 156 | checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" 157 | 158 | [[package]] 159 | name = "cairo-rs" 160 | version = "0.14.1" 161 | source = "registry+https://github.com/rust-lang/crates.io-index" 162 | checksum = "a408c13bbc04c3337b94194c1a4d04067097439b79dbc1dcbceba299d828b9ea" 163 | dependencies = [ 164 | "bitflags", 165 | "cairo-sys-rs", 166 | "glib", 167 | "libc", 168 | "thiserror", 169 | ] 170 | 171 | [[package]] 172 | name = "cairo-sys-rs" 173 | version = "0.14.0" 174 | source = "registry+https://github.com/rust-lang/crates.io-index" 175 | checksum = "d7c9c3928781e8a017ece15eace05230f04b647457d170d2d9641c94a444ff80" 176 | dependencies = [ 177 | "glib-sys", 178 | "libc", 179 | "system-deps", 180 | ] 181 | 182 | [[package]] 183 | name = "cc" 184 | version = "1.0.69" 185 | source = "registry+https://github.com/rust-lang/crates.io-index" 186 | checksum = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2" 187 | 188 | [[package]] 189 | name = "cexpr" 190 | version = "0.3.6" 191 | source = "registry+https://github.com/rust-lang/crates.io-index" 192 | checksum = "fce5b5fb86b0c57c20c834c1b412fd09c77c8a59b9473f86272709e78874cd1d" 193 | dependencies = [ 194 | "nom", 195 | ] 196 | 197 | [[package]] 198 | name = "cfg-expr" 199 | version = "0.8.1" 200 | source = "registry+https://github.com/rust-lang/crates.io-index" 201 | checksum = "b412e83326147c2bb881f8b40edfbf9905b9b8abaebd0e47ca190ba62fda8f0e" 202 | dependencies = [ 203 | "smallvec", 204 | ] 205 | 206 | [[package]] 207 | name = "cfg-if" 208 | version = "0.1.10" 209 | source = "registry+https://github.com/rust-lang/crates.io-index" 210 | checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" 211 | 212 | [[package]] 213 | name = "cfg-if" 214 | version = "1.0.0" 215 | source = "registry+https://github.com/rust-lang/crates.io-index" 216 | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 217 | 218 | [[package]] 219 | name = "chrono" 220 | version = "0.4.19" 221 | source = "registry+https://github.com/rust-lang/crates.io-index" 222 | checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" 223 | dependencies = [ 224 | "libc", 225 | "num-integer", 226 | "num-traits", 227 | "time 0.1.43", 228 | "winapi", 229 | ] 230 | 231 | [[package]] 232 | name = "clang-sys" 233 | version = "0.28.1" 234 | source = "registry+https://github.com/rust-lang/crates.io-index" 235 | checksum = "81de550971c976f176130da4b2978d3b524eaa0fd9ac31f3ceb5ae1231fb4853" 236 | dependencies = [ 237 | "glob", 238 | "libc", 239 | "libloading", 240 | ] 241 | 242 | [[package]] 243 | name = "clap" 244 | version = "2.33.3" 245 | source = "registry+https://github.com/rust-lang/crates.io-index" 246 | checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002" 247 | dependencies = [ 248 | "ansi_term", 249 | "atty", 250 | "bitflags", 251 | "strsim 0.8.0", 252 | "textwrap 0.11.0", 253 | "unicode-width", 254 | "vec_map", 255 | ] 256 | 257 | [[package]] 258 | name = "clap" 259 | version = "3.0.0-beta.2" 260 | source = "registry+https://github.com/rust-lang/crates.io-index" 261 | checksum = "4bd1061998a501ee7d4b6d449020df3266ca3124b941ec56cf2005c3779ca142" 262 | dependencies = [ 263 | "atty", 264 | "bitflags", 265 | "clap_derive", 266 | "indexmap", 267 | "lazy_static", 268 | "os_str_bytes", 269 | "strsim 0.10.0", 270 | "termcolor", 271 | "textwrap 0.12.1", 272 | "unicode-width", 273 | "vec_map", 274 | ] 275 | 276 | [[package]] 277 | name = "clap_derive" 278 | version = "3.0.0-beta.2" 279 | source = "registry+https://github.com/rust-lang/crates.io-index" 280 | checksum = "370f715b81112975b1b69db93e0b56ea4cd4e5002ac43b2da8474106a54096a1" 281 | dependencies = [ 282 | "heck", 283 | "proc-macro-error", 284 | "proc-macro2 1.0.28", 285 | "quote 1.0.9", 286 | "syn 1.0.74", 287 | ] 288 | 289 | [[package]] 290 | name = "const_fn" 291 | version = "0.4.8" 292 | source = "registry+https://github.com/rust-lang/crates.io-index" 293 | checksum = "f92cfa0fd5690b3cf8c1ef2cabbd9b7ef22fa53cf5e1f92b05103f6d5d1cf6e7" 294 | 295 | [[package]] 296 | name = "crossbeam" 297 | version = "0.8.1" 298 | source = "registry+https://github.com/rust-lang/crates.io-index" 299 | checksum = "4ae5588f6b3c3cb05239e90bd110f257254aecd01e4635400391aeae07497845" 300 | dependencies = [ 301 | "cfg-if 1.0.0", 302 | "crossbeam-channel 0.5.1", 303 | "crossbeam-deque", 304 | "crossbeam-epoch", 305 | "crossbeam-queue", 306 | "crossbeam-utils 0.8.5", 307 | ] 308 | 309 | [[package]] 310 | name = "crossbeam-channel" 311 | version = "0.4.4" 312 | source = "registry+https://github.com/rust-lang/crates.io-index" 313 | checksum = "b153fe7cbef478c567df0f972e02e6d736db11affe43dfc9c56a9374d1adfb87" 314 | dependencies = [ 315 | "crossbeam-utils 0.7.2", 316 | "maybe-uninit", 317 | ] 318 | 319 | [[package]] 320 | name = "crossbeam-channel" 321 | version = "0.5.1" 322 | source = "registry+https://github.com/rust-lang/crates.io-index" 323 | checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" 324 | dependencies = [ 325 | "cfg-if 1.0.0", 326 | "crossbeam-utils 0.8.5", 327 | ] 328 | 329 | [[package]] 330 | name = "crossbeam-deque" 331 | version = "0.8.1" 332 | source = "registry+https://github.com/rust-lang/crates.io-index" 333 | checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" 334 | dependencies = [ 335 | "cfg-if 1.0.0", 336 | "crossbeam-epoch", 337 | "crossbeam-utils 0.8.5", 338 | ] 339 | 340 | [[package]] 341 | name = "crossbeam-epoch" 342 | version = "0.9.5" 343 | source = "registry+https://github.com/rust-lang/crates.io-index" 344 | checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" 345 | dependencies = [ 346 | "cfg-if 1.0.0", 347 | "crossbeam-utils 0.8.5", 348 | "lazy_static", 349 | "memoffset", 350 | "scopeguard", 351 | ] 352 | 353 | [[package]] 354 | name = "crossbeam-queue" 355 | version = "0.3.2" 356 | source = "registry+https://github.com/rust-lang/crates.io-index" 357 | checksum = "9b10ddc024425c88c2ad148c1b0fd53f4c6d38db9697c9f1588381212fa657c9" 358 | dependencies = [ 359 | "cfg-if 1.0.0", 360 | "crossbeam-utils 0.8.5", 361 | ] 362 | 363 | [[package]] 364 | name = "crossbeam-utils" 365 | version = "0.7.2" 366 | source = "registry+https://github.com/rust-lang/crates.io-index" 367 | checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8" 368 | dependencies = [ 369 | "autocfg", 370 | "cfg-if 0.1.10", 371 | "lazy_static", 372 | ] 373 | 374 | [[package]] 375 | name = "crossbeam-utils" 376 | version = "0.8.5" 377 | source = "registry+https://github.com/rust-lang/crates.io-index" 378 | checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db" 379 | dependencies = [ 380 | "cfg-if 1.0.0", 381 | "lazy_static", 382 | ] 383 | 384 | [[package]] 385 | name = "darling" 386 | version = "0.10.2" 387 | source = "registry+https://github.com/rust-lang/crates.io-index" 388 | checksum = "0d706e75d87e35569db781a9b5e2416cff1236a47ed380831f959382ccd5f858" 389 | dependencies = [ 390 | "darling_core", 391 | "darling_macro", 392 | ] 393 | 394 | [[package]] 395 | name = "darling_core" 396 | version = "0.10.2" 397 | source = "registry+https://github.com/rust-lang/crates.io-index" 398 | checksum = "f0c960ae2da4de88a91b2d920c2a7233b400bc33cb28453a2987822d8392519b" 399 | dependencies = [ 400 | "fnv", 401 | "ident_case", 402 | "proc-macro2 1.0.28", 403 | "quote 1.0.9", 404 | "strsim 0.9.3", 405 | "syn 1.0.74", 406 | ] 407 | 408 | [[package]] 409 | name = "darling_macro" 410 | version = "0.10.2" 411 | source = "registry+https://github.com/rust-lang/crates.io-index" 412 | checksum = "d9b5a2f4ac4969822c62224815d069952656cadc7084fdca9751e6d959189b72" 413 | dependencies = [ 414 | "darling_core", 415 | "quote 1.0.9", 416 | "syn 1.0.74", 417 | ] 418 | 419 | [[package]] 420 | name = "defer-drop" 421 | version = "1.0.1" 422 | source = "registry+https://github.com/rust-lang/crates.io-index" 423 | checksum = "18ae055245e14ed411f56dddf2a78caae87c25d9d6a18fb61f398a596cad77b4" 424 | dependencies = [ 425 | "crossbeam-channel 0.4.4", 426 | "once_cell", 427 | ] 428 | 429 | [[package]] 430 | name = "derive_builder" 431 | version = "0.9.0" 432 | source = "registry+https://github.com/rust-lang/crates.io-index" 433 | checksum = "a2658621297f2cf68762a6f7dc0bb7e1ff2cfd6583daef8ee0fed6f7ec468ec0" 434 | dependencies = [ 435 | "darling", 436 | "derive_builder_core", 437 | "proc-macro2 1.0.28", 438 | "quote 1.0.9", 439 | "syn 1.0.74", 440 | ] 441 | 442 | [[package]] 443 | name = "derive_builder_core" 444 | version = "0.9.0" 445 | source = "registry+https://github.com/rust-lang/crates.io-index" 446 | checksum = "2791ea3e372c8495c0bc2033991d76b512cd799d07491fbd6890124db9458bef" 447 | dependencies = [ 448 | "darling", 449 | "proc-macro2 1.0.28", 450 | "quote 1.0.9", 451 | "syn 1.0.74", 452 | ] 453 | 454 | [[package]] 455 | name = "dirs" 456 | version = "2.0.2" 457 | source = "registry+https://github.com/rust-lang/crates.io-index" 458 | checksum = "13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3" 459 | dependencies = [ 460 | "cfg-if 0.1.10", 461 | "dirs-sys", 462 | ] 463 | 464 | [[package]] 465 | name = "dirs-sys" 466 | version = "0.3.6" 467 | source = "registry+https://github.com/rust-lang/crates.io-index" 468 | checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780" 469 | dependencies = [ 470 | "libc", 471 | "redox_users", 472 | "winapi", 473 | ] 474 | 475 | [[package]] 476 | name = "discard" 477 | version = "1.0.4" 478 | source = "registry+https://github.com/rust-lang/crates.io-index" 479 | checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" 480 | 481 | [[package]] 482 | name = "either" 483 | version = "1.6.1" 484 | source = "registry+https://github.com/rust-lang/crates.io-index" 485 | checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" 486 | 487 | [[package]] 488 | name = "encoding_rs" 489 | version = "0.8.28" 490 | source = "registry+https://github.com/rust-lang/crates.io-index" 491 | checksum = "80df024fbc5ac80f87dfef0d9f5209a252f2a497f7f42944cff24d8253cac065" 492 | dependencies = [ 493 | "cfg-if 1.0.0", 494 | ] 495 | 496 | [[package]] 497 | name = "encoding_rs_io" 498 | version = "0.1.7" 499 | source = "registry+https://github.com/rust-lang/crates.io-index" 500 | checksum = "1cc3c5651fb62ab8aa3103998dade57efdd028544bd300516baa31840c252a83" 501 | dependencies = [ 502 | "encoding_rs", 503 | ] 504 | 505 | [[package]] 506 | name = "env_logger" 507 | version = "0.6.2" 508 | source = "registry+https://github.com/rust-lang/crates.io-index" 509 | checksum = "aafcde04e90a5226a6443b7aabdb016ba2f8307c847d524724bd9b346dd1a2d3" 510 | dependencies = [ 511 | "atty", 512 | "humantime 1.3.0", 513 | "log", 514 | "regex", 515 | "termcolor", 516 | ] 517 | 518 | [[package]] 519 | name = "env_logger" 520 | version = "0.8.4" 521 | source = "registry+https://github.com/rust-lang/crates.io-index" 522 | checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" 523 | dependencies = [ 524 | "atty", 525 | "humantime 2.1.0", 526 | "log", 527 | "regex", 528 | "termcolor", 529 | ] 530 | 531 | [[package]] 532 | name = "failure" 533 | version = "0.1.8" 534 | source = "registry+https://github.com/rust-lang/crates.io-index" 535 | checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86" 536 | dependencies = [ 537 | "backtrace", 538 | ] 539 | 540 | [[package]] 541 | name = "fnv" 542 | version = "1.0.7" 543 | source = "registry+https://github.com/rust-lang/crates.io-index" 544 | checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 545 | 546 | [[package]] 547 | name = "futures-channel" 548 | version = "0.3.16" 549 | source = "registry+https://github.com/rust-lang/crates.io-index" 550 | checksum = "74ed2411805f6e4e3d9bc904c95d5d423b89b3b25dc0250aa74729de20629ff9" 551 | dependencies = [ 552 | "futures-core", 553 | ] 554 | 555 | [[package]] 556 | name = "futures-core" 557 | version = "0.3.16" 558 | source = "registry+https://github.com/rust-lang/crates.io-index" 559 | checksum = "af51b1b4a7fdff033703db39de8802c673eb91855f2e0d47dcf3bf2c0ef01f99" 560 | 561 | [[package]] 562 | name = "futures-executor" 563 | version = "0.3.16" 564 | source = "registry+https://github.com/rust-lang/crates.io-index" 565 | checksum = "4d0d535a57b87e1ae31437b892713aee90cd2d7b0ee48727cd11fc72ef54761c" 566 | dependencies = [ 567 | "futures-core", 568 | "futures-task", 569 | "futures-util", 570 | ] 571 | 572 | [[package]] 573 | name = "futures-task" 574 | version = "0.3.16" 575 | source = "registry+https://github.com/rust-lang/crates.io-index" 576 | checksum = "bbe54a98670017f3be909561f6ad13e810d9a51f3f061b902062ca3da80799f2" 577 | 578 | [[package]] 579 | name = "futures-util" 580 | version = "0.3.16" 581 | source = "registry+https://github.com/rust-lang/crates.io-index" 582 | checksum = "67eb846bfd58e44a8481a00049e82c43e0ccb5d61f8dc071057cb19249dd4d78" 583 | dependencies = [ 584 | "autocfg", 585 | "futures-core", 586 | "futures-task", 587 | "pin-project-lite", 588 | "pin-utils", 589 | "slab", 590 | ] 591 | 592 | [[package]] 593 | name = "fuzzy-matcher" 594 | version = "0.3.7" 595 | source = "registry+https://github.com/rust-lang/crates.io-index" 596 | checksum = "54614a3312934d066701a80f20f15fa3b56d67ac7722b39eea5b4c9dd1d66c94" 597 | dependencies = [ 598 | "thread_local", 599 | ] 600 | 601 | [[package]] 602 | name = "fuzzy-pdf" 603 | version = "0.3.6" 604 | dependencies = [ 605 | "clap 3.0.0-beta.2", 606 | "grep", 607 | "lazy_static", 608 | "poppler", 609 | "rayon", 610 | "regex", 611 | "skim", 612 | "termcolor", 613 | "walkdir", 614 | ] 615 | 616 | [[package]] 617 | name = "fxhash" 618 | version = "0.2.1" 619 | source = "registry+https://github.com/rust-lang/crates.io-index" 620 | checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" 621 | dependencies = [ 622 | "byteorder", 623 | ] 624 | 625 | [[package]] 626 | name = "getrandom" 627 | version = "0.2.3" 628 | source = "registry+https://github.com/rust-lang/crates.io-index" 629 | checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" 630 | dependencies = [ 631 | "cfg-if 1.0.0", 632 | "libc", 633 | "wasi", 634 | ] 635 | 636 | [[package]] 637 | name = "gimli" 638 | version = "0.25.0" 639 | source = "registry+https://github.com/rust-lang/crates.io-index" 640 | checksum = "f0a01e0497841a3b2db4f8afa483cce65f7e96a3498bd6c541734792aeac8fe7" 641 | 642 | [[package]] 643 | name = "gio-sys" 644 | version = "0.14.0" 645 | source = "registry+https://github.com/rust-lang/crates.io-index" 646 | checksum = "c0a41df66e57fcc287c4bcf74fc26b884f31901ea9792ec75607289b456f48fa" 647 | dependencies = [ 648 | "glib-sys", 649 | "gobject-sys", 650 | "libc", 651 | "system-deps", 652 | "winapi", 653 | ] 654 | 655 | [[package]] 656 | name = "glib" 657 | version = "0.14.2" 658 | source = "registry+https://github.com/rust-lang/crates.io-index" 659 | checksum = "dbecad7a3a898ee749d491ce2ae0decb0bce9e736f9747bc49159b1cea5d37f4" 660 | dependencies = [ 661 | "bitflags", 662 | "futures-channel", 663 | "futures-core", 664 | "futures-executor", 665 | "futures-task", 666 | "glib-macros", 667 | "glib-sys", 668 | "gobject-sys", 669 | "libc", 670 | "once_cell", 671 | "smallvec", 672 | ] 673 | 674 | [[package]] 675 | name = "glib-macros" 676 | version = "0.14.1" 677 | source = "registry+https://github.com/rust-lang/crates.io-index" 678 | checksum = "2aad66361f66796bfc73f530c51ef123970eb895ffba991a234fcf7bea89e518" 679 | dependencies = [ 680 | "anyhow", 681 | "heck", 682 | "proc-macro-crate", 683 | "proc-macro-error", 684 | "proc-macro2 1.0.28", 685 | "quote 1.0.9", 686 | "syn 1.0.74", 687 | ] 688 | 689 | [[package]] 690 | name = "glib-sys" 691 | version = "0.14.0" 692 | source = "registry+https://github.com/rust-lang/crates.io-index" 693 | checksum = "1c1d60554a212445e2a858e42a0e48cece1bd57b311a19a9468f70376cf554ae" 694 | dependencies = [ 695 | "libc", 696 | "system-deps", 697 | ] 698 | 699 | [[package]] 700 | name = "glob" 701 | version = "0.3.0" 702 | source = "registry+https://github.com/rust-lang/crates.io-index" 703 | checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" 704 | 705 | [[package]] 706 | name = "globset" 707 | version = "0.4.8" 708 | source = "registry+https://github.com/rust-lang/crates.io-index" 709 | checksum = "10463d9ff00a2a068db14231982f5132edebad0d7660cd956a1c30292dbcbfbd" 710 | dependencies = [ 711 | "aho-corasick", 712 | "bstr", 713 | "fnv", 714 | "log", 715 | "regex", 716 | ] 717 | 718 | [[package]] 719 | name = "gobject-sys" 720 | version = "0.14.0" 721 | source = "registry+https://github.com/rust-lang/crates.io-index" 722 | checksum = "aa92cae29759dae34ab5921d73fff5ad54b3d794ab842c117e36cafc7994c3f5" 723 | dependencies = [ 724 | "glib-sys", 725 | "libc", 726 | "system-deps", 727 | ] 728 | 729 | [[package]] 730 | name = "grep" 731 | version = "0.2.8" 732 | source = "registry+https://github.com/rust-lang/crates.io-index" 733 | checksum = "51cb840c560b45a2ffd8abf00190382789d3f596663d5ffeb2e05931c20e8657" 734 | dependencies = [ 735 | "grep-cli", 736 | "grep-matcher", 737 | "grep-printer", 738 | "grep-regex", 739 | "grep-searcher", 740 | ] 741 | 742 | [[package]] 743 | name = "grep-cli" 744 | version = "0.1.6" 745 | source = "registry+https://github.com/rust-lang/crates.io-index" 746 | checksum = "2dd110c34bb4460d0de5062413b773e385cbf8a85a63fc535590110a09e79e8a" 747 | dependencies = [ 748 | "atty", 749 | "bstr", 750 | "globset", 751 | "lazy_static", 752 | "log", 753 | "regex", 754 | "same-file", 755 | "termcolor", 756 | "winapi-util", 757 | ] 758 | 759 | [[package]] 760 | name = "grep-matcher" 761 | version = "0.1.5" 762 | source = "registry+https://github.com/rust-lang/crates.io-index" 763 | checksum = "6d27563c33062cd33003b166ade2bb4fd82db1fd6a86db764dfdad132d46c1cc" 764 | dependencies = [ 765 | "memchr", 766 | ] 767 | 768 | [[package]] 769 | name = "grep-printer" 770 | version = "0.1.6" 771 | source = "registry+https://github.com/rust-lang/crates.io-index" 772 | checksum = "05c271a24daedf5675b61a275a1d0af06e03312ab7856d15433ae6cde044dc72" 773 | dependencies = [ 774 | "base64", 775 | "bstr", 776 | "grep-matcher", 777 | "grep-searcher", 778 | "serde", 779 | "serde_json", 780 | "termcolor", 781 | ] 782 | 783 | [[package]] 784 | name = "grep-regex" 785 | version = "0.1.9" 786 | source = "registry+https://github.com/rust-lang/crates.io-index" 787 | checksum = "121553c9768c363839b92fc2d7cdbbad44a3b70e8d6e7b1b72b05c977527bd06" 788 | dependencies = [ 789 | "aho-corasick", 790 | "bstr", 791 | "grep-matcher", 792 | "log", 793 | "regex", 794 | "regex-syntax", 795 | "thread_local", 796 | ] 797 | 798 | [[package]] 799 | name = "grep-searcher" 800 | version = "0.1.8" 801 | source = "registry+https://github.com/rust-lang/crates.io-index" 802 | checksum = "7fbdbde90ba52adc240d2deef7b6ad1f99f53142d074b771fe9b7bede6c4c23d" 803 | dependencies = [ 804 | "bstr", 805 | "bytecount", 806 | "encoding_rs", 807 | "encoding_rs_io", 808 | "grep-matcher", 809 | "log", 810 | "memmap2", 811 | ] 812 | 813 | [[package]] 814 | name = "gtypes" 815 | version = "0.2.0" 816 | source = "registry+https://github.com/rust-lang/crates.io-index" 817 | checksum = "c8852d77575edf1670e115f3144950fc78754cef78ef0d8453e1e62bb0ec3c41" 818 | dependencies = [ 819 | "libc", 820 | ] 821 | 822 | [[package]] 823 | name = "hashbrown" 824 | version = "0.11.2" 825 | source = "registry+https://github.com/rust-lang/crates.io-index" 826 | checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" 827 | 828 | [[package]] 829 | name = "heck" 830 | version = "0.3.3" 831 | source = "registry+https://github.com/rust-lang/crates.io-index" 832 | checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" 833 | dependencies = [ 834 | "unicode-segmentation", 835 | ] 836 | 837 | [[package]] 838 | name = "hermit-abi" 839 | version = "0.1.19" 840 | source = "registry+https://github.com/rust-lang/crates.io-index" 841 | checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" 842 | dependencies = [ 843 | "libc", 844 | ] 845 | 846 | [[package]] 847 | name = "humantime" 848 | version = "1.3.0" 849 | source = "registry+https://github.com/rust-lang/crates.io-index" 850 | checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f" 851 | dependencies = [ 852 | "quick-error", 853 | ] 854 | 855 | [[package]] 856 | name = "humantime" 857 | version = "2.1.0" 858 | source = "registry+https://github.com/rust-lang/crates.io-index" 859 | checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" 860 | 861 | [[package]] 862 | name = "ident_case" 863 | version = "1.0.1" 864 | source = "registry+https://github.com/rust-lang/crates.io-index" 865 | checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" 866 | 867 | [[package]] 868 | name = "indexmap" 869 | version = "1.7.0" 870 | source = "registry+https://github.com/rust-lang/crates.io-index" 871 | checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5" 872 | dependencies = [ 873 | "autocfg", 874 | "hashbrown", 875 | ] 876 | 877 | [[package]] 878 | name = "itertools" 879 | version = "0.10.1" 880 | source = "registry+https://github.com/rust-lang/crates.io-index" 881 | checksum = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf" 882 | dependencies = [ 883 | "either", 884 | ] 885 | 886 | [[package]] 887 | name = "itoa" 888 | version = "0.4.7" 889 | source = "registry+https://github.com/rust-lang/crates.io-index" 890 | checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736" 891 | 892 | [[package]] 893 | name = "lazy_static" 894 | version = "1.4.0" 895 | source = "registry+https://github.com/rust-lang/crates.io-index" 896 | checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 897 | 898 | [[package]] 899 | name = "libc" 900 | version = "0.2.98" 901 | source = "registry+https://github.com/rust-lang/crates.io-index" 902 | checksum = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790" 903 | 904 | [[package]] 905 | name = "libloading" 906 | version = "0.5.2" 907 | source = "registry+https://github.com/rust-lang/crates.io-index" 908 | checksum = "f2b111a074963af1d37a139918ac6d49ad1d0d5e47f72fd55388619691a7d753" 909 | dependencies = [ 910 | "cc", 911 | "winapi", 912 | ] 913 | 914 | [[package]] 915 | name = "log" 916 | version = "0.4.14" 917 | source = "registry+https://github.com/rust-lang/crates.io-index" 918 | checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" 919 | dependencies = [ 920 | "cfg-if 1.0.0", 921 | ] 922 | 923 | [[package]] 924 | name = "maybe-uninit" 925 | version = "2.0.0" 926 | source = "registry+https://github.com/rust-lang/crates.io-index" 927 | checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" 928 | 929 | [[package]] 930 | name = "memchr" 931 | version = "2.4.0" 932 | source = "registry+https://github.com/rust-lang/crates.io-index" 933 | checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc" 934 | 935 | [[package]] 936 | name = "memmap2" 937 | version = "0.3.0" 938 | source = "registry+https://github.com/rust-lang/crates.io-index" 939 | checksum = "20ff203f7bdc401350b1dbaa0355135777d25f41c0bbc601851bbd6cf61e8ff5" 940 | dependencies = [ 941 | "libc", 942 | ] 943 | 944 | [[package]] 945 | name = "memoffset" 946 | version = "0.6.4" 947 | source = "registry+https://github.com/rust-lang/crates.io-index" 948 | checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9" 949 | dependencies = [ 950 | "autocfg", 951 | ] 952 | 953 | [[package]] 954 | name = "miniz_oxide" 955 | version = "0.4.4" 956 | source = "registry+https://github.com/rust-lang/crates.io-index" 957 | checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b" 958 | dependencies = [ 959 | "adler", 960 | "autocfg", 961 | ] 962 | 963 | [[package]] 964 | name = "nix" 965 | version = "0.14.1" 966 | source = "registry+https://github.com/rust-lang/crates.io-index" 967 | checksum = "6c722bee1037d430d0f8e687bbdbf222f27cc6e4e68d5caf630857bb2b6dbdce" 968 | dependencies = [ 969 | "bitflags", 970 | "cc", 971 | "cfg-if 0.1.10", 972 | "libc", 973 | "void", 974 | ] 975 | 976 | [[package]] 977 | name = "nix" 978 | version = "0.19.1" 979 | source = "registry+https://github.com/rust-lang/crates.io-index" 980 | checksum = "b2ccba0cfe4fdf15982d1674c69b1fd80bad427d293849982668dfe454bd61f2" 981 | dependencies = [ 982 | "bitflags", 983 | "cc", 984 | "cfg-if 1.0.0", 985 | "libc", 986 | ] 987 | 988 | [[package]] 989 | name = "nom" 990 | version = "4.2.3" 991 | source = "registry+https://github.com/rust-lang/crates.io-index" 992 | checksum = "2ad2a91a8e869eeb30b9cb3119ae87773a8f4ae617f41b1eb9c154b2905f7bd6" 993 | dependencies = [ 994 | "memchr", 995 | "version_check 0.1.5", 996 | ] 997 | 998 | [[package]] 999 | name = "num-integer" 1000 | version = "0.1.44" 1001 | source = "registry+https://github.com/rust-lang/crates.io-index" 1002 | checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db" 1003 | dependencies = [ 1004 | "autocfg", 1005 | "num-traits", 1006 | ] 1007 | 1008 | [[package]] 1009 | name = "num-traits" 1010 | version = "0.2.14" 1011 | source = "registry+https://github.com/rust-lang/crates.io-index" 1012 | checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290" 1013 | dependencies = [ 1014 | "autocfg", 1015 | ] 1016 | 1017 | [[package]] 1018 | name = "num_cpus" 1019 | version = "1.13.0" 1020 | source = "registry+https://github.com/rust-lang/crates.io-index" 1021 | checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" 1022 | dependencies = [ 1023 | "hermit-abi", 1024 | "libc", 1025 | ] 1026 | 1027 | [[package]] 1028 | name = "object" 1029 | version = "0.26.0" 1030 | source = "registry+https://github.com/rust-lang/crates.io-index" 1031 | checksum = "c55827317fb4c08822499848a14237d2874d6f139828893017237e7ab93eb386" 1032 | dependencies = [ 1033 | "memchr", 1034 | ] 1035 | 1036 | [[package]] 1037 | name = "once_cell" 1038 | version = "1.8.0" 1039 | source = "registry+https://github.com/rust-lang/crates.io-index" 1040 | checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" 1041 | 1042 | [[package]] 1043 | name = "os_str_bytes" 1044 | version = "2.4.0" 1045 | source = "registry+https://github.com/rust-lang/crates.io-index" 1046 | checksum = "afb2e1c3ee07430c2cf76151675e583e0f19985fa6efae47d6848a3e2c824f85" 1047 | 1048 | [[package]] 1049 | name = "peeking_take_while" 1050 | version = "0.1.2" 1051 | source = "registry+https://github.com/rust-lang/crates.io-index" 1052 | checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" 1053 | 1054 | [[package]] 1055 | name = "pin-project-lite" 1056 | version = "0.2.7" 1057 | source = "registry+https://github.com/rust-lang/crates.io-index" 1058 | checksum = "8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443" 1059 | 1060 | [[package]] 1061 | name = "pin-utils" 1062 | version = "0.1.0" 1063 | source = "registry+https://github.com/rust-lang/crates.io-index" 1064 | checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 1065 | 1066 | [[package]] 1067 | name = "pkg-config" 1068 | version = "0.3.19" 1069 | source = "registry+https://github.com/rust-lang/crates.io-index" 1070 | checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c" 1071 | 1072 | [[package]] 1073 | name = "poppler" 1074 | version = "0.4.0" 1075 | source = "git+https://github.com/MarioJim/poppler-rs#467a45dff0fd801983f05c6f34f0edc44fa7d393" 1076 | dependencies = [ 1077 | "cairo-rs", 1078 | "poppler-sys", 1079 | ] 1080 | 1081 | [[package]] 1082 | name = "poppler-sys" 1083 | version = "0.2.0" 1084 | source = "git+https://github.com/MarioJim/poppler-rs#467a45dff0fd801983f05c6f34f0edc44fa7d393" 1085 | dependencies = [ 1086 | "bindgen", 1087 | "cairo-rs", 1088 | "gio-sys", 1089 | "gtypes", 1090 | "lazy_static", 1091 | "pkg-config", 1092 | "semver", 1093 | "strum 0.15.0", 1094 | "strum_macros 0.15.0", 1095 | ] 1096 | 1097 | [[package]] 1098 | name = "proc-macro-crate" 1099 | version = "1.0.0" 1100 | source = "registry+https://github.com/rust-lang/crates.io-index" 1101 | checksum = "41fdbd1df62156fbc5945f4762632564d7d038153091c3fcf1067f6aef7cff92" 1102 | dependencies = [ 1103 | "thiserror", 1104 | "toml", 1105 | ] 1106 | 1107 | [[package]] 1108 | name = "proc-macro-error" 1109 | version = "1.0.4" 1110 | source = "registry+https://github.com/rust-lang/crates.io-index" 1111 | checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" 1112 | dependencies = [ 1113 | "proc-macro-error-attr", 1114 | "proc-macro2 1.0.28", 1115 | "quote 1.0.9", 1116 | "syn 1.0.74", 1117 | "version_check 0.9.3", 1118 | ] 1119 | 1120 | [[package]] 1121 | name = "proc-macro-error-attr" 1122 | version = "1.0.4" 1123 | source = "registry+https://github.com/rust-lang/crates.io-index" 1124 | checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" 1125 | dependencies = [ 1126 | "proc-macro2 1.0.28", 1127 | "quote 1.0.9", 1128 | "version_check 0.9.3", 1129 | ] 1130 | 1131 | [[package]] 1132 | name = "proc-macro-hack" 1133 | version = "0.5.19" 1134 | source = "registry+https://github.com/rust-lang/crates.io-index" 1135 | checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" 1136 | 1137 | [[package]] 1138 | name = "proc-macro2" 1139 | version = "0.4.30" 1140 | source = "registry+https://github.com/rust-lang/crates.io-index" 1141 | checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759" 1142 | dependencies = [ 1143 | "unicode-xid 0.1.0", 1144 | ] 1145 | 1146 | [[package]] 1147 | name = "proc-macro2" 1148 | version = "1.0.28" 1149 | source = "registry+https://github.com/rust-lang/crates.io-index" 1150 | checksum = "5c7ed8b8c7b886ea3ed7dde405212185f423ab44682667c8c6dd14aa1d9f6612" 1151 | dependencies = [ 1152 | "unicode-xid 0.2.2", 1153 | ] 1154 | 1155 | [[package]] 1156 | name = "quick-error" 1157 | version = "1.2.3" 1158 | source = "registry+https://github.com/rust-lang/crates.io-index" 1159 | checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" 1160 | 1161 | [[package]] 1162 | name = "quote" 1163 | version = "0.6.13" 1164 | source = "registry+https://github.com/rust-lang/crates.io-index" 1165 | checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1" 1166 | dependencies = [ 1167 | "proc-macro2 0.4.30", 1168 | ] 1169 | 1170 | [[package]] 1171 | name = "quote" 1172 | version = "1.0.9" 1173 | source = "registry+https://github.com/rust-lang/crates.io-index" 1174 | checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" 1175 | dependencies = [ 1176 | "proc-macro2 1.0.28", 1177 | ] 1178 | 1179 | [[package]] 1180 | name = "rayon" 1181 | version = "1.5.1" 1182 | source = "registry+https://github.com/rust-lang/crates.io-index" 1183 | checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90" 1184 | dependencies = [ 1185 | "autocfg", 1186 | "crossbeam-deque", 1187 | "either", 1188 | "rayon-core", 1189 | ] 1190 | 1191 | [[package]] 1192 | name = "rayon-core" 1193 | version = "1.9.1" 1194 | source = "registry+https://github.com/rust-lang/crates.io-index" 1195 | checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" 1196 | dependencies = [ 1197 | "crossbeam-channel 0.5.1", 1198 | "crossbeam-deque", 1199 | "crossbeam-utils 0.8.5", 1200 | "lazy_static", 1201 | "num_cpus", 1202 | ] 1203 | 1204 | [[package]] 1205 | name = "redox_syscall" 1206 | version = "0.2.10" 1207 | source = "registry+https://github.com/rust-lang/crates.io-index" 1208 | checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff" 1209 | dependencies = [ 1210 | "bitflags", 1211 | ] 1212 | 1213 | [[package]] 1214 | name = "redox_users" 1215 | version = "0.4.0" 1216 | source = "registry+https://github.com/rust-lang/crates.io-index" 1217 | checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64" 1218 | dependencies = [ 1219 | "getrandom", 1220 | "redox_syscall", 1221 | ] 1222 | 1223 | [[package]] 1224 | name = "regex" 1225 | version = "1.5.4" 1226 | source = "registry+https://github.com/rust-lang/crates.io-index" 1227 | checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" 1228 | dependencies = [ 1229 | "aho-corasick", 1230 | "memchr", 1231 | "regex-syntax", 1232 | ] 1233 | 1234 | [[package]] 1235 | name = "regex-automata" 1236 | version = "0.1.10" 1237 | source = "registry+https://github.com/rust-lang/crates.io-index" 1238 | checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" 1239 | 1240 | [[package]] 1241 | name = "regex-syntax" 1242 | version = "0.6.25" 1243 | source = "registry+https://github.com/rust-lang/crates.io-index" 1244 | checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" 1245 | 1246 | [[package]] 1247 | name = "rustc-demangle" 1248 | version = "0.1.20" 1249 | source = "registry+https://github.com/rust-lang/crates.io-index" 1250 | checksum = "dead70b0b5e03e9c814bcb6b01e03e68f7c57a80aa48c72ec92152ab3e818d49" 1251 | 1252 | [[package]] 1253 | name = "rustc_version" 1254 | version = "0.2.3" 1255 | source = "registry+https://github.com/rust-lang/crates.io-index" 1256 | checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" 1257 | dependencies = [ 1258 | "semver", 1259 | ] 1260 | 1261 | [[package]] 1262 | name = "ryu" 1263 | version = "1.0.5" 1264 | source = "registry+https://github.com/rust-lang/crates.io-index" 1265 | checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e" 1266 | 1267 | [[package]] 1268 | name = "same-file" 1269 | version = "1.0.6" 1270 | source = "registry+https://github.com/rust-lang/crates.io-index" 1271 | checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 1272 | dependencies = [ 1273 | "winapi-util", 1274 | ] 1275 | 1276 | [[package]] 1277 | name = "scopeguard" 1278 | version = "1.1.0" 1279 | source = "registry+https://github.com/rust-lang/crates.io-index" 1280 | checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 1281 | 1282 | [[package]] 1283 | name = "semver" 1284 | version = "0.9.0" 1285 | source = "registry+https://github.com/rust-lang/crates.io-index" 1286 | checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" 1287 | dependencies = [ 1288 | "semver-parser", 1289 | ] 1290 | 1291 | [[package]] 1292 | name = "semver-parser" 1293 | version = "0.7.0" 1294 | source = "registry+https://github.com/rust-lang/crates.io-index" 1295 | checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" 1296 | 1297 | [[package]] 1298 | name = "serde" 1299 | version = "1.0.127" 1300 | source = "registry+https://github.com/rust-lang/crates.io-index" 1301 | checksum = "f03b9878abf6d14e6779d3f24f07b2cfa90352cfec4acc5aab8f1ac7f146fae8" 1302 | dependencies = [ 1303 | "serde_derive", 1304 | ] 1305 | 1306 | [[package]] 1307 | name = "serde_derive" 1308 | version = "1.0.127" 1309 | source = "registry+https://github.com/rust-lang/crates.io-index" 1310 | checksum = "a024926d3432516606328597e0f224a51355a493b49fdd67e9209187cbe55ecc" 1311 | dependencies = [ 1312 | "proc-macro2 1.0.28", 1313 | "quote 1.0.9", 1314 | "syn 1.0.74", 1315 | ] 1316 | 1317 | [[package]] 1318 | name = "serde_json" 1319 | version = "1.0.66" 1320 | source = "registry+https://github.com/rust-lang/crates.io-index" 1321 | checksum = "336b10da19a12ad094b59d870ebde26a45402e5b470add4b5fd03c5048a32127" 1322 | dependencies = [ 1323 | "itoa", 1324 | "ryu", 1325 | "serde", 1326 | ] 1327 | 1328 | [[package]] 1329 | name = "sha1" 1330 | version = "0.6.0" 1331 | source = "registry+https://github.com/rust-lang/crates.io-index" 1332 | checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d" 1333 | 1334 | [[package]] 1335 | name = "shlex" 1336 | version = "0.1.1" 1337 | source = "registry+https://github.com/rust-lang/crates.io-index" 1338 | checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2" 1339 | 1340 | [[package]] 1341 | name = "skim" 1342 | version = "0.9.4" 1343 | source = "registry+https://github.com/rust-lang/crates.io-index" 1344 | checksum = "4b9d19f904221fab15163486d2ce116cb86e60296470bb4e956d6687f04ebbb4" 1345 | dependencies = [ 1346 | "atty", 1347 | "beef", 1348 | "bitflags", 1349 | "chrono", 1350 | "clap 2.33.3", 1351 | "crossbeam", 1352 | "defer-drop", 1353 | "derive_builder", 1354 | "env_logger 0.8.4", 1355 | "fuzzy-matcher", 1356 | "lazy_static", 1357 | "log", 1358 | "nix 0.19.1", 1359 | "rayon", 1360 | "regex", 1361 | "shlex", 1362 | "time 0.2.27", 1363 | "timer", 1364 | "tuikit", 1365 | "unicode-width", 1366 | "vte", 1367 | ] 1368 | 1369 | [[package]] 1370 | name = "slab" 1371 | version = "0.4.4" 1372 | source = "registry+https://github.com/rust-lang/crates.io-index" 1373 | checksum = "c307a32c1c5c437f38c7fd45d753050587732ba8628319fbdf12a7e289ccc590" 1374 | 1375 | [[package]] 1376 | name = "smallvec" 1377 | version = "1.6.1" 1378 | source = "registry+https://github.com/rust-lang/crates.io-index" 1379 | checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" 1380 | 1381 | [[package]] 1382 | name = "standback" 1383 | version = "0.2.17" 1384 | source = "registry+https://github.com/rust-lang/crates.io-index" 1385 | checksum = "e113fb6f3de07a243d434a56ec6f186dfd51cb08448239fe7bcae73f87ff28ff" 1386 | dependencies = [ 1387 | "version_check 0.9.3", 1388 | ] 1389 | 1390 | [[package]] 1391 | name = "stdweb" 1392 | version = "0.4.20" 1393 | source = "registry+https://github.com/rust-lang/crates.io-index" 1394 | checksum = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5" 1395 | dependencies = [ 1396 | "discard", 1397 | "rustc_version", 1398 | "stdweb-derive", 1399 | "stdweb-internal-macros", 1400 | "stdweb-internal-runtime", 1401 | "wasm-bindgen", 1402 | ] 1403 | 1404 | [[package]] 1405 | name = "stdweb-derive" 1406 | version = "0.5.3" 1407 | source = "registry+https://github.com/rust-lang/crates.io-index" 1408 | checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef" 1409 | dependencies = [ 1410 | "proc-macro2 1.0.28", 1411 | "quote 1.0.9", 1412 | "serde", 1413 | "serde_derive", 1414 | "syn 1.0.74", 1415 | ] 1416 | 1417 | [[package]] 1418 | name = "stdweb-internal-macros" 1419 | version = "0.2.9" 1420 | source = "registry+https://github.com/rust-lang/crates.io-index" 1421 | checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11" 1422 | dependencies = [ 1423 | "base-x", 1424 | "proc-macro2 1.0.28", 1425 | "quote 1.0.9", 1426 | "serde", 1427 | "serde_derive", 1428 | "serde_json", 1429 | "sha1", 1430 | "syn 1.0.74", 1431 | ] 1432 | 1433 | [[package]] 1434 | name = "stdweb-internal-runtime" 1435 | version = "0.1.5" 1436 | source = "registry+https://github.com/rust-lang/crates.io-index" 1437 | checksum = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0" 1438 | 1439 | [[package]] 1440 | name = "strsim" 1441 | version = "0.8.0" 1442 | source = "registry+https://github.com/rust-lang/crates.io-index" 1443 | checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" 1444 | 1445 | [[package]] 1446 | name = "strsim" 1447 | version = "0.9.3" 1448 | source = "registry+https://github.com/rust-lang/crates.io-index" 1449 | checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c" 1450 | 1451 | [[package]] 1452 | name = "strsim" 1453 | version = "0.10.0" 1454 | source = "registry+https://github.com/rust-lang/crates.io-index" 1455 | checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" 1456 | 1457 | [[package]] 1458 | name = "strum" 1459 | version = "0.15.0" 1460 | source = "registry+https://github.com/rust-lang/crates.io-index" 1461 | checksum = "e5d1c33039533f051704951680f1adfd468fd37ac46816ded0d9ee068e60f05f" 1462 | 1463 | [[package]] 1464 | name = "strum" 1465 | version = "0.21.0" 1466 | source = "registry+https://github.com/rust-lang/crates.io-index" 1467 | checksum = "aaf86bbcfd1fa9670b7a129f64fc0c9fcbbfe4f1bc4210e9e98fe71ffc12cde2" 1468 | 1469 | [[package]] 1470 | name = "strum_macros" 1471 | version = "0.15.0" 1472 | source = "registry+https://github.com/rust-lang/crates.io-index" 1473 | checksum = "47cd23f5c7dee395a00fa20135e2ec0fffcdfa151c56182966d7a3261343432e" 1474 | dependencies = [ 1475 | "heck", 1476 | "proc-macro2 0.4.30", 1477 | "quote 0.6.13", 1478 | "syn 0.15.44", 1479 | ] 1480 | 1481 | [[package]] 1482 | name = "strum_macros" 1483 | version = "0.21.1" 1484 | source = "registry+https://github.com/rust-lang/crates.io-index" 1485 | checksum = "d06aaeeee809dbc59eb4556183dd927df67db1540de5be8d3ec0b6636358a5ec" 1486 | dependencies = [ 1487 | "heck", 1488 | "proc-macro2 1.0.28", 1489 | "quote 1.0.9", 1490 | "syn 1.0.74", 1491 | ] 1492 | 1493 | [[package]] 1494 | name = "syn" 1495 | version = "0.15.44" 1496 | source = "registry+https://github.com/rust-lang/crates.io-index" 1497 | checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5" 1498 | dependencies = [ 1499 | "proc-macro2 0.4.30", 1500 | "quote 0.6.13", 1501 | "unicode-xid 0.1.0", 1502 | ] 1503 | 1504 | [[package]] 1505 | name = "syn" 1506 | version = "1.0.74" 1507 | source = "registry+https://github.com/rust-lang/crates.io-index" 1508 | checksum = "1873d832550d4588c3dbc20f01361ab00bfe741048f71e3fecf145a7cc18b29c" 1509 | dependencies = [ 1510 | "proc-macro2 1.0.28", 1511 | "quote 1.0.9", 1512 | "unicode-xid 0.2.2", 1513 | ] 1514 | 1515 | [[package]] 1516 | name = "system-deps" 1517 | version = "3.2.0" 1518 | source = "registry+https://github.com/rust-lang/crates.io-index" 1519 | checksum = "480c269f870722b3b08d2f13053ce0c2ab722839f472863c3e2d61ff3a1c2fa6" 1520 | dependencies = [ 1521 | "anyhow", 1522 | "cfg-expr", 1523 | "heck", 1524 | "itertools", 1525 | "pkg-config", 1526 | "strum 0.21.0", 1527 | "strum_macros 0.21.1", 1528 | "thiserror", 1529 | "toml", 1530 | "version-compare", 1531 | ] 1532 | 1533 | [[package]] 1534 | name = "term" 1535 | version = "0.6.1" 1536 | source = "registry+https://github.com/rust-lang/crates.io-index" 1537 | checksum = "c0863a3345e70f61d613eab32ee046ccd1bcc5f9105fe402c61fcd0c13eeb8b5" 1538 | dependencies = [ 1539 | "dirs", 1540 | "winapi", 1541 | ] 1542 | 1543 | [[package]] 1544 | name = "termcolor" 1545 | version = "1.1.2" 1546 | source = "registry+https://github.com/rust-lang/crates.io-index" 1547 | checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4" 1548 | dependencies = [ 1549 | "winapi-util", 1550 | ] 1551 | 1552 | [[package]] 1553 | name = "textwrap" 1554 | version = "0.11.0" 1555 | source = "registry+https://github.com/rust-lang/crates.io-index" 1556 | checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" 1557 | dependencies = [ 1558 | "unicode-width", 1559 | ] 1560 | 1561 | [[package]] 1562 | name = "textwrap" 1563 | version = "0.12.1" 1564 | source = "registry+https://github.com/rust-lang/crates.io-index" 1565 | checksum = "203008d98caf094106cfaba70acfed15e18ed3ddb7d94e49baec153a2b462789" 1566 | dependencies = [ 1567 | "unicode-width", 1568 | ] 1569 | 1570 | [[package]] 1571 | name = "thiserror" 1572 | version = "1.0.26" 1573 | source = "registry+https://github.com/rust-lang/crates.io-index" 1574 | checksum = "93119e4feac1cbe6c798c34d3a53ea0026b0b1de6a120deef895137c0529bfe2" 1575 | dependencies = [ 1576 | "thiserror-impl", 1577 | ] 1578 | 1579 | [[package]] 1580 | name = "thiserror-impl" 1581 | version = "1.0.26" 1582 | source = "registry+https://github.com/rust-lang/crates.io-index" 1583 | checksum = "060d69a0afe7796bf42e9e2ff91f5ee691fb15c53d38b4b62a9a53eb23164745" 1584 | dependencies = [ 1585 | "proc-macro2 1.0.28", 1586 | "quote 1.0.9", 1587 | "syn 1.0.74", 1588 | ] 1589 | 1590 | [[package]] 1591 | name = "thread_local" 1592 | version = "1.1.3" 1593 | source = "registry+https://github.com/rust-lang/crates.io-index" 1594 | checksum = "8018d24e04c95ac8790716a5987d0fec4f8b27249ffa0f7d33f1369bdfb88cbd" 1595 | dependencies = [ 1596 | "once_cell", 1597 | ] 1598 | 1599 | [[package]] 1600 | name = "time" 1601 | version = "0.1.43" 1602 | source = "registry+https://github.com/rust-lang/crates.io-index" 1603 | checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438" 1604 | dependencies = [ 1605 | "libc", 1606 | "winapi", 1607 | ] 1608 | 1609 | [[package]] 1610 | name = "time" 1611 | version = "0.2.27" 1612 | source = "registry+https://github.com/rust-lang/crates.io-index" 1613 | checksum = "4752a97f8eebd6854ff91f1c1824cd6160626ac4bd44287f7f4ea2035a02a242" 1614 | dependencies = [ 1615 | "const_fn", 1616 | "libc", 1617 | "standback", 1618 | "stdweb", 1619 | "time-macros", 1620 | "version_check 0.9.3", 1621 | "winapi", 1622 | ] 1623 | 1624 | [[package]] 1625 | name = "time-macros" 1626 | version = "0.1.1" 1627 | source = "registry+https://github.com/rust-lang/crates.io-index" 1628 | checksum = "957e9c6e26f12cb6d0dd7fc776bb67a706312e7299aed74c8dd5b17ebb27e2f1" 1629 | dependencies = [ 1630 | "proc-macro-hack", 1631 | "time-macros-impl", 1632 | ] 1633 | 1634 | [[package]] 1635 | name = "time-macros-impl" 1636 | version = "0.1.2" 1637 | source = "registry+https://github.com/rust-lang/crates.io-index" 1638 | checksum = "fd3c141a1b43194f3f56a1411225df8646c55781d5f26db825b3d98507eb482f" 1639 | dependencies = [ 1640 | "proc-macro-hack", 1641 | "proc-macro2 1.0.28", 1642 | "quote 1.0.9", 1643 | "standback", 1644 | "syn 1.0.74", 1645 | ] 1646 | 1647 | [[package]] 1648 | name = "timer" 1649 | version = "0.2.0" 1650 | source = "registry+https://github.com/rust-lang/crates.io-index" 1651 | checksum = "31d42176308937165701f50638db1c31586f183f1aab416268216577aec7306b" 1652 | dependencies = [ 1653 | "chrono", 1654 | ] 1655 | 1656 | [[package]] 1657 | name = "toml" 1658 | version = "0.5.8" 1659 | source = "registry+https://github.com/rust-lang/crates.io-index" 1660 | checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa" 1661 | dependencies = [ 1662 | "serde", 1663 | ] 1664 | 1665 | [[package]] 1666 | name = "tuikit" 1667 | version = "0.4.5" 1668 | source = "registry+https://github.com/rust-lang/crates.io-index" 1669 | checksum = "8c628cfc5752254a33ebccf73eb79ef6508fab77de5d5ef76246b5e45010a51f" 1670 | dependencies = [ 1671 | "bitflags", 1672 | "lazy_static", 1673 | "log", 1674 | "nix 0.14.1", 1675 | "term", 1676 | "unicode-width", 1677 | ] 1678 | 1679 | [[package]] 1680 | name = "unicode-segmentation" 1681 | version = "1.8.0" 1682 | source = "registry+https://github.com/rust-lang/crates.io-index" 1683 | checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b" 1684 | 1685 | [[package]] 1686 | name = "unicode-width" 1687 | version = "0.1.8" 1688 | source = "registry+https://github.com/rust-lang/crates.io-index" 1689 | checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3" 1690 | 1691 | [[package]] 1692 | name = "unicode-xid" 1693 | version = "0.1.0" 1694 | source = "registry+https://github.com/rust-lang/crates.io-index" 1695 | checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" 1696 | 1697 | [[package]] 1698 | name = "unicode-xid" 1699 | version = "0.2.2" 1700 | source = "registry+https://github.com/rust-lang/crates.io-index" 1701 | checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" 1702 | 1703 | [[package]] 1704 | name = "utf8parse" 1705 | version = "0.2.0" 1706 | source = "registry+https://github.com/rust-lang/crates.io-index" 1707 | checksum = "936e4b492acfd135421d8dca4b1aa80a7bfc26e702ef3af710e0752684df5372" 1708 | 1709 | [[package]] 1710 | name = "vec_map" 1711 | version = "0.8.2" 1712 | source = "registry+https://github.com/rust-lang/crates.io-index" 1713 | checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" 1714 | 1715 | [[package]] 1716 | name = "version-compare" 1717 | version = "0.0.11" 1718 | source = "registry+https://github.com/rust-lang/crates.io-index" 1719 | checksum = "1c18c859eead79d8b95d09e4678566e8d70105c4e7b251f707a03df32442661b" 1720 | 1721 | [[package]] 1722 | name = "version_check" 1723 | version = "0.1.5" 1724 | source = "registry+https://github.com/rust-lang/crates.io-index" 1725 | checksum = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd" 1726 | 1727 | [[package]] 1728 | name = "version_check" 1729 | version = "0.9.3" 1730 | source = "registry+https://github.com/rust-lang/crates.io-index" 1731 | checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe" 1732 | 1733 | [[package]] 1734 | name = "void" 1735 | version = "1.0.2" 1736 | source = "registry+https://github.com/rust-lang/crates.io-index" 1737 | checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" 1738 | 1739 | [[package]] 1740 | name = "vte" 1741 | version = "0.9.0" 1742 | source = "registry+https://github.com/rust-lang/crates.io-index" 1743 | checksum = "6e7745610024d50ab1ebfa41f8f8ee361c567f7ab51032f93cc1cc4cbf0c547a" 1744 | dependencies = [ 1745 | "arrayvec", 1746 | "utf8parse", 1747 | "vte_generate_state_changes", 1748 | ] 1749 | 1750 | [[package]] 1751 | name = "vte_generate_state_changes" 1752 | version = "0.1.1" 1753 | source = "registry+https://github.com/rust-lang/crates.io-index" 1754 | checksum = "d257817081c7dffcdbab24b9e62d2def62e2ff7d00b1c20062551e6cccc145ff" 1755 | dependencies = [ 1756 | "proc-macro2 1.0.28", 1757 | "quote 1.0.9", 1758 | ] 1759 | 1760 | [[package]] 1761 | name = "walkdir" 1762 | version = "2.3.2" 1763 | source = "registry+https://github.com/rust-lang/crates.io-index" 1764 | checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" 1765 | dependencies = [ 1766 | "same-file", 1767 | "winapi", 1768 | "winapi-util", 1769 | ] 1770 | 1771 | [[package]] 1772 | name = "wasi" 1773 | version = "0.10.2+wasi-snapshot-preview1" 1774 | source = "registry+https://github.com/rust-lang/crates.io-index" 1775 | checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" 1776 | 1777 | [[package]] 1778 | name = "wasm-bindgen" 1779 | version = "0.2.75" 1780 | source = "registry+https://github.com/rust-lang/crates.io-index" 1781 | checksum = "b608ecc8f4198fe8680e2ed18eccab5f0cd4caaf3d83516fa5fb2e927fda2586" 1782 | dependencies = [ 1783 | "cfg-if 1.0.0", 1784 | "wasm-bindgen-macro", 1785 | ] 1786 | 1787 | [[package]] 1788 | name = "wasm-bindgen-backend" 1789 | version = "0.2.75" 1790 | source = "registry+https://github.com/rust-lang/crates.io-index" 1791 | checksum = "580aa3a91a63d23aac5b6b267e2d13cb4f363e31dce6c352fca4752ae12e479f" 1792 | dependencies = [ 1793 | "bumpalo", 1794 | "lazy_static", 1795 | "log", 1796 | "proc-macro2 1.0.28", 1797 | "quote 1.0.9", 1798 | "syn 1.0.74", 1799 | "wasm-bindgen-shared", 1800 | ] 1801 | 1802 | [[package]] 1803 | name = "wasm-bindgen-macro" 1804 | version = "0.2.75" 1805 | source = "registry+https://github.com/rust-lang/crates.io-index" 1806 | checksum = "171ebf0ed9e1458810dfcb31f2e766ad6b3a89dbda42d8901f2b268277e5f09c" 1807 | dependencies = [ 1808 | "quote 1.0.9", 1809 | "wasm-bindgen-macro-support", 1810 | ] 1811 | 1812 | [[package]] 1813 | name = "wasm-bindgen-macro-support" 1814 | version = "0.2.75" 1815 | source = "registry+https://github.com/rust-lang/crates.io-index" 1816 | checksum = "6c2657dd393f03aa2a659c25c6ae18a13a4048cebd220e147933ea837efc589f" 1817 | dependencies = [ 1818 | "proc-macro2 1.0.28", 1819 | "quote 1.0.9", 1820 | "syn 1.0.74", 1821 | "wasm-bindgen-backend", 1822 | "wasm-bindgen-shared", 1823 | ] 1824 | 1825 | [[package]] 1826 | name = "wasm-bindgen-shared" 1827 | version = "0.2.75" 1828 | source = "registry+https://github.com/rust-lang/crates.io-index" 1829 | checksum = "2e0c4a743a309662d45f4ede961d7afa4ba4131a59a639f29b0069c3798bbcc2" 1830 | 1831 | [[package]] 1832 | name = "which" 1833 | version = "2.0.1" 1834 | source = "registry+https://github.com/rust-lang/crates.io-index" 1835 | checksum = "b57acb10231b9493c8472b20cb57317d0679a49e0bdbee44b3b803a6473af164" 1836 | dependencies = [ 1837 | "failure", 1838 | "libc", 1839 | ] 1840 | 1841 | [[package]] 1842 | name = "winapi" 1843 | version = "0.3.9" 1844 | source = "registry+https://github.com/rust-lang/crates.io-index" 1845 | checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 1846 | dependencies = [ 1847 | "winapi-i686-pc-windows-gnu", 1848 | "winapi-x86_64-pc-windows-gnu", 1849 | ] 1850 | 1851 | [[package]] 1852 | name = "winapi-i686-pc-windows-gnu" 1853 | version = "0.4.0" 1854 | source = "registry+https://github.com/rust-lang/crates.io-index" 1855 | checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 1856 | 1857 | [[package]] 1858 | name = "winapi-util" 1859 | version = "0.1.5" 1860 | source = "registry+https://github.com/rust-lang/crates.io-index" 1861 | checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" 1862 | dependencies = [ 1863 | "winapi", 1864 | ] 1865 | 1866 | [[package]] 1867 | name = "winapi-x86_64-pc-windows-gnu" 1868 | version = "0.4.0" 1869 | source = "registry+https://github.com/rust-lang/crates.io-index" 1870 | checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 1871 | --------------------------------------------------------------------------------