summaryrefslogtreecommitdiff
path: root/support/texlab/crates/base-db/src/lib.rs
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-03-25 03:03:04 +0000
committerNorbert Preining <norbert@preining.info>2024-03-25 03:03:04 +0000
commit05f8146ef2eea2cd71b9c96583c6d893e6c76af5 (patch)
tree615019c00dc1d5e6ec2636bbbb30852f241c04ee /support/texlab/crates/base-db/src/lib.rs
parent1feacf4295bab2d8f05aa0f5fbd1d902559bef36 (diff)
CTAN sync 202403250302
Diffstat (limited to 'support/texlab/crates/base-db/src/lib.rs')
-rw-r--r--support/texlab/crates/base-db/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/texlab/crates/base-db/src/lib.rs b/support/texlab/crates/base-db/src/lib.rs
index d2db7d4391..7e0233b2c3 100644
--- a/support/texlab/crates/base-db/src/lib.rs
+++ b/support/texlab/crates/base-db/src/lib.rs
@@ -1,7 +1,7 @@
mod config;
pub mod data;
+pub mod deps;
mod document;
-pub mod graph;
pub mod semantics;
pub mod util;
mod workspace;
@@ -11,13 +11,13 @@ pub use self::{config::*, document::*, workspace::*};
#[derive(Debug)]
pub struct FeatureParams<'a> {
pub document: &'a Document,
- pub project: Project<'a>,
+ pub project: deps::Project<'a>,
pub workspace: &'a Workspace,
}
impl<'a> FeatureParams<'a> {
pub fn new(workspace: &'a Workspace, document: &'a Document) -> Self {
- let project = workspace.project(document);
+ let project = deps::Project::from_child(workspace, document);
Self {
document,
project,