proxima-runtime 0.1.0

Runtime trait abstraction for proxima: per-core spawn, cross-core dispatch, background pool
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"
rust-version = "1.96"
name = "proxima-runtime"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime trait abstraction for proxima: per-core spawn, cross-core dispatch, background pool"
homepage = "https://github.com/brianbruggeman/proxima"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/brianbruggeman/proxima"

[features]
alloc = ["proxima-core/alloc"]
concurrency = [
    "std",
    "dep:serde",
    "dep:conflaguration",
]
default = ["std"]
io-uring = [
    "tokio",
    "dep:tokio-uring",
]
rayon = [
    "dep:rayon",
    "dep:futures",
    "std",
]
runtime-prime-full = []
std = [
    "alloc",
    "proxima-core/std",
    "thiserror/std",
]
tokio = [
    "std",
    "dep:tokio",
    "dep:core_affinity",
    "dep:flume",
]

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

[[test]]
name = "foreign_strategy"
path = "tests/foreign_strategy.rs"
required-features = ["concurrency"]

[[bench]]
name = "bench_concurrency"
path = "benches/bench_concurrency.rs"
harness = false
required-features = ["concurrency"]

[[bench]]
name = "bench_runtime_dispatch"
path = "benches/bench_runtime_dispatch.rs"
harness = false
required-features = ["std"]

[dependencies.conflaguration]
version = "2.0.0"
features = [
    "derive",
    "toml",
]
optional = true

[dependencies.core_affinity]
version = "0.8.3"
optional = true

[dependencies.flume]
version = "0.12.0"
optional = true

[dependencies.futures]
version = "0.3"
features = ["alloc"]
optional = true
default-features = false

[dependencies.proxima-core]
version = "0.1.0"
default-features = false

[dependencies.rayon]
version = "1.12.0"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "time",
    "sync",
    "net",
]
optional = true

[dev-dependencies.criterion]
version = "0.8.2"
default-features = false

[dev-dependencies.temp-env]
version = "0.3.6"

[dev-dependencies.toml]
version = "0.8"

[target.'cfg(target_os = "linux")'.dependencies.tokio-uring]
version = "0.5"
optional = true

[lints.clippy]
expect_used = "deny"
manual_async_fn = "allow"
unwrap_used = "deny"

[lints.rust]
warnings = "deny"

[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
check-cfg = ["cfg(tutorial_gate)"]