Skip to content

Commit

Permalink
Add extra traits to syn
Browse files Browse the repository at this point in the history
Building c2rust-ast-printer alone requires the "extra-traits" feature of
syn.
  • Loading branch information
rinon committed May 12, 2022
1 parent 893da87 commit 4f9a30c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion c2rust-ast-builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ description = "Rust AST builder support crate for the C2Rust project"

[dependencies]
proc-macro2 = { version = "1.0", features = ["span-locations"]}
syn = { version = "1.0", features = ["full", "proc-macro", "printing"] }
syn = { version = "1.0", features = ["full", "extra-traits", "printing"]}
2 changes: 1 addition & 1 deletion c2rust-transpile/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ serde_json = "1.0"
smallvec = "1.0"
strum = "0.24"
strum_macros = "0.24"
syn = { version = "1.0", features = ["full", "parsing", "printing"]}
syn = { version = "1.0", features = ["full", "extra-traits", "parsing", "printing"]}

[features]
# Force static linking of LLVM
Expand Down

0 comments on commit 4f9a30c

Please sign in to comment.