Skip to content

Commit

Permalink
Implement snapshotting api (#164)
Browse files Browse the repository at this point in the history
* Move snapshotter into it's own library

* Fix warning

* Intermediate commit

* Fix warnings

* Add tests

* Adjustments

* Intermediate commit

* Intermediate commit

* Intermediate commit checkpoint

* Fix integration tests

* Fix

* Fixes

* Intermediate commit

* Cleanup

* Nit

* Nits

* Intermediate commit
  • Loading branch information
pmantica11 authored Aug 13, 2024
1 parent b8315b0 commit f2f3f90
Show file tree
Hide file tree
Showing 9 changed files with 1,042 additions and 237 deletions.
230 changes: 229 additions & 1 deletion Cargo.lock

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

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ name = "photon-openapi"
path = "src/openapi/main.rs"

[[bin]]
name = "photon-snapshot-server"
path = "src/snapshot/server/main.rs"
name = "photon-snapshotter"
path = "src/snapshot/snapshotter/main.rs"

[[bin]]
name = "photon-snapshot-loader"
Expand Down Expand Up @@ -89,7 +89,7 @@ hex = "0.4.3"
num-bigint = "0.4.4"
num-traits = "0.2.18"
num_enum = "0.7.2"
reqwest = {version = "0.12.4", features = ["stream"]}
reqwest = { version = "0.12.4", features = ["stream"] }
time = "0.3.36"
tokio = { version = "1.23.0", features = ["full"] }
tower = { version = "0.4.13", features = ["full"] }
Expand All @@ -107,11 +107,13 @@ cadence = "1.4.0"
async-stream = "0.3.5"
rand = "0.8.5"
bincode = "1.3.3"
rust-s3 = "0.34.0"

[dev-dependencies]
function_name = "0.3.0"
serial_test = "2.0.0"


[profile.dev]
# Do not produce debug info for ~40% faster incremental compilation.
debug = 0
Expand Down
Loading

0 comments on commit f2f3f90

Please sign in to comment.