refactor for workspace and static link the client ncurses

This commit is contained in:
John Smith
2021-11-23 19:13:52 -05:00
parent 084cf709c7
commit 21548771ab
10 changed files with 766 additions and 6089 deletions

3456
veilid-cli/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -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

View File

@@ -4,4 +4,8 @@ fn main() {
.src_prefix("../veilid-server/")
.run()
.expect("compiling schema");
#[cfg(unix)]
{
println!("cargo:rustc-link-lib=static=ncursesw");
}
}