dbs-snapshot
is a fork of Firecracker microvmm's snapshot
crate. It was done so because the Firecracker maintainers have no plan to publish the crate on crates.io.
dbs-snapshot
provides a version tolerant serialization and deserialization facilities and implements a persistent storage format for saving rust struct states. It can form a basis of many useful functionalities such as VM snapshot for rust-based VMMs, as well as user space program live upgrade for other projects like Nydus.
Please note that the crate is released from v1.5.0 because that is the initial Firecracker release version the crate was taken from.
We will use sematic versioning. The API backward-compatibilites will always be reserved across patch version updates. The backward-compatibilities across minor version updates will be preserved in a best effort manner. Whenever API backward-compatibility is broken on purpose, we will bump the major version.