Updated cargo configuration and fixed library loading
This commit is contained in:
parent
a0e1121eda
commit
d97ac18676
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@ build/
|
|||||||
.cxx
|
.cxx
|
||||||
rs/target/
|
rs/target/
|
||||||
rs/Cargo.lock
|
rs/Cargo.lock
|
||||||
|
src/main/resources/*gitnuro_rs*
|
||||||
|
@ -11,5 +11,8 @@ name = "gitnuro_rs"
|
|||||||
notify = "6.1.1"
|
notify = "6.1.1"
|
||||||
thiserror = "1.0.56"
|
thiserror = "1.0.56"
|
||||||
libssh-rs = { version = "0.3.3", features = ["vendored", "vendored-openssl"] }
|
libssh-rs = { version = "0.3.3", features = ["vendored", "vendored-openssl"] }
|
||||||
kotars = { path = "/home/abde/Projects/Rust/kotars/kotars" } #{ git = "https://github.com/JetpackDuba/kotars.git" }
|
kotars = { git = "https://github.com/JetpackDuba/kotars.git" }
|
||||||
jni = "0.21.1"
|
jni = "0.21.1"
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
strip = true
|
@ -175,7 +175,7 @@ class App {
|
|||||||
else -> throw Exception("OS not supported")
|
else -> throw Exception("OS not supported")
|
||||||
}
|
}
|
||||||
|
|
||||||
val gitnuroRsInputStream = javaClass.getResourceAsStream(gitnuroRsName)
|
val gitnuroRsInputStream = javaClass.getResourceAsStream("/$gitnuroRsName")
|
||||||
|
|
||||||
gitnuroRsInputStream?.use { inputStream ->
|
gitnuroRsInputStream?.use { inputStream ->
|
||||||
val tempDir = tempFilesManager.tempDir()
|
val tempDir = tempFilesManager.tempDir()
|
||||||
|
Loading…
Reference in New Issue
Block a user