diff options
author | notgne2 | 2021-02-09 03:00:48 -0700 |
---|---|---|
committer | notgne2 | 2021-02-09 03:00:48 -0700 |
commit | c27b76e00101a1190c46c80fc1618c2732827d96 (patch) | |
tree | 6e1de8e143b1565d60798549ab235fe7d9993ccc /src/bin | |
parent | 64f84aaf87b8771cd8050d932c96400df9ccd75b (diff) | |
parent | 4f956e0979d6e2617a0800062627a345337bff71 (diff) |
Merge branch 'master' into notgne2/set-tmp-in-nixos-activation
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/activate.rs | 5 | ||||
-rw-r--r-- | src/bin/deploy.rs | 11 |
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)] |