Skip to content

Commit

Permalink
build: Enable only the features that we need
Browse files Browse the repository at this point in the history
Slightly reduce compilation times
  • Loading branch information
GrayJack committed Oct 19, 2024
1 parent 8fb09ef commit f530073
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 65 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
wip/
wip/

target/
123 changes: 62 additions & 61 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,17 @@ exclude = ["/tests", "/.github"]
proc-macro = true

[dependencies]
syn = { version = "2", features = ["full"] }
quote = "1"
syn = { version = "2", features = [
"full",
"parsing",
"printing",
"proc-macro",
], default-features = false }
quote = { version = "1", default-features = false }

[[test]]
name = "tests"
path = "tests/progress.rs"

[dev-dependencies]
trybuild = { version = "1.0", features = ["diff"] }
trybuild = "1.0"

0 comments on commit f530073

Please sign in to comment.