-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
45 lines (38 loc) · 1.22 KB
/
Cargo.toml
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
[workspace]
members = [".", "packages/graphql-minify", "packages/graphql_semantic_compare"]
[workspace.package]
version = "0.2.0"
authors = ["hikiko4ern"]
edition = "2021"
license = "Unlicense OR MIT"
publish = false
repository = "https://github.com/hikiko4ern/swc-plugin-minify-graphql"
[package]
name = "swc-plugin-minify-graphql"
version.workspace = true
authors.workspace = true
categories = ["swc-plugin"]
edition.workspace = true
license.workspace = true
publish.workspace = true
repository.workspace = true
description = "GraphQL query and schema minimizer plugin for SWC"
[lib]
crate-type = ["cdylib"]
[dependencies]
graphql-minify = { version = "0.1.0", path = "packages/graphql-minify" }
swc_core = { version = "10.6", features = ["ecma_plugin_transform"] }
tracing = { version = "0.1", features = ["release_max_level_info"] }
# let's use `cargo-run-bin` while there is no built-in solution for
# https://github.com/rust-lang/cargo/issues/2267
[workspace.metadata.bin]
cargo-binstall = { version = "1.10.22", locked = true }
cargo-watch = { version = "8.5.3", locked = true, bins = ["cargo-watch"] }
[profile.release]
codegen-units = 1
strip = true
lto = true
[profile.profiling]
inherits = "release"
debug = true
strip = false