mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 11:59:49 +00:00
internal: reduce crate interdependence
I don't think there's anything wrong with project_model depending on proc_macro_api directly -- fundamentally, both are about gluing our pure data model to the messy outside world. However, it's easy enough to avoid the dependency, so why not. As an additional consideration, `proc_macro_api` now pulls in `base_db`. project_model should definitely not depend on that!
This commit is contained in:
parent
5cef007bff
commit
881d71a489
9 changed files with 44 additions and 41 deletions
|
@ -50,8 +50,6 @@ pub use crate::{
|
|||
workspace::{CfgOverrides, PackageRoot, ProjectWorkspace},
|
||||
};
|
||||
|
||||
pub use proc_macro_api::ProcMacroClient;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Hash, Ord, PartialOrd)]
|
||||
pub enum ProjectManifest {
|
||||
ProjectJson(ManifestPath),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue