2
0
mirror of https://github.com/Revertron/Alfis synced 2024-11-11 01:10:36 +00:00
Alfis/Cargo.toml

77 lines
1.9 KiB
TOML
Raw Normal View History

2019-12-01 21:45:25 +00:00
[package]
name = "alfis"
2021-05-02 10:55:51 +00:00
version = "0.5.0"
authors = ["Revertron <alfis@revertron.com>"]
2019-12-01 21:45:25 +00:00
edition = "2018"
build = "build.rs"
readme = "README.md"
homepage = "https://alfis.name"
repository = "https://github.com/Revertron/Alfis"
exclude = ["blockchain.db", "alfis.toml"]
2019-12-01 21:45:25 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
getopts = "0.2.21"
2021-02-20 15:28:10 +00:00
log = "0.4.14"
simplelog = "0.10"
toml = "0.5.8"
digest = "0.9.0"
sha2 = "0.9.3"
2021-04-02 18:05:46 +00:00
ed25519-dalek = "1.0"
ecies-ed25519 = "0.5"
chacha20poly1305 = "0.7.1"
signature = "1.3.0"
blakeout = "0.3.0"
2021-01-14 17:34:43 +00:00
num_cpus = "1.13.0"
2021-03-20 17:13:35 +00:00
byteorder = "1.4.3"
2021-04-02 18:05:46 +00:00
serde = { version = "1.0", features = ["derive"] }
2021-03-20 17:13:35 +00:00
serde_json = "1.0.64"
bincode = "1.3"
base64 = "0.13"
2021-04-02 18:05:46 +00:00
num-bigint = "0.4"
2021-03-20 17:13:35 +00:00
num-traits = "0.2.14"
2021-04-02 18:05:46 +00:00
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"] }
2021-04-02 18:05:46 +00:00
mio = { version = "0.7", features = ["os-poll", "net"] }
derive_more = "0.99" # for DNS from hermes
# Optional dependencies regulated by features
2021-04-02 18:05:46 +00:00
web-view = { version = "0.7", features = [], optional = true }
2021-03-20 17:13:35 +00:00
tinyfiledialogs = { version = "3.3.10", optional = true }
2021-04-06 10:08:50 +00:00
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"
2019-12-01 21:45:25 +00:00
[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]
2021-04-06 10:08:50 +00:00
webgui = ["web-view", "tinyfiledialogs", "open"]
edge = ["web-view/edge"]
default = ["webgui"]