Skip to content

Commit

Permalink
feat(context-client): generalize implementation (#903)
Browse files Browse the repository at this point in the history
Co-authored-by: Miraculous Owonubi <[email protected]>
Co-authored-by: Xabi Losada <[email protected]>
  • Loading branch information
3 people authored Nov 2, 2024
1 parent 6edbe82 commit cf9eadd
Show file tree
Hide file tree
Showing 31 changed files with 1,101 additions and 534 deletions.
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

0 comments on commit cf9eadd

Please sign in to comment.