[package] name = "emjudge-judgecore" version = "0.1.12" edition = "2021" links = "cgroup" build = "build.rs" license = "MIT" description = "Emjudge-Judgecore is a comprehensive library designed for the evaluation and testing of executing programs against specific specifications. Offering a robust judging system, it provides the framework for running and assessing programs within defined criteria, making it an essential tool for comprehensive program evaluation and testing." [lib] name = "emjudge_judgecore" path = "src/lib.rs" [dependencies] libc = "0.2.152" nix = { version = "0.27.1", features = ["process", "signal", "resource"] } config = "0.13.4" json5 = "0.4.1" psutil = "3.3.0" ron = "0.8.1" rust-ini = "0.20.0" serde = "1.0.194" serde_json = "1.0.111" serde_with = "3.4.0" serde_yaml = "0.9.30" tempfile = "3.9.0" toml = "0.8.8" users = "0.11.0" uuid = { version = "1.6.1", features = ["v4", "fast-rng", "macro-diagnostics"] } tokio = { version = "1.35.1", features = ["rt", "process", "fs", "time", "io-std", "io-util", "macros", "rt-multi-thread"], optional = true} [features] quantity = [] settings = [] cgroup = ["quantity"] cgroup_v2 = ["cgroup"] program = ["settings"] result = ["program", "quantity"] compile = ["result", "tokio"] run = ["result", "cgroup", "tokio"] test = ["run", "compile"] default = ["result"] full = ["test"] full_v2 = ["full", "cgroup_v2"] [build-dependencies] pkg-config = "0.3.16" [dev-dependencies] criterion = "0.5.1" [[bench]] name = "only_run_benchmark" harness = false [[bench]] name = "run_and_eval_benchmark" harness = false [[bench]] name = "run_and_interact_benchmark" harness = false