From 8b7a0136feed6243a5bc5b06396e8b5311b913db Mon Sep 17 00:00:00 2001 From: phiresky Date: Tue, 4 Jun 2019 20:17:59 +0200 Subject: [PATCH] use tree magic fork --- Cargo.lock | 10 +++++----- Cargo.toml | 4 +++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 63cb6f5..777f507 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -247,7 +247,7 @@ name = "rga" version = "0.1.0" dependencies = [ "regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "tree_magic 0.2.1 (git+https://github.com/phiresky/tree_magic)", + "tree_magic_fork 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -290,9 +290,9 @@ dependencies = [ ] [[package]] -name = "tree_magic" -version = "0.2.1" -source = "git+https://github.com/phiresky/tree_magic#4b1c62f96ac0a6a81896620206e3393c084a7228" +name = "tree_magic_fork" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -368,7 +368,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" "checksum smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)" = "c4488ae950c49d403731982257768f48fada354a5203fe81f9bb6f43ca9002be" "checksum thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b" -"checksum tree_magic 0.2.1 (git+https://github.com/phiresky/tree_magic)" = "" +"checksum tree_magic_fork 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "aab921ca9b828f83389f3f3c5e77404612547081e5222eb3a23d06184f6813af" "checksum ucd-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "535c204ee4d8434478593480b8f86ab45ec9aae0e83c568ca81abf0fd0e88f86" "checksum utf8-ranges 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "796f7e48bef87609f7ade7e06495a87d5cd06c7866e6a5cbfceffc558a243737" "checksum winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "f10e386af2b13e47c89e7236a7a14a086791a2b88ebad6df9bf42040195cf770" diff --git a/Cargo.toml b/Cargo.toml index fd09971..97669be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,8 @@ cargo-features = ["default-run"] [package] name = "rga" +description = "ripgrep, except for pdf, ebooks, Office documents, etc" +license = "AGPL-3.0-or-later" version = "0.1.0" authors = ["phiresky "] edition = "2018" @@ -14,5 +16,5 @@ exclude = [ # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -tree_magic = { git = "https://github.com/phiresky/tree_magic" } +tree_magic = { package = "tree_magic_fork", version="0.2" } regex = "1.1.6"