~tsdh/swayr

52fdedc53440a57cba71d127eb90a62f4e5bf4b2 — Tassilo Horn 28 days ago dd348a4
Remove unneeded "extern crate" statements
4 files changed, 1 insertions(+), 13 deletions(-)

M src/bin/swayr.rs
M src/bin/swayrd.rs
M src/client.rs
M src/ipc.rs
M src/bin/swayr.rs => src/bin/swayr.rs +1 -3
@@ 1,8 1,6 @@
//! The `swayr` binary.

#[macro_use]
extern crate clap;
use clap::Clap;
use clap::{crate_version, Clap};
use swayr::client;
use swayr::ipc;


M src/bin/swayrd.rs => src/bin/swayrd.rs +0 -3
@@ 1,8 1,5 @@
//! The `swayrd` binary.

extern crate serde;
extern crate serde_json;

use swayr::demon;

fn main() {

M src/client.rs => src/client.rs +0 -2
@@ 1,5 1,3 @@
extern crate serde_json;

use crate::ipc;
use crate::util;
use std::io::Write;

M src/ipc.rs => src/ipc.rs +0 -5
@@ 1,10 1,5 @@
//! Extensions of swayipc types and IPC structs.

extern crate serde;
extern crate serde_json;
extern crate swayipc;
extern crate users;

use clap::Clap;
use serde::{Deserialize, Serialize};
use swayipc::reply as r;