forked from splintercommunity/sawtooth-pbft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
70 lines (62 loc) · 2.01 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Copyright 2018 Bitwise IO, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# -----------------------------------------------------------------------------
[package]
name = "sawtooth-pbft-engine"
version = "1.0.4"
authors = ["Bitwise IO, Inc"]
description = "PBFT consensus algorithm for Hyperledger Sawtooth"
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/hyperledger/sawtooth-pbft"
edition = "2018"
[package.metadata.deb]
maintainer = "sawtooth"
depends = "$auto"
assets = [
["packaging/systemd/sawtooth-pbft-engine.service", "/lib/systemd/system/sawtooth-pbft-engine.service", "644"],
["packaging/systemd/sawtooth-pbft-engine", "/etc/default/sawtooth-pbft-engine", "644"],
["target/release/pbft-engine", "/usr/bin/pbft-engine", "755"]
]
maintainer-scripts = "packaging/ubuntu"
extended-description = """\
An implementation of the Practical Byzantine Fault Tolerant (PBFT) consensus \
algorithm for Hyperledger Sawtooth."""
[features]
default = ["with-serde"]
with-serde = []
[dependencies]
atomicwrites = "0.2"
clap = "2.31"
hex = "0.3"
itertools = "0.7"
log = "0.4"
log4rs = "0.8"
log4rs-syslog = "3.0"
openssl = "0.10"
protobuf = { version = "2", features = ["with-serde"] }
sawtooth-sdk = "0.4"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
serde_millis = "0.1"
[patch.crates-io]
log4rs = { git = "https://github.com/ltseeley/log4rs", branch = "config-loading" }
[dev-dependencies]
rand = "0.5"
[build-dependencies]
protoc-rust = "2.14"
[[bin]]
name = "pbft-engine"
path = "src/main.rs"