aboutsummaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authornotgne22021-02-08 23:47:32 -0700
committerGitHub2021-02-08 23:47:32 -0700
commit96a268db2dceb6b6c63d3fa2d47e2c188a1b11f4 (patch)
treecd58b4f6436bda62b08fd6ee266850f28d32769c /src/bin
parent4f4c1e3cf7c9bc13a1dfd7d0035696cf6e7eaeb6 (diff)
parent8571c086c591cd154f3b23b5c552c1b87bf1975d (diff)
Merge pull request #47 from lovesegfault/style-fixes
changed: assorted fixes
Diffstat (limited to '')
-rw-r--r--src/bin/activate.rs5
-rw-r--r--src/bin/deploy.rs11
2 files changed, 4 insertions, 12 deletions
diff --git a/src/bin/activate.rs b/src/bin/activate.rs
index 2f13b44..947e883 100644
--- a/src/bin/activate.rs
+++ b/src/bin/activate.rs
@@ -20,10 +20,7 @@ use notify::{RecommendedWatcher, RecursiveMode, Watcher};
use thiserror::Error;
-#[macro_use]
-extern crate log;
-
-extern crate serde_derive;
+use log::{debug, error, info, warn};
/// Remote activation utility for deploy-rs
#[derive(Clap, Debug)]
diff --git a/src/bin/deploy.rs b/src/bin/deploy.rs
index 30ebd25..8bd8b18 100644
--- a/src/bin/deploy.rs
+++ b/src/bin/deploy.rs
@@ -7,16 +7,11 @@ use std::io::{stdin, stdout, Write};
use clap::Clap;
+use log::{debug, error, info, warn};
+use serde::Serialize;
use std::process::Stdio;
-use tokio::process::Command;
-
use thiserror::Error;
-
-#[macro_use]
-extern crate log;
-
-#[macro_use]
-extern crate serde_derive;
+use tokio::process::Command;
/// Simple Rust rewrite of a simple Nix Flake deployment tool
#[derive(Clap, Debug)]