code-executor 1.0.2

A code runner library for online judge system
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "code-executor"
version = "1.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A code runner library for online judge system
"""
homepage = "https://github.com/f-code-club/code-executor"
readme = "README.md"
license = "MIT"
repository = "https://github.com/f-code-club/code-executor"

[features]
serde = ["dep:serde"]

[lib]
name = "code_executor"
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[test]]
name = "should_return_accepted"
path = "tests/should_return_accepted.rs"

[[test]]
name = "util"
path = "tests/util.rs"

[dependencies.bon]
version = "3.8.1"

[dependencies.byte-unit]
version = "5.2.0"

[dependencies.cgroups-rs]
version = "0.5.0"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.state-shift]
version = "2.1.1"

[dependencies.tokio]
version = "1.48.0"
features = ["full"]

[dependencies.uuid]
version = "1.19.0"
features = [
    "v4",
    "fast-rng",
]

[dev-dependencies.rand]
version = "0.10.1"

[dev-dependencies.rstest]
version = "0.26.1"