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 (43 lines) | stat: -rw-r--r-- 1,351 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
[package]
authors       = ["강동윤 <kdy1997.dev@gmail.com>"]
autobenches   = false
description   = "A thin wrapper for bumpalo"
documentation = "https://rustdoc.swc.rs/swc_allocator/"
edition       = { workspace = true }
license       = { workspace = true }
name          = "swc_allocator"
repository    = { workspace = true }
version       = "4.0.0"

  [package.metadata.docs.rs]
  all-features = true
  rustdoc-args = ["--cfg", "docsrs"]


[features]
hashbrown = ["dep:hashbrown", "hashbrown/allocator-api2"]
rkyv = ["dep:rkyv", "dep:rancor"]
serde = ["dep:serde"]
# This feature is used to suppress warnings about slowness caused by stable rustc.
# It's recommended to use nightly rustc until the allocator APIs are stabilized.
skip-warning = []


[dependencies]
allocator-api2 = { workspace = true }
bumpalo        = { workspace = true, features = ["allocator-api2"] }
hashbrown      = { workspace = true, optional = true }
ptr_meta       = { workspace = true }
rancor         = { workspace = true, optional = true }
rkyv           = { workspace = true, optional = true }
rustc-hash     = { workspace = true }
serde          = { workspace = true, optional = true }
triomphe       = { workspace = true }


[dev-dependencies]
swc_malloc = { version = "1.2.2", path = "../swc_malloc" }

[[test]]
name = "alloction"
required-features = ["nightly"]