Remove unneeded "extern crate" statements

timeout_old
Tassilo Horn 4 years ago
parent dd348a4518
commit 52fdedc534
  1. 4
      src/bin/swayr.rs
  2. 3
      src/bin/swayrd.rs
  3. 2
      src/client.rs
  4. 5
      src/ipc.rs

@ -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;

@ -1,8 +1,5 @@
//! The `swayrd` binary.
extern crate serde;
extern crate serde_json;
use swayr::demon;
fn main() {

@ -1,5 +1,3 @@
extern crate serde_json;
use crate::ipc;
use crate::util;
use std::io::Write;

@ -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;

Loading…
Cancel
Save