diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2022-11-22 21:07:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-22 21:07:35 +0100 |
commit | 13e3acf71dd8443d8d158087d8c0a0cb72167f9a (patch) | |
tree | 7455c069643f10bc9de5d6c8993defddeda378fd /cli | |
parent | 14904f6a2cac6b288a893add3e129c2668ea3a5a (diff) |
chore: workspace inheritance (#16343)
Diffstat (limited to 'cli')
-rw-r--r-- | cli/Cargo.toml | 98 | ||||
-rw-r--r-- | cli/napi_sym/Cargo.toml | 18 |
2 files changed, 60 insertions, 56 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 24d37ec81..a260ef09d 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -3,12 +3,12 @@ [package] name = "deno" version = "1.28.1" -authors = ["the Deno authors"] +authors.workspace = true default-run = "deno" -edition = "2021" +edition.workspace = true exclude = ["tests/testdata/npm/registry/*"] -license = "MIT" -repository = "https://github.com/denoland/deno" +license.workspace = true +repository.workspace = true description = "Provides the deno executable" [[bin]] @@ -26,103 +26,103 @@ harness = false path = "./bench/lsp_bench_standalone.rs" [build-dependencies] -deno_runtime = { version = "0.86.0", path = "../runtime" } -deno_core = { version = "0.160.0", path = "../core" } -regex = "=1.6.0" -serde = { version = "=1.0.144", features = ["derive"] } -serde_json = "1.0.64" -zstd = '=0.11.2' +deno_runtime.workspace = true +deno_core.workspace = true +regex.workspace = true +serde.workspace = true +serde_json.workspace = true +zstd.workspace = true glibc_version = "0.1.2" lzzzz = '1.0' [target.'cfg(windows)'.build-dependencies] -winapi = "=0.3.9" -winres = "=0.1.12" +winapi.workspace = true +winres.workspace = true [dependencies] -deno_ast = { version = "0.21.0", features = ["bundler", "cjs", "codegen", "dep_graph", "module_specifier", "proposal", "react", "sourcemap", "transforms", "transpiling", "typescript", "view", "visit"] } -deno_core = { version = "0.160.0", path = "../core" } +deno_ast = { workspace = true, features = ["bundler", "cjs", "codegen", "dep_graph", "module_specifier", "proposal", "react", "sourcemap", "transforms", "typescript", "view", "visit"] } +deno_core.workspace = true deno_doc = "0.49.1" deno_emit = "0.11.0" deno_graph = "0.38.0" deno_lint = { version = "0.35.0", features = ["docs"] } -deno_runtime = { version = "0.86.0", path = "../runtime" } +deno_runtime.workspace = true deno_task_shell = "0.7.2" -napi_sym = { path = "./napi_sym", version = "0.8.0" } +napi_sym.workspace = true -atty = "=0.2.14" +atty.workspace = true base32 = "=0.4.0" -base64 = "=0.13.1" -cache_control = "=0.2.0" +base64.workspace = true +cache_control.workspace = true chrono = { version = "=0.4.22", default-features = false, features = ["clock"] } clap = "=3.1.12" clap_complete = "=3.1.2" clap_complete_fig = "=3.1.5" -data-url = "=0.2.0" +data-url.workspace = true dissimilar = "=1.0.4" dprint-plugin-json = "=0.15.6" dprint-plugin-markdown = "=0.14.1" dprint-plugin-typescript = "=0.78.0" -encoding_rs = "=0.8.31" +encoding_rs.workspace = true env_logger = "=0.9.0" eszip = "=0.30.0" fancy-regex = "=0.10.0" -flate2 = "=1.0.24" -http = "=0.2.8" +flate2.workspace = true +http.workspace = true import_map = "=0.13.0" indexmap = "=1.9.1" indicatif = "=0.17.1" jsonc-parser = { version = "=0.21.0", features = ["serde"] } -libc = "=0.2.126" -log = { version = "=0.4.17", features = ["serde"] } +libc.workspace = true +log = { workspace = true, features = ["serde"] } lsp-types = "=0.93.2" # used by tower-lsp and "proposed" feature is unstable in patch releases lzzzz = '1.0' mitata = "=0.0.7" monch = "=0.4.0" -notify = "=5.0.0" -once_cell = "=1.14.0" -os_pipe = "=1.0.1" -percent-encoding = "=2.2.0" -pin-project = "1.0.11" # don't pin because they yank crates from cargo -rand = { version = "=0.8.5", features = ["small_rng"] } -regex = "=1.6.0" -ring = "=0.16.20" +notify.workspace = true +once_cell.workspace = true +os_pipe.workspace = true +percent-encoding.workspace = true +pin-project.workspace = true +rand = { workspace = true, features = ["small_rng"] } +regex.workspace = true +ring.workspace = true rustyline = { version = "=10.0.0", default-features = false, features = ["custom-bindings"] } rustyline-derive = "=0.7.0" secure_tempfile = { version = "=3.3.0", package = "tempfile" } # different name to discourage use in tests -semver = "=1.0.14" -serde = { version = "=1.0.144", features = ["derive"] } -serde_repr = "=0.1.9" +semver.workspace = true +serde.workspace = true +serde_repr.workspace = true shell-escape = "=0.1.5" -tar = "=0.4.38" +tar.workspace = true text-size = "=1.1.0" text_lines = "=0.6.0" -tokio = { version = "=1.21.1", features = ["full"] } -tokio-util = "=0.7.4" +tokio.workspace = true +tokio-util.workspace = true tower-lsp = { version = "=0.17.0", features = ["proposed"] } twox-hash = "=1.6.3" typed-arena = "=2.0.1" -uuid = { version = "=1.1.2", features = ["v4", "serde"] } +uuid = { workspace = true, features = ["serde"] } walkdir = "=2.3.2" -zstd = '=0.11.2' +zstd.workspace = true [target.'cfg(windows)'.dependencies] -fwdansi = "=1.1.0" +fwdansi.workspace = true junction = "=0.2.0" -winapi = { version = "=0.3.9", features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] } +winapi = { workspace = true, features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] } [target.'cfg(unix)'.dependencies] -nix = "=0.24.2" +nix.workspace = true [dev-dependencies] -deno_bench_util = { version = "0.72.0", path = "../bench_util" } +deno_bench_util.workspace = true dotenv = "=0.15.0" flaky_test = "=0.1.0" -once_cell = "=1.14.0" -os_pipe = "=1.0.1" -pretty_assertions = "=1.3.0" -test_util = { path = "../test_util" } +once_cell.workspace = true +os_pipe.workspace = true +pretty_assertions.workspace = true +test_util.workspace = true trust-dns-client = "=0.22.0" trust-dns-server = "=0.22.0" diff --git a/cli/napi_sym/Cargo.toml b/cli/napi_sym/Cargo.toml index b2472f024..e521cca76 100644 --- a/cli/napi_sym/Cargo.toml +++ b/cli/napi_sym/Cargo.toml @@ -1,9 +1,13 @@ +# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. + [package] name = "napi_sym" version = "0.8.0" -edition = "2021" -license = "MIT" +authors.workspace = true +edition.workspace = true +license.workspace = true readme = "README.md" +repository.workspace = true description = "proc macro for writing N-API symbols" [lib] @@ -11,8 +15,8 @@ path = "./lib.rs" proc-macro = true [dependencies] -proc-macro2 = "1" -quote = "1" -serde = { version = "1", features = ["derive"] } -serde_json = "1" -syn = { version = "1", features = ["full", "extra-traits"] } +proc-macro2.workspace = true +quote.workspace = true +serde.workspace = true +serde_json.workspace = true +syn.workspace = true |