Skip to content

Commit

Permalink
add single_file variant
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimundi committed Aug 23, 2020
1 parent ba604ed commit f4edafa
Show file tree
Hide file tree
Showing 4 changed files with 336 additions and 1 deletion.
88 changes: 88 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ edition = "2018"
structopt = "0.3.16"
fxhash = "0.2.1"
memmap = "0.7.0"
sha2 = "0.9.1"
sha2 = "0.9.1"
path_abs = "0.5.0"
6 changes: 6 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ use variant::Variant;
mod original;
mod variant;

mod single_file;

// NB: We will not exhaust a u64 with modern computers as long as its
// counted up by 1 at a time.
type Counter = u64;
Expand Down Expand Up @@ -58,6 +60,10 @@ struct CliOptions {
}

fn main() {
if false {
single_file::main();
}

let opt = CliOptions::from_args();
println!("{:#?}", opt);

Expand Down
Loading

0 comments on commit f4edafa

Please sign in to comment.