summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 0aba5f0..c936dc1 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -19,7 +19,7 @@
use clap::Parser;
use std::ops::RangeInclusive;
-mod hitomezashi;
+use hitomezashi_rs;
#[derive(Parser)]
#[command(version, about, long_about = None)] // Read from `Cargo.toml`
@@ -43,7 +43,7 @@ struct Cli {
fn main() {
let cli = Cli::parse();
- hitomezashi::hitomezashi(cli.width, cli.height, Some(cli.skew));
+ hitomezashi_rs::generate(cli.width, cli.height, Some(cli.skew));
}
const DIMENSION_RANGE: RangeInclusive<usize> = 1..=std::usize::MAX;