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

Use cargo features to separate out components #14

Open
123vivekr opened this issue Mar 12, 2023 · 0 comments
Open

Use cargo features to separate out components #14

123vivekr opened this issue Mar 12, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@123vivekr
Copy link
Collaborator

123vivekr commented Mar 12, 2023

Currently, running the binary starts up the desktop UI also.

We could maybe use rust package features to effectively separate out the ui component and also the api-server component. This would allow for different modes of operation: as a library, a lib-server or a desktop app.

For example: In the cargo.toml,dnarchery = { version = "1.0", features = ["ui", 'api-server'] }

@123vivekr 123vivekr added enhancement New feature or request good first issue Good for newcomers labels Mar 12, 2023
@123vivekr 123vivekr changed the title Feature: Separate components Use cargo features to separate out components Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant