1200a2f02d
* validator: adding Diesel ORM * validator: making sure Iron::status is always avaialable * ibid * validator: presence-announcement REST API * validator: adding Diesel setup * Removing Diesel stuff from root of monorepo * validator: adding Diesel migrations and setup * validator: documenting how PresenceAnnouncement is different from presence. * validator: added Chrono crate for datetime conversions into sql * validator: restructured the presence module * validator: removed presence announcements from persistence * validator: commenting topology * Adding staking to the mixmining service * Start of mixmining + stake service * validator: added a bit about mixmining to README * validator: added Iron's params crate * validator: reorganized mixmining service and db code * validator: no need for this .env warning * validator: removing params parser, it's now unused * validator: adding json body parser library for Iron * validator: adding spelling exceptions * validator: adding bodyparser deps * validator: ability to (de)serialize Mixnode struct * validator: further announcement HTTP progress * validator: simplified announcement route * validator: injecting database and service into handler * validator: renaming service and db variables * validator: using camelCase json * validator: using base Iron handler rather than middleware handler * validator: better error message on unexpected json parsing * validator: adding 'location' to presence::Announcement * comments on mixmining::Db * validator: commenting out unused mixmining::Service methods for the moment * validator: noting that we don't yet know how to measure capacity * validator: comments * validator: starting to add correct serializers in rest API * validator: renaming a mixnode announcements * validator: extracted route creation * validator: going lower-case for node in "Mixnode" * validator: removing the "announcement" model * validator: renamed annoucements handlers * validator: temporarily removed Chrono, remove it fully if it's not needed. * validator: added all the needed Mixnode fields to the service model * validator: moved models into their own file. * validator: conversions to/from api vs service models * validator: doing type conversions from rest to service models * validator: unused import cleanup * validator: rewrote mixmining service comments in light of recent thinking * validator: some notes on type conversion tests * wip * validator: getting capacity from db works * wip * validator: eliminating borrows so we can have something pure to mutex out on * validator: a working mutex on the mixmining service * validator: renaming mixmining db get_capacity to capacity * validator: making mixmining db capacity field private, using accessor * validator: local capacity updates working * validator: starting REST API for staking * validator: fixing clippy warning * validator: minor naming fixes on mixmining service * validator: service mixnode and rest mixnode + topology conversions + tests * validator: renaming mix_nodes to mixnodes for consistency * validator: test fixtures for mixnode * validator: moved service models into their own file * validator: a properly-structured toplogy route * validator: topology retrieval * validator: killed test fixture warning * validator: getting set for topology equality checks (testing purposes) * validator: otherway conversions for topology and mixnode types * validator: initial topology retrieval working * validator: ditching go-ish variable name :) * ibid * validator: added a StakeUpdate struct to get around cargo fmt failing * validator: commenting out struct so kill warning * Ignoring validator vscode settings * ibid * ibid
43 lines
1.1 KiB
TOML
43 lines
1.1 KiB
TOML
[package]
|
|
build = "build.rs"
|
|
name = "nym-validator"
|
|
version = "0.7.0-dev"
|
|
authors = ["Dave Hrycyszyn <futurechimp@users.noreply.github.com>", "Jedrzej Stuczynski <andrew@nymtech.net>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
abci = "0.6.4"
|
|
bodyparser = "0.8.0"
|
|
byteorder = "1.3.2"
|
|
clap = "2.33.0"
|
|
# chrono = { version = "0.4.11", features = ["serde"] } TODO: remove this if I don't start using it again soon
|
|
diesel = { version = "1.4.3", features = ["sqlite"] }
|
|
dirs = "2.0.2"
|
|
dotenv = "0.15.0"
|
|
futures = "0.3.1"
|
|
iron = "0.6.1"
|
|
log = "0.4"
|
|
pretty_env_logger = "0.3"
|
|
router = "0.6.0"
|
|
serde = "1.0.104"
|
|
serde_json = "1.0.48"
|
|
tokio = { version = "0.2", features = ["full"] }
|
|
|
|
## internal
|
|
crypto = {path = "../common/crypto"}
|
|
config = {path = "../common/config"}
|
|
directory-client = { path = "../common/clients/directory-client" }
|
|
healthcheck = {path = "../common/healthcheck" }
|
|
topology = {path = "../common/topology"}
|
|
|
|
[build-dependencies]
|
|
built = "0.3.2"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.1.0"
|
|
|
|
[features]
|
|
qa = []
|
|
local = [] |