Skip to content

Commit

Permalink
build: introduce the fhevm-backend-common crate
Browse files Browse the repository at this point in the history
Used to share code between the coprocessor crate and the executor crate.
The executor crate will be used for the fhEVM-native implementation.
  • Loading branch information
dartdart26 committed Aug 20, 2024
1 parent 12ce1a2 commit fbafc0e
Show file tree
Hide file tree
Showing 29 changed files with 3,782 additions and 352 deletions.
487 changes: 168 additions & 319 deletions fhevm-engine/Cargo.lock

Large diffs are not rendered by default.

35 changes: 3 additions & 32 deletions fhevm-engine/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,32 +1,3 @@
[package]
name = "fhevm-engine"
version = "0.1.0"
edition = "2021"

[dependencies]
# Common dependencies
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] }
prost = "0.13"
tonic = { version = "0.12", features = ["server"] }
# Optional dependencies
tonic-web = "0.12"
tonic-health = "0.12"
tonic-types = "0.12"
tokio-util = "0.7"
tfhe = { version = "0.8.0-alpha.2", features = ["boolean", "shortint", "integer", "aarch64-unix"] }
sqlx = { version = "0.7", features = ["runtime-tokio", "tls-rustls", "postgres", "uuid"] }
serde_json = "1.0"
regex = "1.10.5"
lazy_static = "1.5.0"
clap = { version = "4.5", features = ["derive"] }
lru = "0.12.3"
bincode = "1.3.3"
hex = "0.4"
strum = { version = "0.26", features = ["derive"] }
bigdecimal = "0.4"

[dev-dependencies]
testcontainers = "0.21"

[build-dependencies]
tonic-build = "0.12"
[workspace]
resolver = "2"
members = ["coprocessor", "executor", "fhevm-engine-common"]
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions fhevm-engine/coprocessor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target
Loading

0 comments on commit fbafc0e

Please sign in to comment.