[package] name = "midas" version = "0.1.0" edition = "2021" description = "A resource workspace for agents: build slots, a fair queue, contained nodes" license = "MIT OR Apache-2.0" publish = false [[bin]] name = "midas" path = "src/main.rs" [dependencies] anyhow = "1" chrono = { version = "0.4", default-features = false, features = ["clock", "std"] } clap = { version = "4", features = ["derive", "env"] } libc = "0.2" # Accounts (accounts.rs): vetted crates for what must not be written by hand. argon2 = "0.5" hmac = "0.12" sha1 = "0.10" sha2 = "0.10" data-encoding = "2" # Web Push (push.rs): the VAPID signature, ES256. Deterministic signing (RFC 6979), so no RNG. p256 = { version = "0.13", default-features = false, features = ["ecdsa", "std"] } qrcode = { version = "0.14", default-features = false, features = ["svg"] } serde = { version = "1", features = ["derive"] } serde_json = "1" # The board's stream compressed (ws.rs, RFC 7692): pure Rust, the deflate std's own backtraces use. miniz_oxide = "0.8" # A public repository's README as a page (codeview.rs): CommonMark and GitHub's tables, no raw HTML. pulldown-cmark = { version = "0.13", default-features = false, features = ["html"] } [dev-dependencies] tempfile = "3" [profile.release] # One small static binary that root on the VPS, the agent containers and the # nodes all run. Size matters less than that it never surprises anyone. opt-level = 2 lto = "thin" codegen-units = 4 panic = "abort" strip = "debuginfo"