3f072e4e9d
* Agents authenticate with NSAPI * /submit with better auth - also adjust agent run script to authenticate, even in parallel * /request better authentication - moved agent API calls to Client struct * Replay protection * Fix testrun cleanup bug - introduce a new column last_assigned which is different than created_at so that stale testruns get cleaned up based on last_assigned - created_at is still useful for determining the "oldest" testrun to be picked up * Uniform request authentication * Suppress ts-rs serde warnings * Update cargo version * All agents use the same key - remove assigned_agent column - remove logic which would stop agents with the same key to connect - as a safety measure, add cap to total no. of agents
36 lines
1.1 KiB
TOML
36 lines
1.1 KiB
TOML
# Copyright 2024 - Nym Technologies SA <contact@nymtech.net>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
[package]
|
|
name = "nym-node-status-agent"
|
|
version = "1.0.0-rc.1"
|
|
authors.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
documentation.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
readme.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true}
|
|
bincode = { workspace = true }
|
|
chrono = { workspace = true }
|
|
clap = { workspace = true, features = ["derive", "env"] }
|
|
nym-bin-common = { path = "../common/bin-common", features = ["models"]}
|
|
nym-common-models = { path = "../common/models" }
|
|
nym-crypto = { path = "../common/crypto", features = ["asymmetric", "rand"] }
|
|
rand = { workspace = true }
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "process"] }
|
|
tokio-util = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
|
reqwest = { workspace = true, features = ["json"] }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
tempfile = { workspace = true }
|