2021-11-22 11:28:30 -05:00
|
|
|
[package]
|
|
|
|
name = "veilid-cli"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["John Smith <jsmith@example.com>"]
|
2022-01-04 14:25:32 -05:00
|
|
|
edition = "2021"
|
2021-11-22 11:28:30 -05:00
|
|
|
build = "build.rs"
|
|
|
|
license = "LGPL-2.0-or-later OR MPL-2.0 OR (MIT AND BSD-3-Clause)"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "veilid-cli"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
2022-06-27 23:46:29 -04:00
|
|
|
[features]
|
|
|
|
default = [ "rt-tokio" ]
|
|
|
|
rt-async-std = [ "async-std", "veilid-core/rt-async-std" ]
|
|
|
|
rt-tokio = [ "tokio", "tokio-util", "veilid-core/rt-tokio" ]
|
|
|
|
|
2022-06-26 18:04:02 -04:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
2022-06-26 20:30:43 -04:00
|
|
|
cursive = { path = "../external/cursive/cursive", default-features = false, features = ["ncurses-backend", "toml", "rt-async-std"]}
|
2022-06-26 18:04:02 -04:00
|
|
|
|
|
|
|
[target.'cfg(not(unix))'.dependencies]
|
2022-06-26 20:30:43 -04:00
|
|
|
cursive = { path = "../external/cursive/cursive", default-features = false, features = ["crossterm-backend", "toml", "rt-async-std"]}
|
2022-06-26 18:04:02 -04:00
|
|
|
|
2021-11-22 11:28:30 -05:00
|
|
|
[dependencies]
|
2022-06-27 23:46:29 -04:00
|
|
|
async-std = { version = "^1.9", features = ["unstable", "attributes"], optional = true }
|
|
|
|
tokio = { version = "^1", features = ["full"], optional = true }
|
|
|
|
tokio-util = { version = "^0", features = ["compat"], optional = true}
|
|
|
|
async-tungstenite = { version = "^0.8" }
|
2021-11-22 11:28:30 -05:00
|
|
|
cursive-flexi-logger-view = { path = "../external/cursive-flexi-logger-view" }
|
|
|
|
cursive_buffered_backend = { path = "../external/cursive_buffered_backend" }
|
|
|
|
# cursive-multiplex = "0.4.0"
|
|
|
|
# cursive_tree_view = "0.6.0"
|
|
|
|
# cursive_table_view = "0.12.0"
|
|
|
|
# cursive-tabs = "0.5.0"
|
2022-01-10 22:36:54 -05:00
|
|
|
clap = "^3"
|
|
|
|
directories = "^4"
|
2022-06-26 17:00:05 -04:00
|
|
|
log = "^0"
|
|
|
|
futures = "^0"
|
|
|
|
serde = "^1"
|
|
|
|
serde_derive = "^1"
|
|
|
|
parking_lot = "^0"
|
2022-01-10 22:36:54 -05:00
|
|
|
cfg-if = "^1"
|
2022-06-26 17:00:05 -04:00
|
|
|
capnp = "^0"
|
|
|
|
capnp-rpc = "^0"
|
|
|
|
config = { version = "^0", features = ["yaml"] }
|
|
|
|
bugsalot = "^0"
|
2022-06-26 18:20:48 -04:00
|
|
|
flexi_logger = { version = "^0", features = ["use_chrono_for_offset"] }
|
2022-06-26 17:00:05 -04:00
|
|
|
thiserror = "^1"
|
|
|
|
crossbeam-channel = "^0"
|
2022-06-27 23:46:29 -04:00
|
|
|
veilid-core = { path = "../veilid-core", default_features = false}
|
2021-11-22 11:28:30 -05:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-06-26 17:00:05 -04:00
|
|
|
serial_test = "^0"
|
2021-11-22 11:28:30 -05:00
|
|
|
|
|
|
|
[build-dependencies]
|
2022-06-26 17:00:05 -04:00
|
|
|
capnpc = "^0"
|