bc6d2fbae3
Changed keys file format to include second pair of keys, it will be in TOML now. Made many adjustments to block and transaction structures. Changed block serialization to binary format for hashing/mining. Removed old build dependencies.
77 lines
1.9 KiB
TOML
77 lines
1.9 KiB
TOML
[package]
|
|
name = "alfis"
|
|
version = "0.5.0"
|
|
authors = ["Revertron <alfis@revertron.com>"]
|
|
edition = "2018"
|
|
build = "build.rs"
|
|
readme = "README.md"
|
|
homepage = "https://alfis.name"
|
|
repository = "https://github.com/Revertron/Alfis"
|
|
exclude = ["blockchain.db", "alfis.toml"]
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
getopts = "0.2.21"
|
|
log = "0.4.14"
|
|
simplelog = "0.10"
|
|
toml = "0.5.8"
|
|
digest = "0.9.0"
|
|
sha2 = "0.9.3"
|
|
ed25519-dalek = "1.0"
|
|
ecies-ed25519 = "0.5"
|
|
chacha20poly1305 = "0.7.1"
|
|
signature = "1.3.0"
|
|
blakeout = "0.3.0"
|
|
num_cpus = "1.13.0"
|
|
byteorder = "1.4.3"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0.64"
|
|
bincode = "1.3"
|
|
base64 = "0.13"
|
|
num-bigint = "0.4"
|
|
num-traits = "0.2.14"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
rand = "0.8.3"
|
|
rand-old = { package = "rand", version = "0.7.0" } # For ed25519-dalek
|
|
sqlite = "0.26.0"
|
|
uuid = { version = "0.8.2", features = ["serde", "v4"] }
|
|
mio = { version = "0.7", features = ["os-poll", "net"] }
|
|
derive_more = "0.99" # for DNS from hermes
|
|
|
|
# Optional dependencies regulated by features
|
|
web-view = { version = "0.7", features = [], optional = true }
|
|
tinyfiledialogs = { version = "3.3.10", optional = true }
|
|
open = { version = "1.6.0", optional = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { version = "0.3.7", features = ["impl-default", "wincon", "shellscalingapi"]}
|
|
thread-priority = "0.2.1"
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
thread-priority = "0.2.1"
|
|
|
|
[build-dependencies]
|
|
winres = "0.1"
|
|
|
|
[dev-dependencies]
|
|
serde_bytes = "0.11.5"
|
|
serde_derive = "1.0.124"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = true
|
|
|
|
[profile.dev]
|
|
opt-level = 2
|
|
|
|
[profile.test]
|
|
opt-level = 2
|
|
|
|
[package.metadata.winres]
|
|
ProductName="ALFIS"
|
|
FileDescription="Alternative Free Identity System"
|
|
|
|
[features]
|
|
webgui = ["web-view", "tinyfiledialogs", "open"]
|
|
edge = ["web-view/edge"]
|
|
default = ["webgui"] |