Skip to content

Commit

Permalink
fix: make some view dependencies optional
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Feb 21, 2024
1 parent d2c0eb9 commit 622c1a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rs-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ all-features = true

[features]
sourcemap = ["swc_common/sourcemap"]
view = []
view = ["bumpalo", "allocator-api2"]

[dependencies]
allocator-api2 = "0.2.16"
bumpalo = { version = "3.14.0", features = ["collections", "allocator-api2"] }
allocator-api2 = { version = "0.2.16", optional = true }
bumpalo = { version = "3.14.0", optional = true, features = ["collections", "allocator-api2"] }
num-bigint = "0.4"
rustc-hash = "1.1.0"
swc_atoms = "0.6.5"
Expand Down

0 comments on commit 622c1a4

Please # to comment.