mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-28 18:43:01 +00:00
internal: Split serde derive feature into serde_derive usage
Ideally we'd not have any dependency pull in the derive feature for faster build times, once that is the case this change would have an actual effect. See https://github.com/matklad/macro-dep-test/blob/master/README.md for context.
This commit is contained in:
parent
27fac08c82
commit
5211972743
19 changed files with 58 additions and 56 deletions
|
|
@ -15,7 +15,7 @@ use itertools::Itertools;
|
|||
use la_arena::ArenaMap;
|
||||
use paths::{AbsPath, AbsPathBuf, Utf8PathBuf};
|
||||
use rustc_hash::{FxHashMap, FxHashSet};
|
||||
use serde::Deserialize;
|
||||
use serde::Deserialize as _;
|
||||
use toolchain::Tool;
|
||||
|
||||
use crate::{
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ use cargo_metadata::{CargoOpt, MetadataCommand};
|
|||
use la_arena::{Arena, Idx};
|
||||
use paths::{AbsPath, AbsPathBuf, Utf8PathBuf};
|
||||
use rustc_hash::{FxHashMap, FxHashSet};
|
||||
use serde::Deserialize;
|
||||
use serde_derive::Deserialize;
|
||||
use serde_json::from_value;
|
||||
use span::Edition;
|
||||
use toolchain::Tool;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue