scribe_analysis/
dependencies.rs

1//! # Dependency Analysis
2//!
3//! Placeholder module for dependency extraction and analysis.
4
5use std::collections::HashSet;
6
7#[derive(Debug, Clone, Default)]
8pub struct Dependencies {
9    pub imports: HashSet<String>,
10    pub exports: HashSet<String>,
11}
12
13impl Dependencies {
14    pub fn new() -> Self {
15        Self::default()
16    }
17
18    pub fn add_import(&mut self, import: String) {
19        self.imports.insert(import);
20    }
21
22    pub fn add_export(&mut self, export: String) {
23        self.exports.insert(export);
24    }
25}