Cargo.toml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. [package]
  2. name = "code-cli"
  3. version = "0.1.0"
  4. edition = "2021"
  5. default-run = "code"
  6. [lib]
  7. name = "cli"
  8. path = "src/lib.rs"
  9. [[bin]]
  10. name = "code"
  11. [dependencies]
  12. futures = "0.3.28"
  13. clap = { version = "4.3.0", features = ["derive", "env"] }
  14. open = "4.1.0"
  15. reqwest = { version = "0.11.22", default-features = false, features = ["json", "stream", "native-tls"] }
  16. tokio = { version = "1.28.2", features = ["full"] }
  17. tokio-util = { version = "0.7.8", features = ["compat", "codec"] }
  18. flate2 = { version = "1.0.26", default-features = false, features = ["zlib"] }
  19. zip = { version = "0.6.6", default-features = false, features = ["time", "deflate-zlib"] }
  20. regex = "1.8.3"
  21. lazy_static = "1.4.0"
  22. sysinfo = { version = "0.29.0", default-features = false }
  23. serde = { version = "1.0.163", features = ["derive"] }
  24. serde_json = "1.0.96"
  25. rmp-serde = "1.1.1"
  26. uuid = { version = "1.4", features = ["serde", "v4"] }
  27. dirs = "5.0.1"
  28. rand = "0.8.5"
  29. opentelemetry = { version = "0.19.0", features = ["rt-tokio"] }
  30. serde_bytes = "0.11.9"
  31. chrono = { version = "0.4.26", features = ["serde", "std", "clock"], default-features = false }
  32. gethostname = "0.4.3"
  33. libc = "0.2.144"
  34. tunnels = { git = "https://github.com/microsoft/dev-tunnels", rev = "8cae9b2a24c65c6c1958f5a0e77d72b23b5c6c30", default-features = false, features = ["connections"] }
  35. keyring = { version = "2.0.3", default-features = false, features = ["linux-secret-service-rt-tokio-crypto-openssl"] }
  36. dialoguer = "0.10.4"
  37. hyper = { version = "0.14.26", features = ["server", "http1", "runtime"] }
  38. indicatif = "0.17.4"
  39. tempfile = "3.5.0"
  40. clap_lex = "0.5.0"
  41. url = "2.3.1"
  42. async-trait = "0.1.68"
  43. log = "0.4.18"
  44. const_format = "0.2.31"
  45. sha2 = "0.10.6"
  46. base64 = "0.21.2"
  47. shell-escape = "0.1.5"
  48. thiserror = "1.0.40"
  49. cfg-if = "1.0.0"
  50. pin-project = "1.1.0"
  51. console = "0.15.7"
  52. bytes = "1.4.0"
  53. tar = "0.4.38"
  54. [build-dependencies]
  55. serde = { version="1.0.163", features = ["derive"] }
  56. serde_json = "1.0.96"
  57. [target.'cfg(windows)'.dependencies]
  58. winreg = "0.50.0"
  59. winapi = "0.3.9"
  60. [target.'cfg(target_os = "macos")'.dependencies]
  61. core-foundation = "0.9.3"
  62. [target.'cfg(target_os = "linux")'.dependencies]
  63. zbus = { version = "3.13.1", default-features = false, features = ["tokio"] }
  64. [patch.crates-io]
  65. russh = { git = "https://github.com/microsoft/vscode-russh", branch = "main" }
  66. russh-cryptovec = { git = "https://github.com/microsoft/vscode-russh", branch = "main" }
  67. russh-keys = { git = "https://github.com/microsoft/vscode-russh", branch = "main" }
  68. [profile.release]
  69. strip = true
  70. lto = true
  71. codegen-units = 1
  72. [features]
  73. default = []
  74. vscode-encrypt = []