Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internally manage dependencies and modules #2

Open
123vivekr opened this issue Mar 10, 2024 · 2 comments
Open

Internally manage dependencies and modules #2

123vivekr opened this issue Mar 10, 2024 · 2 comments

Comments

@123vivekr
Copy link
Member

Code

In main.rs

use timers::Config;
fn main() {
    timers::run(config);
}

In lib.rs

pub fn run(config: Config) {}

Issue

graphviz shows = main -> ...main.rs.timers::run but should be ...lib.rs.run

Explanation

Imports are not explicitly clear from rust AST. We have to track import statements and internally manage dependencies and modules.

@123vivekr
Copy link
Member Author

123vivekr commented Mar 13, 2024

Imports feature checklist

  • Single imports
  • Multiple imports
  • Aliased imports
  • Multiple aliased imports

Support for multiple languages

  • Python
  • Rust
  • Javascript
  • Typescript

@Alexandreslv24
Copy link

use timers::Config;
fn main() {
timers::run(config);}

pub fn run(config: Config) {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants