-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compilation error with package managers
This commit will fix the compilation errors appearing when trying to build wiki-tui for a package manager. The underlying error is with the hard-coded path to the languages.json in the proc-macro, which gets interpreted in multiple ways depending on how wiki-tui is compiled (for example, `cargo publish` works, but building through nixpkgs doesn't). It fixes the issue by removing the path dependency completely and instead passing the entire json file as a string literal to the proc-macro Signed-off-by: Builditluc <[email protected]>
- Loading branch information
1 parent
48bb060
commit 536deee
Showing
7 changed files
with
8,109 additions
and
8,112 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ members = ["wiki-api", "wiki-api-macros"] | |
|
||
[package] | ||
name = "wiki-tui" | ||
version = "0.9.0" | ||
version = "0.9.1" | ||
authors = ["builditluc <[email protected]>"] | ||
edition = "2018" | ||
rust-version = "1.76.0" | ||
|
@@ -42,4 +42,4 @@ bitflags = { version = "2.6.0", features = ["serde"] } | |
|
||
[dependencies.wiki-api] | ||
path = "wiki-api" | ||
version = "0.1.0" | ||
version = "0.1.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "wiki-api-macros" | ||
version = "0.1.0" | ||
version = "0.1.2" | ||
authors = ["builditluc <[email protected]>"] | ||
edition = "2018" | ||
description = "Proc-macros for use within wiki-api" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "wiki-api" | ||
version = "0.1.0" | ||
version = "0.1.1" | ||
authors = ["builditluc <[email protected]>"] | ||
edition = "2018" | ||
description = "Backend for wiki-tui" | ||
|
@@ -30,4 +30,4 @@ urlencoding = "2.1.3" | |
|
||
[dependencies.wiki-api-macros] | ||
path = "../wiki-api-macros" | ||
version = "0.1.0" | ||
version = "0.1.2" |
Oops, something went wrong.