From b4c4f65317e99484d5c5fdd933509b8918e2fc5d Mon Sep 17 00:00:00 2001 From: Vladimir Markelov Date: Mon, 16 Mar 2020 12:13:35 -0700 Subject: [PATCH] rename package --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 4 ++-- changelog | 2 +- src/bin/haku/config.rs | 2 +- src/bin/haku/main.rs | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 31ff1ad..78429bd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -157,7 +157,7 @@ dependencies = [ ] [[package]] -name = "hakufile" +name = "haku" version = "0.3.1" dependencies = [ "chrono 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index d3cf2cf..f032bee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "hakufile" +name = "haku" version = "0.3.1" authors = ["Vladimir Markelov "] edition = "2018" diff --git a/README.md b/README.md index 7c47603..ff859ab 100644 --- a/README.md +++ b/README.md @@ -60,14 +60,14 @@ both tools are for different purposes and it does not make much sense to compare You can compile the application from sources, or install using cargo: ```shell -$ cargo install hakufile +$ cargo install haku ``` You need Rust compiler that supports Rust 2018 edition (Rust 1.38 or newer) to do it. If you want to upgrade existing haku, execute the following command: ```shell -$ cargo install hakufile --force +$ cargo install haku --force ``` For rust 1.41 and newer flag `--force` can be omitted. diff --git a/changelog b/changelog index e441c8e..9702035 100644 --- a/changelog +++ b/changelog @@ -2,4 +2,4 @@ haku (0.3.1) unstable; urgency=medium * First public version - -- Vladimir Markelov Sun, 15 Mar 2020 10:37:06 -0700 + -- Vladimir Markelov Mon, 16 Mar 2020 12:10:19 -0700 diff --git a/src/bin/haku/config.rs b/src/bin/haku/config.rs index e490598..0bf7ac1 100644 --- a/src/bin/haku/config.rs +++ b/src/bin/haku/config.rs @@ -3,7 +3,7 @@ use std::env; use std::iter::FromIterator; use std::process::exit; -use hakufile::errors::HakuError; +use haku::errors::HakuError; pub struct Config { pub dry_run: bool, diff --git a/src/bin/haku/main.rs b/src/bin/haku/main.rs index 45c5b63..31439b9 100644 --- a/src/bin/haku/main.rs +++ b/src/bin/haku/main.rs @@ -5,8 +5,8 @@ use std::process::exit; use config::{parse_args, Config}; -use hakufile::errors::HakuError; -use hakufile::vm::{Engine, RunOpts}; +use haku::errors::HakuError; +use haku::vm::{Engine, RunOpts}; fn nice_vec_print(lst: &[String]) { for (idx, s) in lst.iter().enumerate() {