Remove unneeded "extern crate" statements

timeout_old
Tassilo Horn 3 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. //! The `swayr` binary.
#[macro_use] use clap::{crate_version, Clap};
extern crate clap;
use clap::Clap;
use swayr::client; use swayr::client;
use swayr::ipc; use swayr::ipc;

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

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

@ -1,10 +1,5 @@
//! Extensions of swayipc types and IPC structs. //! Extensions of swayipc types and IPC structs.
extern crate serde;
extern crate serde_json;
extern crate swayipc;
extern crate users;
use clap::Clap; use clap::Clap;
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use swayipc::reply as r; use swayipc::reply as r;

Loading…
Cancel
Save