-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add Optimism as separate N-API package #659
base: feat/multichain
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ on: | |
workflow_dispatch: | ||
|
||
env: | ||
RUSTFLAGS: -Dwarnings | ||
RUSTDOCFLAGS: -Dwarnings | ||
|
||
concurrency: | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,18 +4,16 @@ version = "0.3.5" | |
edition = "2021" | ||
|
||
[lib] | ||
crate-type = ["cdylib"] | ||
crate-type = ["cdylib", "lib"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is required for |
||
|
||
[dependencies] | ||
ansi_term = { version = "0.12.1", default-features = false } | ||
derive-where = { version = "1.2.7", default-features = false } | ||
edr_eth = { path = "../edr_eth" } | ||
edr_evm = { path = "../edr_evm" } | ||
edr_generic = { path = "../edr_generic" } | ||
edr_napi_core = { path = "../edr_napi_core" } | ||
edr_provider = { path = "../edr_provider" } | ||
edr_rpc_client = { path = "../edr_rpc_client" } | ||
itertools = { version = "0.12.0", default-features = false } | ||
mimalloc = { version = "0.1.39", default-features = false, features = ["local_dynamic_tls"] } | ||
# when napi is pinned, be sure to pin napi-derive to the same version | ||
# The `async` feature ensures that a tokio runtime is available | ||
|
@@ -24,7 +22,6 @@ napi-derive = "2.16.0" | |
rand = { version = "0.8.4", optional = true } | ||
serde = { version = "1.0.209", features = ["derive"] } | ||
serde_json = { version = "1.0.127" } | ||
thiserror = { version = "1.0.37", default-features = false } | ||
tracing = { version = "0.1.37", default-features = false, features = ["std"] } | ||
tracing-flame = { version = "0.2.0", default-features = false, features = ["smallvec"] } | ||
tracing-subscriber = { version = "0.3.18", default-features = false, features = ["ansi", "env-filter", "fmt", "parking_lot", "smallvec", "std"] } | ||
|
@@ -45,11 +42,8 @@ openssl-sys = { version = "0.9.93", features = ["vendored"] } | |
napi-build = "2.0.1" | ||
|
||
[features] | ||
tracing = ["edr_evm/tracing", "edr_napi_core/tracing", "edr_provider/tracing"] | ||
scenarios = ["rand"] | ||
|
||
[profile.release] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
lto = true | ||
tracing = ["edr_evm/tracing", "edr_napi_core/tracing", "edr_provider/tracing"] | ||
|
||
[lints] | ||
workspace = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not have any adverse side-effects, as we also manually pass this argument to
cargo clippy
which should fail if there are any warnings.For reference:
cargo clippy --workspace --all-targets --all-features -- -D warnings