File: Cargo.toml

package info (click to toggle)
rust-swc-core 22.2.1~ds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 62,436 kB
  • sloc: javascript: 853; xml: 538; sh: 307; makefile: 35; python: 5
file content (48 lines) | stat: -rw-r--r-- 1,773 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
authors       = ["강동윤 <kdy1997.dev@gmail.com>"]
description   = "Base crate for the 'swc' crate. This is not a public API."
documentation = "https://rustdoc.swc.rs/swc_compiler_base/"
edition       = { workspace = true }
include       = ["Cargo.toml", "src/**/*.rs"]
license       = { workspace = true }
name          = "swc_compiler_base"
repository    = { workspace = true }
version       = "18.0.0"

[features]
node = ["napi", "napi-derive"]

[dependencies]
anyhow        = { workspace = true }
base64        = { workspace = true }
once_cell     = { workspace = true }
pathdiff      = { workspace = true }
rustc-hash    = { workspace = true }
serde         = { workspace = true, features = ["derive"] }
serde_json    = { workspace = true }
sourcemap     = { workspace = true }
swc_allocator = { version = "4.0.0", path = "../swc_allocator", default-features = false }

swc_atoms = { version = "5.0.0", path = "../swc_atoms" }
swc_common = { version = "8.1.0", path = "../swc_common", features = [
  "sourcemap",
] }
swc_config = { version = "2.0.0", path = "../swc_config" }
swc_ecma_ast = { version = "8.1.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "10.0.0", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "16.0.1", path = "../swc_ecma_minifier" }
swc_ecma_parser = { version = "11.0.1", path = "../swc_ecma_parser" }
swc_ecma_visit = { version = "8.0.0", path = "../swc_ecma_visit" }
swc_timer = { version = "1.0.0", path = "../swc_timer" }

  [dependencies.napi-derive]
  default-features = false
  features         = ["type-def"]
  optional         = true
  workspace        = true

  [dependencies.napi]
  default-features = false
  features         = ["napi3"]
  optional         = true
  workspace        = true