Skip to content

Commit

Permalink
[refactor]: Update iroha_version_derive to use syn 2.0 and replace …
Browse files Browse the repository at this point in the history
…proc-macro-error with manyhow

Signed-off-by: Nikita Strygin <DCNick3@users.noreply.github.com>
  • Loading branch information
DCNick3 committed Jul 20, 2023
1 parent d8d21ed commit a659db3
Show file tree
Hide file tree
Showing 4 changed files with 227 additions and 104 deletions.
39 changes: 36 additions & 3 deletions Cargo.lock

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

5 changes: 2 additions & 3 deletions version/derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ license.workspace = true
proc-macro = true

[dependencies]
syn = { workspace = true, features = ["full"] }
syn2 = { workspace = true, features = ["default", "full"] }
quote = { workspace = true }
proc-macro2 = { workspace = true }
proc-macro-error = { workspace = true }
rustc-hash = { workspace = true }
manyhow = "0.4.2"

[dev-dependencies]
iroha_version = { workspace = true, features = ["scale", "json"] }
Expand Down
Loading

0 comments on commit a659db3

Please sign in to comment.