Skip to content

Commit d7b336d

Browse files
committed
Update library name to yeet
1 parent b3e0c63 commit d7b336d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ smol_str = "=0.1.16"
3535

3636

3737
[lib]
38-
name = "deploy"
38+
name = "yeet"
3939
path = "src/lib.rs"

src/bin/activate.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ pub async fn activation_confirmation(
232232
confirm_timeout: u16,
233233
closure: String,
234234
) -> Result<(), ActivationConfirmationError> {
235-
let lock_path = deploy::make_lock_path(&temp_path, &closure);
235+
let lock_path = yeet::make_lock_path(&temp_path, &closure);
236236

237237
debug!("Ensuring parent directory exists for canary file");
238238

@@ -295,7 +295,7 @@ pub enum WaitError {
295295
Waiting(#[from] DangerZoneError),
296296
}
297297
pub async fn wait(temp_path: String, closure: String) -> Result<(), WaitError> {
298-
let lock_path = deploy::make_lock_path(&temp_path, &closure);
298+
let lock_path = yeet::make_lock_path(&temp_path, &closure);
299299

300300
let (created, done) = mpsc::channel(1);
301301

@@ -460,13 +460,13 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
460460

461461
let opts: Opts = Opts::parse();
462462

463-
deploy::init_logger(
463+
yeet::init_logger(
464464
opts.debug_logs,
465465
opts.log_dir.as_deref(),
466466
&match opts.subcmd {
467-
SubCommand::Activate(_) => deploy::LoggerType::Activate,
468-
SubCommand::Wait(_) => deploy::LoggerType::Wait,
469-
SubCommand::Revoke(_) => deploy::LoggerType::Revoke,
467+
SubCommand::Activate(_) => yeet::LoggerType::Activate,
468+
SubCommand::Wait(_) => yeet::LoggerType::Wait,
469+
SubCommand::Revoke(_) => yeet::LoggerType::Revoke,
470470
},
471471
)?;
472472

src/bin/yeet.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
//
44
// SPDX-License-Identifier: MPL-2.0
55

6-
use deploy::cli;
76
use log::error;
7+
use yeet::cli;
88

99
#[tokio::main]
1010
async fn main() -> Result<(), Box<dyn std::error::Error>> {

0 commit comments

Comments
 (0)