Skip to content
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(context-client): generalize implementation #903

Merged
merged 16 commits into from
Nov 2, 2024
2 changes: 1 addition & 1 deletion Cargo.lock

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

1 change: 0 additions & 1 deletion crates/context/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ license.workspace = true

[dependencies]
camino = { workspace = true, features = ["serde1"] }
ed25519-dalek.workspace = true
eyre.workspace = true
futures-util.workspace = true
rand.workspace = true
Expand Down
13 changes: 9 additions & 4 deletions crates/context/config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ bs58.workspace = true
borsh = { workspace = true, features = ["derive"] }
ed25519-dalek.workspace = true
either = { workspace = true, optional = true }
eyre = { workspace = true, optional = true }
near-crypto = { workspace = true, optional = true }
near-jsonrpc-client = { workspace = true, optional = true }
near-jsonrpc-primitives = { workspace = true, optional = true }
near-primitives = { workspace = true, optional = true }
reqwest = { workspace = true, optional = true }
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
starknet.workspace = true
starknet-crypto.workspace = true
starknet-types-core.workspace = true
starknet = { workspace = true, optional = true }
starknet-crypto = { workspace = true, optional = true }
starknet-types-core = { workspace = true, optional = true }
thiserror.workspace = true
url = { workspace = true, optional = true }

Expand All @@ -30,10 +31,14 @@ workspace = true
[features]
client = [
"dep:either",
"dep:eyre",
"dep:near-crypto",
"dep:near-jsonrpc-client",
"dep:near-jsonrpc-primitives",
"dep:near-primitives",
"reqwest/json",
"dep:url",
"dep:starknet",
"dep:starknet-crypto",
"dep:starknet-types-core",
"url/serde",
]
Loading
Loading