forked from rojo-rbx/rojo
Remove remaining 'extern crate' declarations
This commit is contained in:
@@ -5,6 +5,8 @@ use std::{
|
|||||||
io,
|
io,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
use serde_derive::{Serialize, Deserialize};
|
||||||
|
|
||||||
use crate::project::{Project, ProjectNode};
|
use crate::project::{Project, ProjectNode};
|
||||||
|
|
||||||
fn add_sync_points(imfs: &mut Imfs, project_node: &ProjectNode) -> io::Result<()> {
|
fn add_sync_points(imfs: &mut Imfs, project_node: &ProjectNode) -> io::Result<()> {
|
||||||
|
|||||||
@@ -1,9 +1,3 @@
|
|||||||
#[macro_use]
|
|
||||||
extern crate serde_derive;
|
|
||||||
|
|
||||||
#[cfg(test)]
|
|
||||||
extern crate tempfile;
|
|
||||||
|
|
||||||
pub mod commands;
|
pub mod commands;
|
||||||
pub mod fs_watcher;
|
pub mod fs_watcher;
|
||||||
pub mod imfs;
|
pub mod imfs;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ use std::{
|
|||||||
collections::{HashMap, HashSet},
|
collections::{HashMap, HashSet},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
use serde_derive::Serialize;
|
||||||
use log::warn;
|
use log::warn;
|
||||||
|
|
||||||
#[derive(Debug, Serialize)]
|
#[derive(Debug, Serialize)]
|
||||||
|
|||||||
@@ -6,9 +6,10 @@ use std::{
|
|||||||
path::{Path, PathBuf},
|
path::{Path, PathBuf},
|
||||||
};
|
};
|
||||||
|
|
||||||
use maplit::hashmap;
|
|
||||||
use failure::Fail;
|
use failure::Fail;
|
||||||
|
use maplit::hashmap;
|
||||||
use rbx_tree::RbxValue;
|
use rbx_tree::RbxValue;
|
||||||
|
use serde_derive::{Serialize, Deserialize};
|
||||||
|
|
||||||
pub static PROJECT_FILENAME: &'static str = "roblox-project.json";
|
pub static PROJECT_FILENAME: &'static str = "roblox-project.json";
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ use std::{
|
|||||||
sync::{Arc, Mutex},
|
sync::{Arc, Mutex},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
use serde_derive::{Serialize, Deserialize};
|
||||||
use log::{info, trace};
|
use log::{info, trace};
|
||||||
use failure::Fail;
|
use failure::Fail;
|
||||||
use rbx_tree::{RbxTree, RbxInstanceProperties, RbxValue, RbxId};
|
use rbx_tree::{RbxTree, RbxInstanceProperties, RbxValue, RbxId};
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ use std::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
use rbx_tree::{RbxTree, RbxId, RbxInstanceProperties, RbxValue};
|
use rbx_tree::{RbxTree, RbxId, RbxInstanceProperties, RbxValue};
|
||||||
|
use serde_derive::{Serialize, Deserialize};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
path_map::PathMap,
|
path_map::PathMap,
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ use std::{
|
|||||||
sync::{mpsc, Arc},
|
sync::{mpsc, Arc},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
use serde_derive::{Serialize, Deserialize};
|
||||||
use log::trace;
|
use log::trace;
|
||||||
use rouille::{
|
use rouille::{
|
||||||
self,
|
self,
|
||||||
|
|||||||
Reference in New Issue
Block a user