Skip to content

Problems with using as standalone Rust library #49

@KonstFed

Description

@KonstFed

Problem

I have tried to use this project as rust library but some function require custom structures which are now private.

For example function in GraphGenerator:
image

In this case DocumentSymbol is a part of lsp_types, which is private.

Workaround

If it is okay to expose all structures easiest workaround is to make everything public like this:

pub mod generator;
pub mod graph;
pub mod lang;
pub mod lsp_types;

pub use generator::GraphGenerator;

In any case, can you please solve this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions