Skip to content

Commit

Permalink
feat: move Solidity syn AST to syn-solidity (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Jun 4, 2023
1 parent 1d48666 commit 5fac415
Show file tree
Hide file tree
Showing 29 changed files with 902 additions and 757 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ ethers-rlp = { version = "0.1.0", path = "crates/rlp", default-features = false
ethers-rlp-derive = { version = "0.1.0", path = "crates/rlp-derive", default-features = false }
ethers-sol-macro = { version = "0.1.0", path = "crates/sol-macro", default-features = false }
ethers-sol-types = { version = "0.1.0", path = "crates/sol-types", default-features = false }
syn-solidity = { version = "0.1.0", path = "crates/syn-solidity", default-features = false }

ruint = { version = "1.8.0", git = "https://github.com/recmo/uint", default-features = false }
ruint-macro = { version = "1.0.2", git = "https://github.com/recmo/uint", default-features = false }
Expand Down
7 changes: 6 additions & 1 deletion crates/rlp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ fn main() {
```
"##
)]
#![warn(missing_docs, unreachable_pub, unused_crate_dependencies)]
#![warn(
missing_docs,
unreachable_pub,
unused_crate_dependencies,
clippy::missing_const_for_fn
)]
#![deny(unused_must_use, rust_2018_idioms)]
#![cfg_attr(not(feature = "std"), no_std)]

Expand Down
2 changes: 2 additions & 0 deletions crates/sol-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ repository.workspace = true
proc_macro = true

[dependencies]
syn-solidity.workspace = true

proc-macro2.workspace = true
quote.workspace = true
syn = { workspace = true, features = ["full", "extra-traits"] }
Expand Down
201 changes: 0 additions & 201 deletions crates/sol-macro/src/ast/file.rs

This file was deleted.

86 changes: 0 additions & 86 deletions crates/sol-macro/src/ast/item/mod.rs

This file was deleted.

Loading

0 comments on commit 5fac415

Please sign in to comment.