From 3c47ec8d4fe7a717d30fa6941580f9cc36682df4 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Wed, 14 Apr 2021 01:42:05 -0500 Subject: [PATCH] feat: rename from bluearch-recruitment to blue-gacha --- Cargo.toml | 2 +- examples/ten_pull.rs | 8 ++++---- src/banner.rs | 14 +++++++------- src/gacha.rs | 16 ++++++++-------- src/student.rs | 10 +++++----- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d63efd3..f08b4ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "bluearch-recruitment" +name = "blue-gacha" version = "0.1.0" authors = ["Rekai Musuka "] edition = "2018" diff --git a/examples/ten_pull.rs b/examples/ten_pull.rs index 0ee9bf0..2da3962 100644 --- a/examples/ten_pull.rs +++ b/examples/ten_pull.rs @@ -1,7 +1,7 @@ -use bluearch_recruitment::banner::BannerBuilder; -use bluearch_recruitment::gacha::{GachaBuilder, Recruitment}; -use bluearch_recruitment::i18n::Language; -use bluearch_recruitment::student::Student; +use blue_gacha::banner::BannerBuilder; +use blue_gacha::gacha::{GachaBuilder, Recruitment}; +use blue_gacha::i18n::Language; +use blue_gacha::student::Student; use std::{fs::File, io::Read}; const THREE_STAR_RATE: f32 = 2.5; diff --git a/src/banner.rs b/src/banner.rs index e4b1e14..b87e407 100644 --- a/src/banner.rs +++ b/src/banner.rs @@ -21,7 +21,7 @@ impl BannerBuilder { /// /// # Examples /// ``` - /// # use bluearch_recruitment::banner::BannerBuilder; + /// # use blue_gacha::banner::BannerBuilder; /// let banner_builder = BannerBuilder::new("ピックアップ募集"); /// ``` pub fn new(jpn_name: &str) -> Self { @@ -39,8 +39,8 @@ impl BannerBuilder { /// /// # Examples /// ``` - /// # use bluearch_recruitment::banner::BannerBuilder; - /// # use bluearch_recruitment::i18n::Language; + /// # use blue_gacha::banner::BannerBuilder; + /// # use blue_gacha::i18n::Language; /// let banner_builder = BannerBuilder::new("ピックアップ募集") /// .with_name_translation(Language::English, "Focus Recruitment"); /// ``` @@ -56,8 +56,8 @@ impl BannerBuilder { /// /// # Examples /// ``` - /// # use bluearch_recruitment::gacha::GachaBuilder; - /// # use bluearch_recruitment::banner::BannerBuilder; + /// # use blue_gacha::gacha::GachaBuilder; + /// # use blue_gacha::banner::BannerBuilder; /// let gacha = GachaBuilder::default() /// .with_pool(Vec::new()) /// .finish().unwrap(); @@ -79,8 +79,8 @@ impl BannerBuilder { /// /// # Examples /// ``` - /// # use bluearch_recruitment::student::Student; - /// # use bluearch_recruitment::banner::BannerBuilder; + /// # use blue_gacha::student::Student; + /// # use blue_gacha::banner::BannerBuilder; /// let students = Vec::new(); /// let banner_builder = BannerBuilder::new("ピックアップ募集") /// .with_sparkable_students(&students); diff --git a/src/gacha.rs b/src/gacha.rs index 1a88dbf..6b0c593 100644 --- a/src/gacha.rs +++ b/src/gacha.rs @@ -90,7 +90,7 @@ impl GachaBuilder { /// /// # Examples /// ``` - /// # use bluearch_recruitment::gacha::GachaBuilder; + /// # use blue_gacha::gacha::GachaBuilder; /// let gacha_builder: GachaBuilder = GachaBuilder::new(79.0, 18.5, 2.5) /// .with_pool(Vec::new()); /// ``` @@ -114,8 +114,8 @@ impl GachaBuilder { /// /// # Examples /// ``` - /// # use bluearch_recruitment::gacha::{GachaBuilder, Rarity}; - /// # use bluearch_recruitment::student::Student; + /// # use blue_gacha::gacha::{GachaBuilder, Rarity}; + /// # use blue_gacha::student::Student; /// /// let aru = Student::new("アル", Rarity::Three); /// let hina = Student::new("ヒナ", Rarity::Three); @@ -136,8 +136,8 @@ impl GachaBuilder { /// /// # Examples /// ``` - /// # use bluearch_recruitment::gacha::{GachaBuilder, Rarity}; - /// # use bluearch_recruitment::student::{Student, PriorityStudent}; + /// # use blue_gacha::gacha::{GachaBuilder, Rarity}; + /// # use blue_gacha::student::{Student, PriorityStudent}; /// let aru = Student::new("アル", Rarity::Three).into_priority_student(3.5 / 2.0); /// let hina = Student::new("ヒナ", Rarity::Three).into_priority_student(3.5 / 2.0); /// let pool = vec![aru.student().clone(), hina.student().clone()]; @@ -160,8 +160,8 @@ impl GachaBuilder { /// /// # Examples /// ``` - /// # use bluearch_recruitment::gacha::{GachaBuilder, Gacha, Rarity}; - /// # use bluearch_recruitment::student::Student; + /// # use blue_gacha::gacha::{GachaBuilder, Gacha, Rarity}; + /// # use blue_gacha::student::Student; /// let aru = Student::new("アル", Rarity::Three); /// let hina = Student::new("ヒナ", Rarity::Three); /// let gacha = GachaBuilder::default() @@ -196,7 +196,7 @@ impl Gacha { /// /// # Examples /// ``` - /// # use bluearch_recruitment::gacha::{GachaBuilder, Rarity}; + /// # use blue_gacha::gacha::{GachaBuilder, Rarity}; /// let gacha = GachaBuilder::new(79.0, 18.5, 2.5) /// .with_pool(Vec::new()) /// .finish() diff --git a/src/student.rs b/src/student.rs index 107f289..0544dfa 100644 --- a/src/student.rs +++ b/src/student.rs @@ -25,8 +25,8 @@ impl Student { /// /// # Examples /// ``` - /// # use bluearch_recruitment::gacha::Rarity; - /// # use bluearch_recruitment::student::Student; + /// # use blue_gacha::gacha::Rarity; + /// # use blue_gacha::student::Student; /// /// let mutsuki = Student::new("ムツキ", Rarity::Two); /// ``` @@ -45,9 +45,9 @@ impl Student { /// /// # Examples /// ``` - /// # use bluearch_recruitment::gacha::Rarity; - /// # use bluearch_recruitment::student::Student; - /// # use bluearch_recruitment::i18n::Language; + /// # use blue_gacha::gacha::Rarity; + /// # use blue_gacha::student::Student; + /// # use blue_gacha::i18n::Language; /// /// let mut mutsuki = Student::new("ムツキ", Rarity::Two); /// mutsuki.add_translation(Language::English, "Mutsuki");