[package]
authors = ["Andre-Philippe Paquet <appaquet@gmail.com>"]
categories = ["database-implementations", "command-line-interface", "wasm", "web-programming"]
description = "Storage of Exocore (Distributed applications framework)"
edition = "2018"
keywords = ["networking", "mobile", "webassembly", "storage", "database"]
license = "Apache-2.0"
name = "exocore-chain"
repository = "https://github.com/appaquet/exocore"
version = "0.1.11"
[features]
default = ["engine", "directory-chain", "memory-pending"]
directory-chain = ["mmap", "extindex"]
engine = []
memory-pending = []
mmap = ["memmap2"]
tests-utils = ["engine", "tempfile", "directory-chain", "memory-pending", "exocore-core/tests-utils", "exocore-transport/tests-utils"]
[dependencies]
anyhow = "1.0"
byteorder = "1.3"
exocore-core = {version = "0.1.11", path = "../core"}
exocore-protos = {version = "0.1.11", path = "../protos"}
exocore-transport = {version = "0.1.11", path = "../transport", default-features = false}
futures = "0.3"
itertools = "0.10"
log = "0.4"
serde = {version = "1.0", features = ["derive"]}
thiserror = "1.0"
bytes = "1.0"
extindex = {version = "0.4", optional = true}
memmap2 = {version = "0.3", optional = true}
tempfile = {version = "3.2", optional = true}
[dev-dependencies]
exocore-core = {version = "0.1.11", path = "../core", features = ["tests-utils"]}
exocore-transport = {version = "0.1.11", path = "../transport", features = ["tests-utils"]}
tempfile = "3.2"
tokio = {version = "1.9", features = ["macros"], default-features = false}
[[test]]
name = "engine"
required-features = ["tests-utils"]