diff --git a/Cargo.lock b/Cargo.lock index ef181dc..8cae5ce 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -198,7 +198,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" [[package]] -name = "clockin" +name = "clock" version = "0.1.0" dependencies = [ "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 0a02b91..b3670e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ resolver = "2" version = "0.1.0" [workspace.dependencies] -clockin = { path = "crates/clockin" } +clock = { path = "crates/clock" } anyhow = { version = "1" } tokio = { version = "1", features = ["full"] } diff --git a/README.md b/README.md index f8be612..1c70300 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# clockin +# clock diff --git a/crates/clockin/.gitignore b/crates/clock/.gitignore similarity index 100% rename from crates/clockin/.gitignore rename to crates/clock/.gitignore diff --git a/crates/clockin/Cargo.toml b/crates/clock/Cargo.toml similarity index 96% rename from crates/clockin/Cargo.toml rename to crates/clock/Cargo.toml index b6f18b6..c826783 100644 --- a/crates/clockin/Cargo.toml +++ b/crates/clock/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "clockin" +name = "clock" edition = "2021" version.workspace = true diff --git a/crates/clockin/src/main.rs b/crates/clock/src/main.rs similarity index 99% rename from crates/clockin/src/main.rs rename to crates/clock/src/main.rs index 9a44678..2e4f589 100644 --- a/crates/clockin/src/main.rs +++ b/crates/clock/src/main.rs @@ -45,7 +45,7 @@ async fn main() -> anyhow::Result<()> { let dir = dirs::data_dir() .expect("to be able to get a data dir") - .join("clockin") + .join("clock") .join("timetable.json"); let mut timetable = if dir.exists() { diff --git a/cuddle.yaml b/cuddle.yaml index 2e6f93a..945f51a 100644 --- a/cuddle.yaml +++ b/cuddle.yaml @@ -3,13 +3,13 @@ base: "git@git.front.kjuulh.io:kjuulh/cuddle-rust-cli-plan.git" vars: - service: "clockin" + service: "clock" registry: kasperhermansen please: project: owner: kjuulh - repository: "clockin" + repository: "clock" branch: "main" settings: api_url: "https://git.front.kjuulh.io"