2022-09-19 20:29:04 +00:00
|
|
|
[package]
|
|
|
|
name = "code-cli"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
default-run = "code"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "cli"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "code"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
futures = "0.3"
|
|
|
|
clap = { version = "3.0", features = ["derive", "env"] }
|
|
|
|
open = { version = "2.1.0" }
|
|
|
|
reqwest = { version = "0.11.9", default-features = false, features = ["json", "stream", "native-tls-vendored"] }
|
2023-01-09 16:18:25 +00:00
|
|
|
tokio = { version = "1.23", features = ["full"] }
|
2022-09-19 20:29:04 +00:00
|
|
|
tokio-util = { version = "0.7", features = ["compat"] }
|
|
|
|
flate2 = { version = "1.0.22" }
|
|
|
|
zip = { version = "0.5.13", default-features = false, features = ["time", "deflate"] }
|
|
|
|
regex = { version = "1.5.5" }
|
|
|
|
lazy_static = { version = "1.4.0" }
|
|
|
|
sysinfo = { version = "0.23.5" }
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = { version = "1.0" }
|
|
|
|
rmp-serde = "1.0"
|
|
|
|
uuid = { version = "0.8.2", features = ["serde", "v4"] }
|
|
|
|
dirs = "4.0.0"
|
|
|
|
rand = "0.8.5"
|
|
|
|
atty = "0.2.14"
|
|
|
|
opentelemetry = { version = "0.18.0", features = ["rt-tokio"] }
|
|
|
|
opentelemetry-application-insights = { version = "0.22.0", features = ["reqwest-client-vendored-tls"] }
|
|
|
|
serde_bytes = "0.11.5"
|
2022-09-20 15:57:55 +00:00
|
|
|
chrono = { version = "0.4", features = ["serde"] }
|
2022-09-19 20:29:04 +00:00
|
|
|
gethostname = "0.2.3"
|
|
|
|
libc = "0.2"
|
2022-10-13 15:59:20 +00:00
|
|
|
tunnels = { git = "https://github.com/microsoft/dev-tunnels", rev = "3870e9133dfb9557774521bb447827f19b26e55d", default-features = false, features = ["connections", "vendored-openssl"] }
|
2022-09-19 20:29:04 +00:00
|
|
|
keyring = "1.1"
|
|
|
|
dialoguer = "0.10"
|
|
|
|
hyper = "0.14"
|
|
|
|
indicatif = "0.16"
|
|
|
|
tempfile = "3.3"
|
|
|
|
clap_lex = "0.2"
|
|
|
|
url = "2.3"
|
|
|
|
async-trait = "0.1"
|
|
|
|
log = "0.4"
|
2022-11-19 02:52:52 +00:00
|
|
|
const_format = "0.2"
|
2022-11-28 17:03:15 +00:00
|
|
|
sha2 = "0.10"
|
|
|
|
base64 = "0.13"
|
2022-09-19 20:29:04 +00:00
|
|
|
|
2022-11-22 14:13:16 +00:00
|
|
|
[build-dependencies]
|
|
|
|
serde = { version = "1.0" }
|
|
|
|
serde_json = { version = "1.0" }
|
|
|
|
|
2022-09-19 20:29:04 +00:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
|
|
windows-service = "0.5"
|
2022-10-20 16:18:22 +00:00
|
|
|
winreg = "0.10"
|
2022-09-19 20:29:04 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
|
|
tar = { version = "0.4" }
|
2022-11-15 05:39:05 +00:00
|
|
|
zbus = { version = "3.4", default-features = false, features = ["tokio"] }
|
2022-09-19 20:29:04 +00:00
|
|
|
|
2022-10-13 15:59:20 +00:00
|
|
|
[patch.crates-io]
|
|
|
|
russh = { git = "https://github.com/microsoft/vscode-russh", branch = "main" }
|
|
|
|
russh-cryptovec = { git = "https://github.com/microsoft/vscode-russh", branch = "main" }
|
|
|
|
russh-keys = { git = "https://github.com/microsoft/vscode-russh", branch = "main" }
|
2022-10-17 16:43:48 +00:00
|
|
|
secret-service = { git = "https://github.com/microsoft/vscode-secret-service-rs", rev = "30f0414108a122d6f2bfc28a5425d0dac9738518" }
|
2022-10-13 15:59:20 +00:00
|
|
|
|
2022-09-19 20:29:04 +00:00
|
|
|
[profile.release]
|
|
|
|
strip = true
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
|
|
|
|
|
|
|
[features]
|
2022-09-20 16:15:01 +00:00
|
|
|
default = []
|
2022-09-19 20:29:04 +00:00
|
|
|
vscode-encrypt = []
|