Rename rust crates

This commit is contained in:
Xiretza 2022-12-01 18:11:59 +01:00
parent b0821bc945
commit 7aa3a53570
28 changed files with 12 additions and 12 deletions

View file

@ -1,5 +1,5 @@
[package]
name = "day1_rs"
name = "rust_2021_1"
version = "0.1.0"
edition = "2021"

View file

@ -1,5 +1,5 @@
[package]
name = "day12_rs"
name = "rust_2021_12"
version = "0.1.0"
edition = "2021"

View file

@ -1,5 +1,5 @@
[package]
name = "day16_rs"
name = "rust_2021_13"
version = "0.1.0"
edition = "2021"

View file

@ -1,5 +1,5 @@
[package]
name = "day22_rs"
name = "rust_2021_14"
version = "0.1.0"
edition = "2021"

View file

@ -1,5 +1,5 @@
[package]
name = "day13_rs"
name = "rust_2021_16"
version = "0.1.0"
edition = "2021"

View file

@ -1,5 +1,5 @@
[package]
name = "day14_rs"
name = "rust_2021_22"
version = "0.1.0"
edition = "2021"

View file

@ -1,5 +1,5 @@
[package]
name = "day3_rs"
name = "rust_2021_3"
version = "0.1.0"
edition = "2021"

View file

@ -1,5 +1,5 @@
[package]
name = "day5_rs"
name = "rust_2021_5"
version = "0.1.0"
edition = "2021"

View file

@ -1,5 +1,5 @@
[package]
name = "day8_rs"
name = "rust_2021_8"
version = "0.1.0"
edition = "2021"

View file

@ -1,7 +1,7 @@
use std::{fs, path::PathBuf};
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use day8_rs::{v1, v2, v3};
use rust_2021_8::{v1, v2, v3};
pub fn criterion_benchmark(c: &mut Criterion) {
let mut group = c.benchmark_group("unscramble");

View file

@ -1,5 +1,5 @@
#![warn(clippy::pedantic)]
use day8_rs::{v3::unscramble, LineResult};
use rust_2021_8::{v3::unscramble, LineResult};
use std::io::{stdin, BufRead};
fn main() {

View file

@ -1,6 +1,6 @@
use std::path::PathBuf;
use day8_rs::{v1, v2, v3, LineResult};
use rust_2021_8::{v1, v2, v3, LineResult};
fn test_unscramble_with_input(f: fn(&str) -> LineResult, input: &[&str]) -> LineResult {
let mut result = LineResult {