Skip to content

Commit

Permalink
Merge pull request #4 from alloy-rs/yash/rm-unused-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-atreya authored Aug 26, 2024
2 parents fb08fd0 + 2bebb8f commit c5166fa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 65 deletions.
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/BUG-FORM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,6 @@ body:
Please ensure that the bug has not already been filed in the issue tracker.
Thanks for taking the time to report this bug!
- type: dropdown
attributes:
label: Component
description: What component is the bug in?
multiple: true
options:
- meta-crate
- contract
- consensus, eips, genesis
- network, json-rpc
- node-bindings
- provider, pubsub
- rpc
- serde
- signers
- transports
- other
validations:
required: true
- type: input
attributes:
label: What version of Alloy are you on?
Expand Down
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/FEATURE-FORM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,6 @@ body:
attributes:
value: |
Please ensure that the feature has not already been requested in the issue tracker.
- type: dropdown
attributes:
label: Component
description: What component is the feature for?
multiple: true
options:
- meta-crate
- contract
- consensus, eips, genesis
- network, json-rpc
- node-bindings
- provider, pubsub
- rpc
- serde
- signers
- transports
- other
validations:
required: true
- type: textarea
attributes:
label: Describe the feature you would like
Expand Down
16 changes: 2 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,12 @@ alloy-rlp = { version = "0.3", default-features = false }

# serde
alloy-serde = { version = "0.2" }
serde = { version = "1.0", default-features = false, features = [
"derive",
"alloc",
] }
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
# kzg
c-kzg = { version = "1.0", default-features = false }
derive_more = "1.0.0"
once_cell = { version = "1.19", default-features = false }
sha2 = { version = "0.10", default-features = false }

# ssz
ethereum_ssz_derive = "0.5"
ethereum_ssz = "0.5"

# arbitrary
arbitrary = "1.3"

# for signed authorization list arbitrary
# for 7702 signed authorization list arbitrary
k256 = { version = "0.13", default-features = false, features = ["ecdsa"] }
rand = "0.8"
15 changes: 2 additions & 13 deletions crates/eip2930/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,29 +22,18 @@ alloy-primitives = { workspace = true, features = ["rlp"] }
alloy-rlp = { workspace = true, features = ["derive"] }

# serde
alloy-serde = { workspace = true, optional = true }
serde = { workspace = true, optional = true }

# arbitrary
arbitrary = { workspace = true, features = ["derive"], optional = true }
rand = { workspace = true, optional = true }

# # for signed authorization list arbitrary
# k256 = { workspace = true, optional = true }


[dev-dependencies]
serde_json.workspace = true

[features]
default = ["std"]
std = ["alloy-primitives/std", "alloy-rlp/std", "serde?/std"]
serde = ["dep:alloy-serde", "dep:serde", "alloy-primitives/serde"]
arbitrary = [
"std",
"dep:arbitrary",
"dep:rand",
"alloy-primitives/arbitrary",
"alloy-serde?/arbitrary",
]
# k256 = ["alloy-primitives/k256", "dep:k256"]
serde = ["dep:serde", "alloy-primitives/serde"]
arbitrary = ["std", "dep:arbitrary", "dep:rand", "alloy-primitives/arbitrary"]

0 comments on commit c5166fa

Please sign in to comment.