Remove remaining 'extern crate' declarations

This commit is contained in:
Lucien Greathouse
2019-01-15 12:44:49 -08:00
parent 5b2a830d2d
commit 9d3638fa46
7 changed files with 8 additions and 7 deletions

View File

@@ -5,6 +5,8 @@ use std::{
io,
};
use serde_derive::{Serialize, Deserialize};
use crate::project::{Project, ProjectNode};
fn add_sync_points(imfs: &mut Imfs, project_node: &ProjectNode) -> io::Result<()> {

View File

@@ -1,9 +1,3 @@
#[macro_use]
extern crate serde_derive;
#[cfg(test)]
extern crate tempfile;
pub mod commands;
pub mod fs_watcher;
pub mod imfs;

View File

@@ -3,6 +3,7 @@ use std::{
collections::{HashMap, HashSet},
};
use serde_derive::Serialize;
use log::warn;
#[derive(Debug, Serialize)]

View File

@@ -6,9 +6,10 @@ use std::{
path::{Path, PathBuf},
};
use maplit::hashmap;
use failure::Fail;
use maplit::hashmap;
use rbx_tree::RbxValue;
use serde_derive::{Serialize, Deserialize};
pub static PROJECT_FILENAME: &'static str = "roblox-project.json";

View File

@@ -7,6 +7,7 @@ use std::{
sync::{Arc, Mutex},
};
use serde_derive::{Serialize, Deserialize};
use log::{info, trace};
use failure::Fail;
use rbx_tree::{RbxTree, RbxInstanceProperties, RbxValue, RbxId};

View File

@@ -7,6 +7,7 @@ use std::{
};
use rbx_tree::{RbxTree, RbxId, RbxInstanceProperties, RbxValue};
use serde_derive::{Serialize, Deserialize};
use crate::{
path_map::PathMap,

View File

@@ -4,6 +4,7 @@ use std::{
sync::{mpsc, Arc},
};
use serde_derive::{Serialize, Deserialize};
use log::trace;
use rouille::{
self,