diff --git a/backend/Cargo.lock b/backend/Cargo.lock index 3f2a584..b5e14ed 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -422,6 +422,7 @@ dependencies = [ "toml", "url", "url-escape", + "walkdir", "xdg-mime", ] @@ -648,6 +649,15 @@ version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde" +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + [[package]] name = "scopeguard" version = "1.1.0" @@ -962,6 +972,17 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +[[package]] +name = "walkdir" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" +dependencies = [ + "same-file", + "winapi", + "winapi-util", +] + [[package]] name = "want" version = "0.3.0" diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 5cc1fe3..9b54ff5 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -24,4 +24,5 @@ tokio = { version = "1", features = ["full"] } toml = "0.7.2" url = "2.3.1" url-escape = "0.1.1" +walkdir = "2.3.2" xdg-mime = "0.3.3"