├── .gitignore ├── tests ├── fake-editor.sh └── integration.rs ├── README.md ├── Cargo.toml ├── src ├── main.rs └── lib.rs └── Cargo.lock /.gitignore: -------------------------------------------------------------------------------- 1 | /target -------------------------------------------------------------------------------- /tests/fake-editor.sh: -------------------------------------------------------------------------------- 1 | echo "testing" >> $1; -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Digital Garden 2 | 3 | A CLI tool for the creation and maintenance of Digital Gardens. 4 | 5 | ## Commands 6 | 7 | ## Setting the garden path 8 | 9 | ```shell 10 | GARDEN_PATH=~/github/my-digital-garden garden write 11 | garden -p ~/github/my-digital-garden write 12 | garden --garden_path ~/github/my-digital-garden write 13 | ``` 14 | 15 | ### write 16 | 17 | Open a new file to write in our digital garden. Since we don't necessarily know what we want to title what we're writing, we'll leave the title as optional and ask the user for it later if they don't provide it up-front. 18 | 19 | ```shell 20 | garden write 21 | garden write -t Some Title 22 | ``` 23 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "garden" 3 | version = "0.1.0" 4 | authors = ["Christopher Biscardi "] 5 | edition = "2024" 6 | 7 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 8 | 9 | [dependencies] 10 | clap = { version = "4.5.51", features = ["env", "derive"] } 11 | miette = { version = "7.6.0", features = ["fancy"] } 12 | directories = "6.0.0" 13 | edit = "0.1.5" 14 | rprompt = "2.2" 15 | slug = "0.1.6" 16 | owo-colors = { version = "4.2.3", features = ["supports-colors"] } 17 | thiserror = "2.0.17" 18 | tempfile = "3.23.0" 19 | 20 | [dev-dependencies] 21 | assert_cmd = "2.1.1" 22 | assert_fs = "1.1.3" 23 | predicates = "3.1.3" 24 | rexpect = "0.6.2" 25 | -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- 1 | use clap::{Parser, Subcommand}; 2 | use directories::UserDirs; 3 | use garden::write; 4 | use miette::{miette, Context, Result}; 5 | use std::path::PathBuf; 6 | /// A CLI for the growing and curation of a digital garden 7 | /// 8 | /// Visit https://www.rustadventure.dev for more! 9 | #[derive(Parser, Debug)] 10 | #[clap(version)] 11 | struct Args { 12 | #[clap(short = 'p', long, env)] 13 | garden_path: Option, 14 | 15 | #[command(subcommand)] 16 | cmd: Commands, 17 | } 18 | #[derive(Subcommand, Debug)] 19 | enum Commands { 20 | /// write something in your garden 21 | /// 22 | /// This command will open your $EDITOR, wait for you 23 | /// to write something, and then save the file to your 24 | /// garden 25 | Write { 26 | /// Optionally set a title for what you are going to write about 27 | #[clap(short, long)] 28 | title: Option, 29 | }, 30 | } 31 | 32 | /// Get the user's garden directory, which by default 33 | /// is placed in their home directory 34 | fn get_default_garden_dir() -> Option { 35 | UserDirs::new() 36 | .map(|dirs| dirs.home_dir().join("garden")) 37 | } 38 | fn main() -> Result<()> { 39 | let args = Args::parse(); 40 | 41 | let garden_path = args 42 | .garden_path 43 | .or_else(get_default_garden_dir) 44 | .ok_or(miette!("Could not find home directory"))?; 45 | 46 | match args.cmd { 47 | Commands::Write { title } => { 48 | write(garden_path, title) 49 | .wrap_err("garden::write") 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /tests/integration.rs: -------------------------------------------------------------------------------- 1 | use assert_fs::prelude::*; 2 | use predicates::prelude::*; 3 | use rexpect::{self, session::PtySession}; 4 | use std::process::Command; 5 | 6 | trait GardenExpectations { 7 | fn exp_title( 8 | &mut self, 9 | title: &str, 10 | ) -> Result<(), rexpect::error::Error>; 11 | } 12 | impl GardenExpectations for PtySession { 13 | fn exp_title( 14 | &mut self, 15 | title: &str, 16 | ) -> Result<(), rexpect::error::Error> { 17 | self.exp_string("current title: ")?; 18 | self.exp_string(title)?; 19 | self.exp_regex("\\s*")?; 20 | self.exp_string( 21 | "Do you want a different title? (y/N): ", 22 | )?; 23 | Ok(()) 24 | } 25 | } 26 | 27 | fn setup_command() -> (Command, assert_fs::TempDir) { 28 | let temp_dir = assert_fs::TempDir::new().unwrap(); 29 | 30 | let bin_path = assert_cmd::cargo::cargo_bin!("garden"); 31 | let fake_editor_path = std::env::current_dir() 32 | .expect("expect to be in a dir") 33 | .join("tests") 34 | .join("fake-editor.sh"); 35 | if !fake_editor_path.exists() { 36 | panic!( 37 | "fake editor shell script could not be found" 38 | ) 39 | } 40 | 41 | let mut cmd = std::process::Command::new(bin_path); 42 | cmd.env( 43 | "EDITOR", 44 | fake_editor_path.into_os_string(), 45 | ) 46 | .env("GARDEN_PATH", temp_dir.path()) 47 | .env("NO_COLOR", "true"); 48 | (cmd, temp_dir) 49 | } 50 | 51 | /// make sure help runs. This indicates the binary works 52 | #[test] 53 | fn test_help() { 54 | assert_cmd::cargo::cargo_bin_cmd!("garden") 55 | .arg("--help") 56 | .assert() 57 | .success() 58 | .stderr(""); 59 | } 60 | 61 | /// make sure we have a write command by running `garden write --help` 62 | #[test] 63 | fn test_write_help() { 64 | assert_cmd::cargo::cargo_bin_cmd!("garden") 65 | .arg("write") 66 | .arg("--help") 67 | .assert() 68 | .success() 69 | .stderr(""); 70 | } 71 | 72 | #[test] 73 | fn test_write_with_title() 74 | -> Result<(), rexpect::error::Error> { 75 | let (mut cmd, temp_dir) = setup_command(); 76 | 77 | cmd.arg("write").arg("-t").arg("atitle"); 78 | 79 | let mut process = 80 | rexpect::session::spawn_command(cmd, None).unwrap(); 81 | 82 | process.exp_title("atitle")?; 83 | process.send_line("N")?; 84 | process.exp_eof()?; 85 | 86 | temp_dir 87 | .child("atitle.md") 88 | .assert(predicate::path::exists()); 89 | Ok(()) 90 | } 91 | 92 | #[test] 93 | fn test_write_with_written_title() 94 | -> Result<(), rexpect::error::Error> { 95 | let (mut cmd, temp_dir) = setup_command(); 96 | cmd.arg("write"); 97 | 98 | let mut process = 99 | rexpect::session::spawn_command(cmd, None).unwrap(); 100 | 101 | process.exp_title("testing")?; 102 | process.send_line("N")?; 103 | process.exp_eof()?; 104 | 105 | temp_dir 106 | .child("testing.md") 107 | .assert(predicate::path::exists()); 108 | Ok(()) 109 | } 110 | -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- 1 | use edit::{edit_file, Builder}; 2 | use miette::Diagnostic; 3 | use owo_colors::{OwoColorize, Stream::Stdout, Style}; 4 | use std::{fs, io::Write}; 5 | use std::{io, path::PathBuf}; 6 | use thiserror::Error; 7 | 8 | const TEMPLATE: &[u8; 2] = b"# "; 9 | 10 | #[derive(Error, Diagnostic, Debug)] 11 | pub enum GardenVarietyError { 12 | #[error(transparent)] 13 | #[diagnostic(code(garden::io_error))] 14 | IoError(#[from] std::io::Error), 15 | 16 | #[error("failed to create tempfile: {0}")] 17 | #[diagnostic(code(garden::tempfile_create_error))] 18 | TempfileCreationError(std::io::Error), 19 | 20 | #[error("failed to keep tempfile: {0}")] 21 | #[diagnostic(code(garden::tempfile_keep_error))] 22 | TempfileKeepError(#[from] tempfile::PersistError), 23 | 24 | #[error("Unable to read tempfile after passing edit control to user:\ntempfile: {filepath}\n{io_error}")] 25 | #[diagnostic( 26 | code(garden::tempfile_read_error), 27 | help("Make sure your editor isn't moving the file away from the temporary location") 28 | )] 29 | TempfileReadError { 30 | filepath: PathBuf, 31 | io_error: std::io::Error, 32 | }, 33 | } 34 | 35 | pub fn write( 36 | garden_path: PathBuf, 37 | title: Option, 38 | ) -> Result<(), GardenVarietyError> { 39 | let (mut file, filepath) = Builder::new() 40 | .suffix(".md") 41 | .rand_bytes(5) 42 | .tempfile_in(&garden_path) 43 | .map_err(|e| { 44 | GardenVarietyError::TempfileCreationError(e) 45 | })? 46 | .keep()?; 47 | file.write_all(TEMPLATE)?; 48 | // let the user write whatever they want in their favorite editor 49 | // before returning to the cli and finishing up 50 | edit_file(&filepath)?; 51 | // Read the user's changes back from the file into a string 52 | // some editors like vim or emacs have pathological cases 53 | // when dealing with files, and will create brand new files 54 | // we don't know about before saving back to the original file 55 | // path, so we read_to_string here instead of using the original 56 | // file from the builder. 57 | let contents = 58 | fs::read_to_string(&filepath).map_err(|e| { 59 | GardenVarietyError::TempfileReadError { 60 | filepath: filepath.clone(), 61 | io_error: e, 62 | } 63 | })?; 64 | 65 | // use `title` if the user passed it in, 66 | // otherwise try to find a heading in the markdown 67 | let document_title = title.or_else(|| { 68 | contents 69 | .lines() 70 | .find(|v| v.starts_with("# ")) 71 | // markdown headings are required to have `# ` with 72 | // at least one space 73 | .map(|maybe_line| { 74 | maybe_line 75 | .trim_start_matches("# ") 76 | .to_string() 77 | }) 78 | }); 79 | 80 | // get the filename to use for the file 81 | let filename = match document_title { 82 | Some(raw_title) => confirm_filename(&raw_title), 83 | None => ask_for_filename(), 84 | }?; 85 | 86 | let mut i: usize = 0; 87 | loop { 88 | let dest_filename = format!( 89 | "{}{}", 90 | filename, 91 | if i == 0 { 92 | "".to_string() 93 | } else { 94 | i.to_string() 95 | } 96 | ); 97 | let mut dest = garden_path.join(dest_filename); 98 | dest.set_extension("md"); 99 | if dest.exists() { 100 | i += 1; 101 | } else { 102 | fs::rename(filepath, &dest)?; 103 | break; 104 | } 105 | } 106 | 107 | Ok(()) 108 | } 109 | 110 | fn ask_for_filename() -> io::Result { 111 | rprompt::prompt_reply(format!( 112 | "{}", 113 | "\ 114 | Enter filename 115 | > " 116 | .if_supports_color(Stdout, |text| text 117 | .style(Style::new().blue().bold())), 118 | )) 119 | .map(slug::slugify) 120 | } 121 | 122 | fn confirm_filename(raw_title: &str) -> io::Result { 123 | loop { 124 | // prompt defaults to uppercase character in question 125 | // this is a convention, not a requirement enforced by 126 | // the code 127 | let result = rprompt::prompt_reply(format!( 128 | "\ 129 | {} {} 130 | Do you want a different title? (y/N): ", 131 | "current title:".if_supports_color( 132 | Stdout, 133 | |text| text 134 | .style(Style::new().green().bold()) 135 | ), 136 | raw_title, 137 | ))?; 138 | 139 | match result.as_str() { 140 | "y" | "Y" => break ask_for_filename(), 141 | "n" | "N" | "" => { 142 | // the capital N in the prompt means "default", 143 | // so we handle "" as input here 144 | break Ok(slug::slugify(raw_title)); 145 | } 146 | _ => { 147 | // ask again because something went wrong 148 | } 149 | }; 150 | } 151 | } 152 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- 1 | # This file is automatically @generated by Cargo. 2 | # It is not intended for manual editing. 3 | version = 4 4 | 5 | [[package]] 6 | name = "addr2line" 7 | version = "0.25.1" 8 | source = "registry+https://github.com/rust-lang/crates.io-index" 9 | checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b" 10 | dependencies = [ 11 | "gimli", 12 | ] 13 | 14 | [[package]] 15 | name = "adler2" 16 | version = "2.0.1" 17 | source = "registry+https://github.com/rust-lang/crates.io-index" 18 | checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" 19 | 20 | [[package]] 21 | name = "aho-corasick" 22 | version = "1.1.4" 23 | source = "registry+https://github.com/rust-lang/crates.io-index" 24 | checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" 25 | dependencies = [ 26 | "memchr", 27 | ] 28 | 29 | [[package]] 30 | name = "anstream" 31 | version = "0.6.21" 32 | source = "registry+https://github.com/rust-lang/crates.io-index" 33 | checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" 34 | dependencies = [ 35 | "anstyle", 36 | "anstyle-parse", 37 | "anstyle-query", 38 | "anstyle-wincon", 39 | "colorchoice", 40 | "is_terminal_polyfill", 41 | "utf8parse", 42 | ] 43 | 44 | [[package]] 45 | name = "anstyle" 46 | version = "1.0.13" 47 | source = "registry+https://github.com/rust-lang/crates.io-index" 48 | checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" 49 | 50 | [[package]] 51 | name = "anstyle-parse" 52 | version = "0.2.7" 53 | source = "registry+https://github.com/rust-lang/crates.io-index" 54 | checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2" 55 | dependencies = [ 56 | "utf8parse", 57 | ] 58 | 59 | [[package]] 60 | name = "anstyle-query" 61 | version = "1.1.5" 62 | source = "registry+https://github.com/rust-lang/crates.io-index" 63 | checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" 64 | dependencies = [ 65 | "windows-sys 0.61.2", 66 | ] 67 | 68 | [[package]] 69 | name = "anstyle-wincon" 70 | version = "3.0.11" 71 | source = "registry+https://github.com/rust-lang/crates.io-index" 72 | checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" 73 | dependencies = [ 74 | "anstyle", 75 | "once_cell_polyfill", 76 | "windows-sys 0.61.2", 77 | ] 78 | 79 | [[package]] 80 | name = "assert_cmd" 81 | version = "2.1.1" 82 | source = "registry+https://github.com/rust-lang/crates.io-index" 83 | checksum = "bcbb6924530aa9e0432442af08bbcafdad182db80d2e560da42a6d442535bf85" 84 | dependencies = [ 85 | "anstyle", 86 | "bstr", 87 | "libc", 88 | "predicates", 89 | "predicates-core", 90 | "predicates-tree", 91 | "wait-timeout", 92 | ] 93 | 94 | [[package]] 95 | name = "assert_fs" 96 | version = "1.1.3" 97 | source = "registry+https://github.com/rust-lang/crates.io-index" 98 | checksum = "a652f6cb1f516886fcfee5e7a5c078b9ade62cfcb889524efe5a64d682dd27a9" 99 | dependencies = [ 100 | "anstyle", 101 | "doc-comment", 102 | "globwalk", 103 | "predicates", 104 | "predicates-core", 105 | "predicates-tree", 106 | "tempfile", 107 | ] 108 | 109 | [[package]] 110 | name = "autocfg" 111 | version = "1.5.0" 112 | source = "registry+https://github.com/rust-lang/crates.io-index" 113 | checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" 114 | 115 | [[package]] 116 | name = "backtrace" 117 | version = "0.3.76" 118 | source = "registry+https://github.com/rust-lang/crates.io-index" 119 | checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" 120 | dependencies = [ 121 | "addr2line", 122 | "cfg-if", 123 | "libc", 124 | "miniz_oxide", 125 | "object", 126 | "rustc-demangle", 127 | "windows-link", 128 | ] 129 | 130 | [[package]] 131 | name = "backtrace-ext" 132 | version = "0.2.1" 133 | source = "registry+https://github.com/rust-lang/crates.io-index" 134 | checksum = "537beee3be4a18fb023b570f80e3ae28003db9167a751266b259926e25539d50" 135 | dependencies = [ 136 | "backtrace", 137 | ] 138 | 139 | [[package]] 140 | name = "bitflags" 141 | version = "2.10.0" 142 | source = "registry+https://github.com/rust-lang/crates.io-index" 143 | checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" 144 | 145 | [[package]] 146 | name = "bstr" 147 | version = "1.12.1" 148 | source = "registry+https://github.com/rust-lang/crates.io-index" 149 | checksum = "63044e1ae8e69f3b5a92c736ca6269b8d12fa7efe39bf34ddb06d102cf0e2cab" 150 | dependencies = [ 151 | "memchr", 152 | "regex-automata", 153 | "serde", 154 | ] 155 | 156 | [[package]] 157 | name = "bumpalo" 158 | version = "3.19.0" 159 | source = "registry+https://github.com/rust-lang/crates.io-index" 160 | checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" 161 | 162 | [[package]] 163 | name = "cfg-if" 164 | version = "1.0.4" 165 | source = "registry+https://github.com/rust-lang/crates.io-index" 166 | checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" 167 | 168 | [[package]] 169 | name = "cfg_aliases" 170 | version = "0.2.1" 171 | source = "registry+https://github.com/rust-lang/crates.io-index" 172 | checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" 173 | 174 | [[package]] 175 | name = "clap" 176 | version = "4.5.51" 177 | source = "registry+https://github.com/rust-lang/crates.io-index" 178 | checksum = "4c26d721170e0295f191a69bd9a1f93efcdb0aff38684b61ab5750468972e5f5" 179 | dependencies = [ 180 | "clap_builder", 181 | "clap_derive", 182 | ] 183 | 184 | [[package]] 185 | name = "clap_builder" 186 | version = "4.5.51" 187 | source = "registry+https://github.com/rust-lang/crates.io-index" 188 | checksum = "75835f0c7bf681bfd05abe44e965760fea999a5286c6eb2d59883634fd02011a" 189 | dependencies = [ 190 | "anstream", 191 | "anstyle", 192 | "clap_lex", 193 | "strsim", 194 | ] 195 | 196 | [[package]] 197 | name = "clap_derive" 198 | version = "4.5.49" 199 | source = "registry+https://github.com/rust-lang/crates.io-index" 200 | checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671" 201 | dependencies = [ 202 | "heck", 203 | "proc-macro2", 204 | "quote", 205 | "syn", 206 | ] 207 | 208 | [[package]] 209 | name = "clap_lex" 210 | version = "0.7.6" 211 | source = "registry+https://github.com/rust-lang/crates.io-index" 212 | checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" 213 | 214 | [[package]] 215 | name = "colorchoice" 216 | version = "1.0.4" 217 | source = "registry+https://github.com/rust-lang/crates.io-index" 218 | checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" 219 | 220 | [[package]] 221 | name = "comma" 222 | version = "1.0.0" 223 | source = "registry+https://github.com/rust-lang/crates.io-index" 224 | checksum = "55b672471b4e9f9e95499ea597ff64941a309b2cdbffcc46f2cc5e2d971fd335" 225 | 226 | [[package]] 227 | name = "crossbeam-deque" 228 | version = "0.8.6" 229 | source = "registry+https://github.com/rust-lang/crates.io-index" 230 | checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" 231 | dependencies = [ 232 | "crossbeam-epoch", 233 | "crossbeam-utils", 234 | ] 235 | 236 | [[package]] 237 | name = "crossbeam-epoch" 238 | version = "0.9.18" 239 | source = "registry+https://github.com/rust-lang/crates.io-index" 240 | checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" 241 | dependencies = [ 242 | "crossbeam-utils", 243 | ] 244 | 245 | [[package]] 246 | name = "crossbeam-utils" 247 | version = "0.8.21" 248 | source = "registry+https://github.com/rust-lang/crates.io-index" 249 | checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" 250 | 251 | [[package]] 252 | name = "deunicode" 253 | version = "1.6.2" 254 | source = "registry+https://github.com/rust-lang/crates.io-index" 255 | checksum = "abd57806937c9cc163efc8ea3910e00a62e2aeb0b8119f1793a978088f8f6b04" 256 | 257 | [[package]] 258 | name = "difflib" 259 | version = "0.4.0" 260 | source = "registry+https://github.com/rust-lang/crates.io-index" 261 | checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" 262 | 263 | [[package]] 264 | name = "directories" 265 | version = "6.0.0" 266 | source = "registry+https://github.com/rust-lang/crates.io-index" 267 | checksum = "16f5094c54661b38d03bd7e50df373292118db60b585c08a411c6d840017fe7d" 268 | dependencies = [ 269 | "dirs-sys", 270 | ] 271 | 272 | [[package]] 273 | name = "dirs-sys" 274 | version = "0.5.0" 275 | source = "registry+https://github.com/rust-lang/crates.io-index" 276 | checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" 277 | dependencies = [ 278 | "libc", 279 | "option-ext", 280 | "redox_users", 281 | "windows-sys 0.61.2", 282 | ] 283 | 284 | [[package]] 285 | name = "doc-comment" 286 | version = "0.3.4" 287 | source = "registry+https://github.com/rust-lang/crates.io-index" 288 | checksum = "780955b8b195a21ab8e4ac6b60dd1dbdcec1dc6c51c0617964b08c81785e12c9" 289 | 290 | [[package]] 291 | name = "edit" 292 | version = "0.1.5" 293 | source = "registry+https://github.com/rust-lang/crates.io-index" 294 | checksum = "f364860e764787163c8c8f58231003839be31276e821e2ad2092ddf496b1aa09" 295 | dependencies = [ 296 | "tempfile", 297 | "which", 298 | ] 299 | 300 | [[package]] 301 | name = "either" 302 | version = "1.15.0" 303 | source = "registry+https://github.com/rust-lang/crates.io-index" 304 | checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" 305 | 306 | [[package]] 307 | name = "errno" 308 | version = "0.3.14" 309 | source = "registry+https://github.com/rust-lang/crates.io-index" 310 | checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" 311 | dependencies = [ 312 | "libc", 313 | "windows-sys 0.61.2", 314 | ] 315 | 316 | [[package]] 317 | name = "fastrand" 318 | version = "2.3.0" 319 | source = "registry+https://github.com/rust-lang/crates.io-index" 320 | checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" 321 | 322 | [[package]] 323 | name = "float-cmp" 324 | version = "0.10.0" 325 | source = "registry+https://github.com/rust-lang/crates.io-index" 326 | checksum = "b09cf3155332e944990140d967ff5eceb70df778b34f77d8075db46e4704e6d8" 327 | dependencies = [ 328 | "num-traits", 329 | ] 330 | 331 | [[package]] 332 | name = "garden" 333 | version = "0.1.0" 334 | dependencies = [ 335 | "assert_cmd", 336 | "assert_fs", 337 | "clap", 338 | "directories", 339 | "edit", 340 | "miette", 341 | "owo-colors", 342 | "predicates", 343 | "rexpect", 344 | "rprompt", 345 | "slug", 346 | "tempfile", 347 | "thiserror", 348 | ] 349 | 350 | [[package]] 351 | name = "getrandom" 352 | version = "0.2.16" 353 | source = "registry+https://github.com/rust-lang/crates.io-index" 354 | checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" 355 | dependencies = [ 356 | "cfg-if", 357 | "libc", 358 | "wasi", 359 | ] 360 | 361 | [[package]] 362 | name = "getrandom" 363 | version = "0.3.4" 364 | source = "registry+https://github.com/rust-lang/crates.io-index" 365 | checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" 366 | dependencies = [ 367 | "cfg-if", 368 | "libc", 369 | "r-efi", 370 | "wasip2", 371 | ] 372 | 373 | [[package]] 374 | name = "gimli" 375 | version = "0.32.3" 376 | source = "registry+https://github.com/rust-lang/crates.io-index" 377 | checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" 378 | 379 | [[package]] 380 | name = "globset" 381 | version = "0.4.18" 382 | source = "registry+https://github.com/rust-lang/crates.io-index" 383 | checksum = "52dfc19153a48bde0cbd630453615c8151bce3a5adfac7a0aebfbf0a1e1f57e3" 384 | dependencies = [ 385 | "aho-corasick", 386 | "bstr", 387 | "log", 388 | "regex-automata", 389 | "regex-syntax", 390 | ] 391 | 392 | [[package]] 393 | name = "globwalk" 394 | version = "0.9.1" 395 | source = "registry+https://github.com/rust-lang/crates.io-index" 396 | checksum = "0bf760ebf69878d9fd8f110c89703d90ce35095324d1f1edcb595c63945ee757" 397 | dependencies = [ 398 | "bitflags", 399 | "ignore", 400 | "walkdir", 401 | ] 402 | 403 | [[package]] 404 | name = "heck" 405 | version = "0.5.0" 406 | source = "registry+https://github.com/rust-lang/crates.io-index" 407 | checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 408 | 409 | [[package]] 410 | name = "hermit-abi" 411 | version = "0.5.2" 412 | source = "registry+https://github.com/rust-lang/crates.io-index" 413 | checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" 414 | 415 | [[package]] 416 | name = "home" 417 | version = "0.5.12" 418 | source = "registry+https://github.com/rust-lang/crates.io-index" 419 | checksum = "cc627f471c528ff0c4a49e1d5e60450c8f6461dd6d10ba9dcd3a61d3dff7728d" 420 | dependencies = [ 421 | "windows-sys 0.61.2", 422 | ] 423 | 424 | [[package]] 425 | name = "ignore" 426 | version = "0.4.25" 427 | source = "registry+https://github.com/rust-lang/crates.io-index" 428 | checksum = "d3d782a365a015e0f5c04902246139249abf769125006fbe7649e2ee88169b4a" 429 | dependencies = [ 430 | "crossbeam-deque", 431 | "globset", 432 | "log", 433 | "memchr", 434 | "regex-automata", 435 | "same-file", 436 | "walkdir", 437 | "winapi-util", 438 | ] 439 | 440 | [[package]] 441 | name = "is-terminal" 442 | version = "0.4.17" 443 | source = "registry+https://github.com/rust-lang/crates.io-index" 444 | checksum = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46" 445 | dependencies = [ 446 | "hermit-abi", 447 | "libc", 448 | "windows-sys 0.61.2", 449 | ] 450 | 451 | [[package]] 452 | name = "is_ci" 453 | version = "1.2.0" 454 | source = "registry+https://github.com/rust-lang/crates.io-index" 455 | checksum = "7655c9839580ee829dfacba1d1278c2b7883e50a277ff7541299489d6bdfdc45" 456 | 457 | [[package]] 458 | name = "is_terminal_polyfill" 459 | version = "1.70.2" 460 | source = "registry+https://github.com/rust-lang/crates.io-index" 461 | checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" 462 | 463 | [[package]] 464 | name = "libc" 465 | version = "0.2.177" 466 | source = "registry+https://github.com/rust-lang/crates.io-index" 467 | checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" 468 | 469 | [[package]] 470 | name = "libredox" 471 | version = "0.1.10" 472 | source = "registry+https://github.com/rust-lang/crates.io-index" 473 | checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" 474 | dependencies = [ 475 | "bitflags", 476 | "libc", 477 | ] 478 | 479 | [[package]] 480 | name = "linux-raw-sys" 481 | version = "0.4.15" 482 | source = "registry+https://github.com/rust-lang/crates.io-index" 483 | checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" 484 | 485 | [[package]] 486 | name = "linux-raw-sys" 487 | version = "0.11.0" 488 | source = "registry+https://github.com/rust-lang/crates.io-index" 489 | checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" 490 | 491 | [[package]] 492 | name = "log" 493 | version = "0.4.28" 494 | source = "registry+https://github.com/rust-lang/crates.io-index" 495 | checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" 496 | 497 | [[package]] 498 | name = "memchr" 499 | version = "2.7.6" 500 | source = "registry+https://github.com/rust-lang/crates.io-index" 501 | checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" 502 | 503 | [[package]] 504 | name = "miette" 505 | version = "7.6.0" 506 | source = "registry+https://github.com/rust-lang/crates.io-index" 507 | checksum = "5f98efec8807c63c752b5bd61f862c165c115b0a35685bdcfd9238c7aeb592b7" 508 | dependencies = [ 509 | "backtrace", 510 | "backtrace-ext", 511 | "cfg-if", 512 | "miette-derive", 513 | "owo-colors", 514 | "supports-color 3.0.2", 515 | "supports-hyperlinks", 516 | "supports-unicode", 517 | "terminal_size", 518 | "textwrap", 519 | "unicode-width 0.1.14", 520 | ] 521 | 522 | [[package]] 523 | name = "miette-derive" 524 | version = "7.6.0" 525 | source = "registry+https://github.com/rust-lang/crates.io-index" 526 | checksum = "db5b29714e950dbb20d5e6f74f9dcec4edbcc1067bb7f8ed198c097b8c1a818b" 527 | dependencies = [ 528 | "proc-macro2", 529 | "quote", 530 | "syn", 531 | ] 532 | 533 | [[package]] 534 | name = "miniz_oxide" 535 | version = "0.8.9" 536 | source = "registry+https://github.com/rust-lang/crates.io-index" 537 | checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" 538 | dependencies = [ 539 | "adler2", 540 | ] 541 | 542 | [[package]] 543 | name = "nix" 544 | version = "0.30.1" 545 | source = "registry+https://github.com/rust-lang/crates.io-index" 546 | checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6" 547 | dependencies = [ 548 | "bitflags", 549 | "cfg-if", 550 | "cfg_aliases", 551 | "libc", 552 | ] 553 | 554 | [[package]] 555 | name = "normalize-line-endings" 556 | version = "0.3.0" 557 | source = "registry+https://github.com/rust-lang/crates.io-index" 558 | checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" 559 | 560 | [[package]] 561 | name = "num-traits" 562 | version = "0.2.19" 563 | source = "registry+https://github.com/rust-lang/crates.io-index" 564 | checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" 565 | dependencies = [ 566 | "autocfg", 567 | ] 568 | 569 | [[package]] 570 | name = "object" 571 | version = "0.37.3" 572 | source = "registry+https://github.com/rust-lang/crates.io-index" 573 | checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" 574 | dependencies = [ 575 | "memchr", 576 | ] 577 | 578 | [[package]] 579 | name = "once_cell" 580 | version = "1.21.3" 581 | source = "registry+https://github.com/rust-lang/crates.io-index" 582 | checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" 583 | 584 | [[package]] 585 | name = "once_cell_polyfill" 586 | version = "1.70.2" 587 | source = "registry+https://github.com/rust-lang/crates.io-index" 588 | checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" 589 | 590 | [[package]] 591 | name = "option-ext" 592 | version = "0.2.0" 593 | source = "registry+https://github.com/rust-lang/crates.io-index" 594 | checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" 595 | 596 | [[package]] 597 | name = "owo-colors" 598 | version = "4.2.3" 599 | source = "registry+https://github.com/rust-lang/crates.io-index" 600 | checksum = "9c6901729fa79e91a0913333229e9ca5dc725089d1c363b2f4b4760709dc4a52" 601 | dependencies = [ 602 | "supports-color 2.1.0", 603 | "supports-color 3.0.2", 604 | ] 605 | 606 | [[package]] 607 | name = "predicates" 608 | version = "3.1.3" 609 | source = "registry+https://github.com/rust-lang/crates.io-index" 610 | checksum = "a5d19ee57562043d37e82899fade9a22ebab7be9cef5026b07fda9cdd4293573" 611 | dependencies = [ 612 | "anstyle", 613 | "difflib", 614 | "float-cmp", 615 | "normalize-line-endings", 616 | "predicates-core", 617 | "regex", 618 | ] 619 | 620 | [[package]] 621 | name = "predicates-core" 622 | version = "1.0.9" 623 | source = "registry+https://github.com/rust-lang/crates.io-index" 624 | checksum = "727e462b119fe9c93fd0eb1429a5f7647394014cf3c04ab2c0350eeb09095ffa" 625 | 626 | [[package]] 627 | name = "predicates-tree" 628 | version = "1.0.12" 629 | source = "registry+https://github.com/rust-lang/crates.io-index" 630 | checksum = "72dd2d6d381dfb73a193c7fca536518d7caee39fc8503f74e7dc0be0531b425c" 631 | dependencies = [ 632 | "predicates-core", 633 | "termtree", 634 | ] 635 | 636 | [[package]] 637 | name = "proc-macro2" 638 | version = "1.0.103" 639 | source = "registry+https://github.com/rust-lang/crates.io-index" 640 | checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" 641 | dependencies = [ 642 | "unicode-ident", 643 | ] 644 | 645 | [[package]] 646 | name = "quote" 647 | version = "1.0.42" 648 | source = "registry+https://github.com/rust-lang/crates.io-index" 649 | checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" 650 | dependencies = [ 651 | "proc-macro2", 652 | ] 653 | 654 | [[package]] 655 | name = "r-efi" 656 | version = "5.3.0" 657 | source = "registry+https://github.com/rust-lang/crates.io-index" 658 | checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" 659 | 660 | [[package]] 661 | name = "redox_users" 662 | version = "0.5.2" 663 | source = "registry+https://github.com/rust-lang/crates.io-index" 664 | checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" 665 | dependencies = [ 666 | "getrandom 0.2.16", 667 | "libredox", 668 | "thiserror", 669 | ] 670 | 671 | [[package]] 672 | name = "regex" 673 | version = "1.12.2" 674 | source = "registry+https://github.com/rust-lang/crates.io-index" 675 | checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" 676 | dependencies = [ 677 | "aho-corasick", 678 | "memchr", 679 | "regex-automata", 680 | "regex-syntax", 681 | ] 682 | 683 | [[package]] 684 | name = "regex-automata" 685 | version = "0.4.13" 686 | source = "registry+https://github.com/rust-lang/crates.io-index" 687 | checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" 688 | dependencies = [ 689 | "aho-corasick", 690 | "memchr", 691 | "regex-syntax", 692 | ] 693 | 694 | [[package]] 695 | name = "regex-syntax" 696 | version = "0.8.8" 697 | source = "registry+https://github.com/rust-lang/crates.io-index" 698 | checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" 699 | 700 | [[package]] 701 | name = "rexpect" 702 | version = "0.6.2" 703 | source = "registry+https://github.com/rust-lang/crates.io-index" 704 | checksum = "2c1bcd4ac488e9d2d726d147031cceff5cff6425011ff1914049739770fa4726" 705 | dependencies = [ 706 | "comma", 707 | "nix", 708 | "regex", 709 | "tempfile", 710 | "thiserror", 711 | ] 712 | 713 | [[package]] 714 | name = "rprompt" 715 | version = "2.2.0" 716 | source = "registry+https://github.com/rust-lang/crates.io-index" 717 | checksum = "69abf524bb9ccb7c071f7231441288d74b48d176cb309eb00e6f77d186c6e035" 718 | dependencies = [ 719 | "rtoolbox", 720 | "windows-sys 0.59.0", 721 | ] 722 | 723 | [[package]] 724 | name = "rtoolbox" 725 | version = "0.0.3" 726 | source = "registry+https://github.com/rust-lang/crates.io-index" 727 | checksum = "a7cc970b249fbe527d6e02e0a227762c9108b2f49d81094fe357ffc6d14d7f6f" 728 | dependencies = [ 729 | "libc", 730 | "windows-sys 0.52.0", 731 | ] 732 | 733 | [[package]] 734 | name = "rustc-demangle" 735 | version = "0.1.26" 736 | source = "registry+https://github.com/rust-lang/crates.io-index" 737 | checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" 738 | 739 | [[package]] 740 | name = "rustix" 741 | version = "0.38.44" 742 | source = "registry+https://github.com/rust-lang/crates.io-index" 743 | checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" 744 | dependencies = [ 745 | "bitflags", 746 | "errno", 747 | "libc", 748 | "linux-raw-sys 0.4.15", 749 | "windows-sys 0.59.0", 750 | ] 751 | 752 | [[package]] 753 | name = "rustix" 754 | version = "1.1.2" 755 | source = "registry+https://github.com/rust-lang/crates.io-index" 756 | checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" 757 | dependencies = [ 758 | "bitflags", 759 | "errno", 760 | "libc", 761 | "linux-raw-sys 0.11.0", 762 | "windows-sys 0.61.2", 763 | ] 764 | 765 | [[package]] 766 | name = "rustversion" 767 | version = "1.0.22" 768 | source = "registry+https://github.com/rust-lang/crates.io-index" 769 | checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" 770 | 771 | [[package]] 772 | name = "same-file" 773 | version = "1.0.6" 774 | source = "registry+https://github.com/rust-lang/crates.io-index" 775 | checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 776 | dependencies = [ 777 | "winapi-util", 778 | ] 779 | 780 | [[package]] 781 | name = "serde" 782 | version = "1.0.228" 783 | source = "registry+https://github.com/rust-lang/crates.io-index" 784 | checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" 785 | dependencies = [ 786 | "serde_core", 787 | ] 788 | 789 | [[package]] 790 | name = "serde_core" 791 | version = "1.0.228" 792 | source = "registry+https://github.com/rust-lang/crates.io-index" 793 | checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" 794 | dependencies = [ 795 | "serde_derive", 796 | ] 797 | 798 | [[package]] 799 | name = "serde_derive" 800 | version = "1.0.228" 801 | source = "registry+https://github.com/rust-lang/crates.io-index" 802 | checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" 803 | dependencies = [ 804 | "proc-macro2", 805 | "quote", 806 | "syn", 807 | ] 808 | 809 | [[package]] 810 | name = "slug" 811 | version = "0.1.6" 812 | source = "registry+https://github.com/rust-lang/crates.io-index" 813 | checksum = "882a80f72ee45de3cc9a5afeb2da0331d58df69e4e7d8eeb5d3c7784ae67e724" 814 | dependencies = [ 815 | "deunicode", 816 | "wasm-bindgen", 817 | ] 818 | 819 | [[package]] 820 | name = "strsim" 821 | version = "0.11.1" 822 | source = "registry+https://github.com/rust-lang/crates.io-index" 823 | checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" 824 | 825 | [[package]] 826 | name = "supports-color" 827 | version = "2.1.0" 828 | source = "registry+https://github.com/rust-lang/crates.io-index" 829 | checksum = "d6398cde53adc3c4557306a96ce67b302968513830a77a95b2b17305d9719a89" 830 | dependencies = [ 831 | "is-terminal", 832 | "is_ci", 833 | ] 834 | 835 | [[package]] 836 | name = "supports-color" 837 | version = "3.0.2" 838 | source = "registry+https://github.com/rust-lang/crates.io-index" 839 | checksum = "c64fc7232dd8d2e4ac5ce4ef302b1d81e0b80d055b9d77c7c4f51f6aa4c867d6" 840 | dependencies = [ 841 | "is_ci", 842 | ] 843 | 844 | [[package]] 845 | name = "supports-hyperlinks" 846 | version = "3.1.0" 847 | source = "registry+https://github.com/rust-lang/crates.io-index" 848 | checksum = "804f44ed3c63152de6a9f90acbea1a110441de43006ea51bcce8f436196a288b" 849 | 850 | [[package]] 851 | name = "supports-unicode" 852 | version = "3.0.0" 853 | source = "registry+https://github.com/rust-lang/crates.io-index" 854 | checksum = "b7401a30af6cb5818bb64852270bb722533397edcfc7344954a38f420819ece2" 855 | 856 | [[package]] 857 | name = "syn" 858 | version = "2.0.110" 859 | source = "registry+https://github.com/rust-lang/crates.io-index" 860 | checksum = "a99801b5bd34ede4cf3fc688c5919368fea4e4814a4664359503e6015b280aea" 861 | dependencies = [ 862 | "proc-macro2", 863 | "quote", 864 | "unicode-ident", 865 | ] 866 | 867 | [[package]] 868 | name = "tempfile" 869 | version = "3.23.0" 870 | source = "registry+https://github.com/rust-lang/crates.io-index" 871 | checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" 872 | dependencies = [ 873 | "fastrand", 874 | "getrandom 0.3.4", 875 | "once_cell", 876 | "rustix 1.1.2", 877 | "windows-sys 0.61.2", 878 | ] 879 | 880 | [[package]] 881 | name = "terminal_size" 882 | version = "0.4.3" 883 | source = "registry+https://github.com/rust-lang/crates.io-index" 884 | checksum = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0" 885 | dependencies = [ 886 | "rustix 1.1.2", 887 | "windows-sys 0.60.2", 888 | ] 889 | 890 | [[package]] 891 | name = "termtree" 892 | version = "0.5.1" 893 | source = "registry+https://github.com/rust-lang/crates.io-index" 894 | checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" 895 | 896 | [[package]] 897 | name = "textwrap" 898 | version = "0.16.2" 899 | source = "registry+https://github.com/rust-lang/crates.io-index" 900 | checksum = "c13547615a44dc9c452a8a534638acdf07120d4b6847c8178705da06306a3057" 901 | dependencies = [ 902 | "unicode-linebreak", 903 | "unicode-width 0.2.2", 904 | ] 905 | 906 | [[package]] 907 | name = "thiserror" 908 | version = "2.0.17" 909 | source = "registry+https://github.com/rust-lang/crates.io-index" 910 | checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" 911 | dependencies = [ 912 | "thiserror-impl", 913 | ] 914 | 915 | [[package]] 916 | name = "thiserror-impl" 917 | version = "2.0.17" 918 | source = "registry+https://github.com/rust-lang/crates.io-index" 919 | checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" 920 | dependencies = [ 921 | "proc-macro2", 922 | "quote", 923 | "syn", 924 | ] 925 | 926 | [[package]] 927 | name = "unicode-ident" 928 | version = "1.0.22" 929 | source = "registry+https://github.com/rust-lang/crates.io-index" 930 | checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" 931 | 932 | [[package]] 933 | name = "unicode-linebreak" 934 | version = "0.1.5" 935 | source = "registry+https://github.com/rust-lang/crates.io-index" 936 | checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f" 937 | 938 | [[package]] 939 | name = "unicode-width" 940 | version = "0.1.14" 941 | source = "registry+https://github.com/rust-lang/crates.io-index" 942 | checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" 943 | 944 | [[package]] 945 | name = "unicode-width" 946 | version = "0.2.2" 947 | source = "registry+https://github.com/rust-lang/crates.io-index" 948 | checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" 949 | 950 | [[package]] 951 | name = "utf8parse" 952 | version = "0.2.2" 953 | source = "registry+https://github.com/rust-lang/crates.io-index" 954 | checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" 955 | 956 | [[package]] 957 | name = "wait-timeout" 958 | version = "0.2.1" 959 | source = "registry+https://github.com/rust-lang/crates.io-index" 960 | checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" 961 | dependencies = [ 962 | "libc", 963 | ] 964 | 965 | [[package]] 966 | name = "walkdir" 967 | version = "2.5.0" 968 | source = "registry+https://github.com/rust-lang/crates.io-index" 969 | checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" 970 | dependencies = [ 971 | "same-file", 972 | "winapi-util", 973 | ] 974 | 975 | [[package]] 976 | name = "wasi" 977 | version = "0.11.1+wasi-snapshot-preview1" 978 | source = "registry+https://github.com/rust-lang/crates.io-index" 979 | checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" 980 | 981 | [[package]] 982 | name = "wasip2" 983 | version = "1.0.1+wasi-0.2.4" 984 | source = "registry+https://github.com/rust-lang/crates.io-index" 985 | checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" 986 | dependencies = [ 987 | "wit-bindgen", 988 | ] 989 | 990 | [[package]] 991 | name = "wasm-bindgen" 992 | version = "0.2.105" 993 | source = "registry+https://github.com/rust-lang/crates.io-index" 994 | checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60" 995 | dependencies = [ 996 | "cfg-if", 997 | "once_cell", 998 | "rustversion", 999 | "wasm-bindgen-macro", 1000 | "wasm-bindgen-shared", 1001 | ] 1002 | 1003 | [[package]] 1004 | name = "wasm-bindgen-macro" 1005 | version = "0.2.105" 1006 | source = "registry+https://github.com/rust-lang/crates.io-index" 1007 | checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2" 1008 | dependencies = [ 1009 | "quote", 1010 | "wasm-bindgen-macro-support", 1011 | ] 1012 | 1013 | [[package]] 1014 | name = "wasm-bindgen-macro-support" 1015 | version = "0.2.105" 1016 | source = "registry+https://github.com/rust-lang/crates.io-index" 1017 | checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc" 1018 | dependencies = [ 1019 | "bumpalo", 1020 | "proc-macro2", 1021 | "quote", 1022 | "syn", 1023 | "wasm-bindgen-shared", 1024 | ] 1025 | 1026 | [[package]] 1027 | name = "wasm-bindgen-shared" 1028 | version = "0.2.105" 1029 | source = "registry+https://github.com/rust-lang/crates.io-index" 1030 | checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76" 1031 | dependencies = [ 1032 | "unicode-ident", 1033 | ] 1034 | 1035 | [[package]] 1036 | name = "which" 1037 | version = "4.4.2" 1038 | source = "registry+https://github.com/rust-lang/crates.io-index" 1039 | checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" 1040 | dependencies = [ 1041 | "either", 1042 | "home", 1043 | "once_cell", 1044 | "rustix 0.38.44", 1045 | ] 1046 | 1047 | [[package]] 1048 | name = "winapi-util" 1049 | version = "0.1.11" 1050 | source = "registry+https://github.com/rust-lang/crates.io-index" 1051 | checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" 1052 | dependencies = [ 1053 | "windows-sys 0.61.2", 1054 | ] 1055 | 1056 | [[package]] 1057 | name = "windows-link" 1058 | version = "0.2.1" 1059 | source = "registry+https://github.com/rust-lang/crates.io-index" 1060 | checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" 1061 | 1062 | [[package]] 1063 | name = "windows-sys" 1064 | version = "0.52.0" 1065 | source = "registry+https://github.com/rust-lang/crates.io-index" 1066 | checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 1067 | dependencies = [ 1068 | "windows-targets 0.52.6", 1069 | ] 1070 | 1071 | [[package]] 1072 | name = "windows-sys" 1073 | version = "0.59.0" 1074 | source = "registry+https://github.com/rust-lang/crates.io-index" 1075 | checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" 1076 | dependencies = [ 1077 | "windows-targets 0.52.6", 1078 | ] 1079 | 1080 | [[package]] 1081 | name = "windows-sys" 1082 | version = "0.60.2" 1083 | source = "registry+https://github.com/rust-lang/crates.io-index" 1084 | checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" 1085 | dependencies = [ 1086 | "windows-targets 0.53.5", 1087 | ] 1088 | 1089 | [[package]] 1090 | name = "windows-sys" 1091 | version = "0.61.2" 1092 | source = "registry+https://github.com/rust-lang/crates.io-index" 1093 | checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" 1094 | dependencies = [ 1095 | "windows-link", 1096 | ] 1097 | 1098 | [[package]] 1099 | name = "windows-targets" 1100 | version = "0.52.6" 1101 | source = "registry+https://github.com/rust-lang/crates.io-index" 1102 | checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" 1103 | dependencies = [ 1104 | "windows_aarch64_gnullvm 0.52.6", 1105 | "windows_aarch64_msvc 0.52.6", 1106 | "windows_i686_gnu 0.52.6", 1107 | "windows_i686_gnullvm 0.52.6", 1108 | "windows_i686_msvc 0.52.6", 1109 | "windows_x86_64_gnu 0.52.6", 1110 | "windows_x86_64_gnullvm 0.52.6", 1111 | "windows_x86_64_msvc 0.52.6", 1112 | ] 1113 | 1114 | [[package]] 1115 | name = "windows-targets" 1116 | version = "0.53.5" 1117 | source = "registry+https://github.com/rust-lang/crates.io-index" 1118 | checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" 1119 | dependencies = [ 1120 | "windows-link", 1121 | "windows_aarch64_gnullvm 0.53.1", 1122 | "windows_aarch64_msvc 0.53.1", 1123 | "windows_i686_gnu 0.53.1", 1124 | "windows_i686_gnullvm 0.53.1", 1125 | "windows_i686_msvc 0.53.1", 1126 | "windows_x86_64_gnu 0.53.1", 1127 | "windows_x86_64_gnullvm 0.53.1", 1128 | "windows_x86_64_msvc 0.53.1", 1129 | ] 1130 | 1131 | [[package]] 1132 | name = "windows_aarch64_gnullvm" 1133 | version = "0.52.6" 1134 | source = "registry+https://github.com/rust-lang/crates.io-index" 1135 | checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" 1136 | 1137 | [[package]] 1138 | name = "windows_aarch64_gnullvm" 1139 | version = "0.53.1" 1140 | source = "registry+https://github.com/rust-lang/crates.io-index" 1141 | checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" 1142 | 1143 | [[package]] 1144 | name = "windows_aarch64_msvc" 1145 | version = "0.52.6" 1146 | source = "registry+https://github.com/rust-lang/crates.io-index" 1147 | checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" 1148 | 1149 | [[package]] 1150 | name = "windows_aarch64_msvc" 1151 | version = "0.53.1" 1152 | source = "registry+https://github.com/rust-lang/crates.io-index" 1153 | checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" 1154 | 1155 | [[package]] 1156 | name = "windows_i686_gnu" 1157 | version = "0.52.6" 1158 | source = "registry+https://github.com/rust-lang/crates.io-index" 1159 | checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" 1160 | 1161 | [[package]] 1162 | name = "windows_i686_gnu" 1163 | version = "0.53.1" 1164 | source = "registry+https://github.com/rust-lang/crates.io-index" 1165 | checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" 1166 | 1167 | [[package]] 1168 | name = "windows_i686_gnullvm" 1169 | version = "0.52.6" 1170 | source = "registry+https://github.com/rust-lang/crates.io-index" 1171 | checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" 1172 | 1173 | [[package]] 1174 | name = "windows_i686_gnullvm" 1175 | version = "0.53.1" 1176 | source = "registry+https://github.com/rust-lang/crates.io-index" 1177 | checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" 1178 | 1179 | [[package]] 1180 | name = "windows_i686_msvc" 1181 | version = "0.52.6" 1182 | source = "registry+https://github.com/rust-lang/crates.io-index" 1183 | checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" 1184 | 1185 | [[package]] 1186 | name = "windows_i686_msvc" 1187 | version = "0.53.1" 1188 | source = "registry+https://github.com/rust-lang/crates.io-index" 1189 | checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" 1190 | 1191 | [[package]] 1192 | name = "windows_x86_64_gnu" 1193 | version = "0.52.6" 1194 | source = "registry+https://github.com/rust-lang/crates.io-index" 1195 | checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" 1196 | 1197 | [[package]] 1198 | name = "windows_x86_64_gnu" 1199 | version = "0.53.1" 1200 | source = "registry+https://github.com/rust-lang/crates.io-index" 1201 | checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" 1202 | 1203 | [[package]] 1204 | name = "windows_x86_64_gnullvm" 1205 | version = "0.52.6" 1206 | source = "registry+https://github.com/rust-lang/crates.io-index" 1207 | checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" 1208 | 1209 | [[package]] 1210 | name = "windows_x86_64_gnullvm" 1211 | version = "0.53.1" 1212 | source = "registry+https://github.com/rust-lang/crates.io-index" 1213 | checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" 1214 | 1215 | [[package]] 1216 | name = "windows_x86_64_msvc" 1217 | version = "0.52.6" 1218 | source = "registry+https://github.com/rust-lang/crates.io-index" 1219 | checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" 1220 | 1221 | [[package]] 1222 | name = "windows_x86_64_msvc" 1223 | version = "0.53.1" 1224 | source = "registry+https://github.com/rust-lang/crates.io-index" 1225 | checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" 1226 | 1227 | [[package]] 1228 | name = "wit-bindgen" 1229 | version = "0.46.0" 1230 | source = "registry+https://github.com/rust-lang/crates.io-index" 1231 | checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" 1232 | --------------------------------------------------------------------------------