chore: update dependencies

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-04-14 02:15:01 -05:00
parent 443a1554dd
commit 915557a33b
2 changed files with 18 additions and 18 deletions

2
Cargo.lock generated
View File

@ -112,7 +112,7 @@ dependencies = [
[[package]] [[package]]
name = "blue-gacha" name = "blue-gacha"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/Paoda/blue-gacha.git?branch=main#3c47ec8d4fe7a717d30fa6941580f9cc36682df4" source = "git+https://github.com/Paoda/blue-gacha.git?branch=main#d5df9d4d30ef290ca0a269a9f52f482e284a606a"
dependencies = [ dependencies = [
"rand 0.8.3", "rand 0.8.3",
"serde", "serde",

View File

@ -209,16 +209,16 @@ fn _create_2021_02_04_hoshino_shiroko_banner() -> Banner {
let sparkable = vec![hoshino.student().clone(), shiroko.student().clone()]; let sparkable = vec![hoshino.student().clone(), shiroko.student().clone()];
let priority = vec![hoshino, shiroko]; let priority = vec![hoshino, shiroko];
let gacha = GachaBuilder::new(79.0, 18.5, 2.5) let gacha = GachaBuilder::default()
.with_pool(pool) .with_pool(pool)
.with_priority(&priority) .with_priority(priority)
.finish() .finish()
.unwrap(); .unwrap();
BannerBuilder::new("拝啓、はじまりの季節へ") BannerBuilder::new("拝啓、はじまりの季節へ")
.with_gacha(&gacha) .with_gacha(gacha)
.with_name_translation(Language::English, "Dear Sensei, a new season approaches") .with_name_translation(Language::English, "Dear Sensei, a new season approaches")
.with_sparkable_students(&sparkable) .with_sparkable_students(sparkable)
.finish() .finish()
.unwrap() .unwrap()
} }
@ -244,16 +244,16 @@ fn _create_2021_02_11_mashiro_banner() -> Banner {
let sparkable = vec![mashiro.student().clone()]; let sparkable = vec![mashiro.student().clone()];
let priority = vec![mashiro]; let priority = vec![mashiro];
let gacha = GachaBuilder::new(79.0, 18.5, 2.5) let gacha = GachaBuilder::default()
.with_pool(pool) .with_pool(pool)
.with_priority(&priority) .with_priority(priority)
.finish() .finish()
.unwrap(); .unwrap();
BannerBuilder::new("赤の季節、黒の制服") BannerBuilder::new("赤の季節、黒の制服")
.with_gacha(&gacha) .with_gacha(gacha)
.with_name_translation(Language::English, "Red Season, Black Uniform") .with_name_translation(Language::English, "Red Season, Black Uniform")
.with_sparkable_students(&sparkable) .with_sparkable_students(sparkable)
.finish() .finish()
.unwrap() .unwrap()
} }
@ -288,14 +288,14 @@ fn create_2021_02_25_izuna_banner() -> Banner {
let gacha = GachaBuilder::new(ONE_STAR_RATE, TWO_STAR_RATE, THREE_STAR_RATE) let gacha = GachaBuilder::new(ONE_STAR_RATE, TWO_STAR_RATE, THREE_STAR_RATE)
.with_pool(pool) .with_pool(pool)
.with_priority(&priority) .with_priority(priority)
.finish() .finish()
.unwrap(); .unwrap();
BannerBuilder::new("祭り囃子はしのぶれど") BannerBuilder::new("祭り囃子はしのぶれど")
.with_gacha(&gacha) .with_gacha(gacha)
.with_name_translation(Language::English, "The Concealed Festival Band") .with_name_translation(Language::English, "The Concealed Festival Band")
.with_sparkable_students(&sparkable) .with_sparkable_students(sparkable)
.finish() .finish()
.unwrap() .unwrap()
} }
@ -323,17 +323,17 @@ fn _create_2021_03_11_haruna_banner() -> Banner {
let gacha = GachaBuilder::new(ONE_STAR_RATE, TWO_STAR_RATE, THREE_STAR_RATE) let gacha = GachaBuilder::new(ONE_STAR_RATE, TWO_STAR_RATE, THREE_STAR_RATE)
.with_pool(pool) .with_pool(pool)
.with_priority(&priority) .with_priority(priority)
.finish() .finish()
.unwrap(); .unwrap();
BannerBuilder::new("その味は身命を賭してでも") BannerBuilder::new("その味は身命を賭してでも")
.with_gacha(&gacha) .with_gacha(gacha)
.with_name_translation( .with_name_translation(
Language::English, Language::English,
"Even if you risk your life for that taste", "Even if you risk your life for that taste",
) )
.with_sparkable_students(&sparkable) .with_sparkable_students(sparkable)
.finish() .finish()
.unwrap() .unwrap()
} }
@ -361,14 +361,14 @@ fn _create_2021_03_18_aru_banner() -> Banner {
let gacha = GachaBuilder::new(ONE_STAR_RATE, TWO_STAR_RATE, THREE_STAR_RATE) let gacha = GachaBuilder::new(ONE_STAR_RATE, TWO_STAR_RATE, THREE_STAR_RATE)
.with_pool(pool) .with_pool(pool)
.with_priority(&priority) .with_priority(priority)
.finish() .finish()
.unwrap(); .unwrap();
BannerBuilder::new("悪は一日にして成らず") BannerBuilder::new("悪は一日にして成らず")
.with_gacha(&gacha) .with_gacha(gacha)
.with_name_translation(Language::English, "Evil does not grow in a single Day") .with_name_translation(Language::English, "Evil does not grow in a single Day")
.with_sparkable_students(&sparkable) .with_sparkable_students(sparkable)
.finish() .finish()
.unwrap() .unwrap()
} }