Skip to content

Added use of rust-embed macros to embedded the resource files in the build binary.#34

Open
sroebuck wants to merge 1 commit into
fede1024:masterfrom
sroebuck:embedded_resource_files
Open

Added use of rust-embed macros to embedded the resource files in the build binary.#34
sroebuck wants to merge 1 commit into
fede1024:masterfrom
sroebuck:embedded_resource_files

Conversation

@sroebuck
Copy link
Copy Markdown

Currently, if you run kafka-view outside of the build directory it can't find the web resource files needed to render the web pages.

This pull request included the rust-embed library which embeds the resource in the release build but still works from the local files for debug builds.

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

Successfully merging this pull request may close these issues.

1 participant