# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "ovr-vsdb" version = "0.34.3" authors = ["fanhui.x@gmail.com"] description = "Versioned Stateful DataBase, mainly used in blockchain scene." homepage = "https://github.com/Overealityio/ovr-vsdb" keywords = [ "git", "leveldb", "rocksdb", "version", "vcs", ] categories = [ "database-implementations", "data-structures", "algorithms", "caching", ] license = "MIT" repository = "https://github.com/Overealityio/ovr-vsdb" resolver = "2" [profile.bench] codegen-units = 1 overflow-checks = false incremental = false [profile.dev] overflow-checks = true incremental = false [profile.release] codegen-units = 1 overflow-checks = false incremental = false [[example]] name = "blockchain_state" [[example]] name = "web_server" [[bench]] name = "bench_main" harness = false [dependencies.bcs] version = "0.1.3" optional = true [dependencies.blake3] version = "1.3.1" optional = true [dependencies.fast-math] version = "0.1" optional = true [dependencies.msgpack] version = "1.1.0" optional = true package = "rmp-serde" [dependencies.once_cell] version = "1.10.0" [dependencies.ovr-ruc] version = "1.0.8" [dependencies.ovr-vsdb-derive] version = "0.34.0" optional = true [dependencies.parking_lot] version = "0.12.0" [dependencies.primitive-types-0-10] version = "0.10" default-features = false package = "primitive-types" [dependencies.primitive-types-0-11] version = "0.11" default-features = false package = "primitive-types" [dependencies.rocksdb] version = "0.18.0" optional = true default-features = false [dependencies.serde] version = "1.0.136" features = ["derive"] [dev-dependencies.criterion] version = "0.3.5" features = ["html_reports"] [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.rand] version = "0.8.5" [features] bcs_codec = ["bcs"] compress = [ "sled?/compression", "rocksdb?/lz4", ] default = [ "derive", "sled_engine", "msgpack_codec", ] derive = ["ovr-vsdb-derive"] hash = ["blake3"] merkle = [ "hash", "fast-math", ] msgpack_codec = ["msgpack"] rocks_engine = ["rocksdb"] sled_engine = ["sled"] [target."cfg(not(target_os = \"linux\"))".dependencies.sled] version = "0.34.7-p1" optional = true package = "vsdbsled" [target."cfg(target_os = \"linux\")".dependencies.sled] version = "0.34.7-p1" features = ["io_uring"] optional = true package = "vsdbsled"