[package]
name = "scabbard"
version = "0.5.6"
authors = ["Cargill Incorporated"]
edition = "2018"
license = "Apache-2.0"
description = """\
Scabbard is a Splinter service that runs the Sawtooth Sabre smart contract \
engine using Hyperledger Transact for state management. Scabbard uses \
two-phase consensus to reach agreement on transactions.
"""
[dependencies]
actix-web = { version = "1.0", optional = true, default-features = false, features = ["flate2-zlib"] }
cylinder = "0.2"
futures = { version = "0.1", optional = true }
log = "0.3.0"
metrics = { version = "0.12", optional = true}
openssl = "0.10"
protobuf = "2.23"
reqwest = { version = "0.10", optional = true, features = ["blocking", "json"] }
sawtooth = { version = "0.6", default-features = false, features = ["lmdb-store", "receipt-store"] }
sawtooth-sabre = "0.7"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
splinter = "0.5.6"
transact = { version = "0.3", features = ["sawtooth-compat"] }
[dev-dependencies]
tempdir = "0.3"
transact = { version = "0.3", features = ["family-command", "sawtooth-compat"] }
[build-dependencies]
protoc-rust = "2.14"
glob = "0.2"
[features]
default = []
stable = [
"authorization",
"client",
"client-reqwest",
"default",
"events",
"rest-api",
"rest-api-actix",
]
experimental = [
"stable",
"back-pressure",
"factory-builder",
"metrics",
]
authorization = ["splinter/authorization"]
back-pressure = []
client = []
client-reqwest = ["client", "reqwest"]
events = ["splinter/events"]
factory-builder = []
rest-api = ["futures", "splinter/rest-api"]
rest-api-actix = ["actix-web", "splinter/rest-api-actix"]
service-arg-validation = ["splinter/service-arg-validation"]