mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
refactor for workspace and static link the client ncurses
This commit is contained in:
parent
084cf709c7
commit
21548771ab
5
.gitignore
vendored
5
.gitignore
vendored
@ -57,3 +57,8 @@ $RECYCLE.BIN/
|
||||
# Windows shortcuts
|
||||
*.lnk
|
||||
|
||||
###############################################################################
|
||||
### Rust
|
||||
/target
|
||||
/logs
|
||||
|
||||
|
774
veilid-cli/Cargo.lock → Cargo.lock
generated
774
veilid-cli/Cargo.lock → Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
17
Cargo.toml
Normal file
17
Cargo.toml
Normal file
@ -0,0 +1,17 @@
|
||||
[workspace]
|
||||
|
||||
members = [
|
||||
"veilid-core",
|
||||
"veilid-server",
|
||||
"veilid-cli"
|
||||
]
|
||||
|
||||
exclude = [ "./external/cursive" ]
|
||||
|
||||
[patch.crates-io]
|
||||
cursive = { path = "./external/cursive/cursive" }
|
||||
cursive_core = { path = "./external/cursive/cursive-core" }
|
||||
|
||||
[profile.release]
|
||||
opt-level = "s"
|
||||
lto = true
|
2
external/cursive-flexi-logger-view
vendored
2
external/cursive-flexi-logger-view
vendored
@ -1 +1 @@
|
||||
Subproject commit 1efc24f1ffd5b088d0cc64ddbe6409c35eb42a0a
|
||||
Subproject commit bdfdcb0b962cc28651e3c205393da1a3b330e739
|
@ -10,10 +10,6 @@ license = "LGPL-2.0-or-later OR MPL-2.0 OR (MIT AND BSD-3-Clause)"
|
||||
name = "veilid-cli"
|
||||
path = "src/main.rs"
|
||||
|
||||
[patch.crates-io]
|
||||
cursive = { path = "../external/cursive/cursive", default-features = false, features = ["crossterm-backend", "toml"]}
|
||||
cursive_core = { path = "../external/cursive/cursive-core" }
|
||||
|
||||
[dependencies]
|
||||
async-std = { version = "^1.9", features = ["unstable", "attributes"] }
|
||||
async-tungstenite = { version = "^0.8", features = ["async-std-runtime"] }
|
||||
@ -47,6 +43,3 @@ serial_test = "^0.4"
|
||||
|
||||
[build-dependencies]
|
||||
capnpc = "^0.14"
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
|
@ -4,4 +4,8 @@ fn main() {
|
||||
.src_prefix("../veilid-server/")
|
||||
.run()
|
||||
.expect("compiling schema");
|
||||
#[cfg(unix)]
|
||||
{
|
||||
println!("cargo:rustc-link-lib=static=ncursesw");
|
||||
}
|
||||
}
|
||||
|
2920
veilid-core/Cargo.lock
generated
2920
veilid-core/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -135,9 +135,5 @@ wasm-bindgen-test = "^0"
|
||||
[build-dependencies]
|
||||
capnpc = "^0"
|
||||
|
||||
[profile.release]
|
||||
opt-level = "s"
|
||||
lto = true
|
||||
|
||||
[package.metadata.wasm-pack.profile.release]
|
||||
wasm-opt = ["-O", "--enable-mutable-globals"]
|
||||
|
3119
veilid-server/Cargo.lock
generated
3119
veilid-server/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -43,6 +43,3 @@ serial_test = "^0"
|
||||
|
||||
[build-dependencies]
|
||||
capnpc = "^0"
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
|
Loading…
Reference in New Issue
Block a user