Verified Commit 3c86e30c authored by Jordan Petridis's avatar Jordan Petridis 🌱

Move some `extern crate` declarations to the main.rs file.

parent 7250f952
extern crate gdk;
extern crate gtk;
use self::gtk::prelude::*;
use gtk::prelude::*;
use gtk;
use gdk;
mod attach;
mod autocomplete;
......
extern crate gtk;
extern crate gdk;
extern crate gettextrs;
use self::gtk::prelude::*;
use self::gettextrs::{setlocale, LocaleCategory, bindtextdomain, textdomain};
use gtk;
use gtk::prelude::*;
use gdk;
use gettextrs::{setlocale, LocaleCategory, bindtextdomain, textdomain};
use std::env;
use std::sync::{Arc, Mutex};
use std::sync::mpsc::channel;
......
extern crate gtk;
extern crate comrak;
extern crate chrono;
extern crate tree_magic;
use i18n::i18n;
use std::path::Path;
use self::gtk::prelude::*;
use self::chrono::prelude::*;
use gtk;
use gtk::prelude::*;
use chrono::prelude::*;
use self::comrak::{markdown_to_html, ComrakOptions};
use app::InternalCommand;
......
#![deny(unused_extern_crates)]
extern crate glib;
extern crate gio;
extern crate gtk;
extern crate gdk;
#[macro_use]
extern crate failure;
......@@ -8,6 +10,7 @@ extern crate failure;
#[macro_use]
extern crate serde_derive;
#[macro_use]
extern crate fractal_matrix_api as fractal_api;
......@@ -15,6 +18,9 @@ extern crate html2pango;
extern crate gspell;
extern crate gettextrs;
extern crate chrono;
use fractal_api::backend;
use fractal_api::types;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment