2019-12-01 21:45:25 +00:00
|
|
|
[package]
|
2020-04-18 19:31:40 +00:00
|
|
|
name = "alfis"
|
2021-05-02 10:55:51 +00:00
|
|
|
version = "0.5.0"
|
2021-02-19 21:04:58 +00:00
|
|
|
authors = ["Revertron <alfis@revertron.com>"]
|
2019-12-01 21:45:25 +00:00
|
|
|
edition = "2018"
|
2021-01-17 23:18:35 +00:00
|
|
|
build = "build.rs"
|
2021-02-19 21:04:58 +00:00
|
|
|
readme = "README.md"
|
2021-02-19 15:41:43 +00:00
|
|
|
homepage = "https://alfis.name"
|
|
|
|
repository = "https://github.com/Revertron/Alfis"
|
2021-04-21 15:33:39 +00:00
|
|
|
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]
|
2021-02-19 15:41:43 +00:00
|
|
|
getopts = "0.2.21"
|
2021-02-20 15:28:10 +00:00
|
|
|
log = "0.4.14"
|
2021-04-17 14:45:49 +00:00
|
|
|
simplelog = "0.10"
|
2021-03-13 20:04:40 +00:00
|
|
|
toml = "0.5.8"
|
2021-03-22 18:20:51 +00:00
|
|
|
digest = "0.9.0"
|
|
|
|
sha2 = "0.9.3"
|
2021-04-02 18:05:46 +00:00
|
|
|
ed25519-dalek = "1.0"
|
2021-05-04 14:47:03 +00:00
|
|
|
ecies-ed25519 = "0.5"
|
2021-04-10 07:47:21 +00:00
|
|
|
chacha20poly1305 = "0.7.1"
|
2021-03-22 18:20:51 +00:00
|
|
|
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"
|
2021-05-03 06:42:21 +00:00
|
|
|
bincode = "1.3"
|
2021-05-04 14:47:03 +00:00
|
|
|
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"] }
|
2021-03-13 20:04:40 +00:00
|
|
|
rand = "0.8.3"
|
2021-03-24 18:06:22 +00:00
|
|
|
rand-old = { package = "rand", version = "0.7.0" } # For ed25519-dalek
|
2021-03-29 07:33:48 +00:00
|
|
|
sqlite = "0.26.0"
|
2021-01-30 13:18:37 +00:00
|
|
|
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
|
2021-01-17 23:18:35 +00:00
|
|
|
|
2021-03-19 10:37:49 +00:00
|
|
|
# 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 }
|
2021-03-19 10:37:49 +00:00
|
|
|
|
2021-02-19 21:04:58 +00:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2021-03-18 14:09:26 +00:00
|
|
|
winapi = { version = "0.3.7", features = ["impl-default", "wincon", "shellscalingapi"]}
|
2021-04-10 12:03:52 +00:00
|
|
|
thread-priority = "0.2.1"
|
|
|
|
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
|
|
thread-priority = "0.2.1"
|
2021-02-19 21:04:58 +00:00
|
|
|
|
2021-01-17 23:18:35 +00:00
|
|
|
[build-dependencies]
|
|
|
|
winres = "0.1"
|
2019-12-01 21:45:25 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-03-21 13:34:32 +00:00
|
|
|
serde_bytes = "0.11.5"
|
|
|
|
serde_derive = "1.0.124"
|
2021-01-17 23:18:35 +00:00
|
|
|
|
2021-04-16 22:08:07 +00:00
|
|
|
[profile.release]
|
|
|
|
opt-level = 3
|
|
|
|
lto = true
|
|
|
|
|
2021-03-16 14:06:21 +00:00
|
|
|
[profile.dev]
|
|
|
|
opt-level = 2
|
|
|
|
|
|
|
|
[profile.test]
|
|
|
|
opt-level = 2
|
|
|
|
|
2021-01-17 23:18:35 +00:00
|
|
|
[package.metadata.winres]
|
|
|
|
ProductName="ALFIS"
|
2021-03-19 10:37:49 +00:00
|
|
|
FileDescription="Alternative Free Identity System"
|
|
|
|
|
|
|
|
[features]
|
2021-04-06 10:08:50 +00:00
|
|
|
webgui = ["web-view", "tinyfiledialogs", "open"]
|
2021-03-19 10:37:49 +00:00
|
|
|
edge = ["web-view/edge"]
|
|
|
|
default = ["webgui"]
|