evering 0.1.0

Typed shared-memory communication across processes
# 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 = "evering"
version = "0.1.0"
authors = ["Nostalgia <Nostalume@outlook.com>"]
build = false
include = [
    "/src/**",
    "/examples/**",
    "/tests/**",
    "/docs/**",
    "/Cargo.toml",
    "/Cargo.lock",
    "/README.md",
    "/LICENSE-*",
    "/rust-toolchain.toml",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed shared-memory communication across processes"
readme = "README.md"
keywords = [
    "ipc",
    "shared-memory",
    "lock-free",
    "runtime",
]
categories = [
    "concurrency",
    "data-structures",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nostalume/evering"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
benchmark = [
    "evidence",
    "os",
    "tokio",
    "local-socket",
]
default = ["std"]
evidence = [
    "std",
    "dep:blake3",
    "dep:serde",
    "dep:serde_json",
]
local-socket = [
    "process",
    "tokio",
    "dep:tempfile",
]
map = [
    "std",
    "dep:nix",
    "nix/fs",
    "nix/mman",
    "dep:windows-sys",
    "windows-sys/Win32_Foundation",
    "windows-sys/Win32_System_Memory",
]
notify = [
    "std",
    "dep:nix",
    "nix/event",
    "dep:windows-sys",
    "windows-sys/Win32_Foundation",
    "windows-sys/Win32_Security",
    "windows-sys/Win32_System_Threading",
]
os = [
    "map",
    "notify",
    "process",
]
plot = [
    "benchmark",
    "dep:plotters",
]
process = [
    "map",
    "nix/process",
    "nix/signal",
    "nix/socket",
    "nix/uio",
    "windows-sys/Win32_Security",
    "windows-sys/Win32_System_IO",
    "windows-sys/Win32_Storage_FileSystem",
    "windows-sys/Win32_System_Pipes",
    "windows-sys/Win32_System_Threading",
]
std = []
tokio = [
    "std",
    "notify",
    "dep:tokio",
]
tracing = [
    "std",
    "dep:tracing",
]

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

[[example]]
name = "index"
path = "examples/index.rs"
required-features = [
    "os",
    "tokio",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bitflags]
version = "2.10.0"

[dependencies.blake3]
version = "1.8.2"
optional = true

[dependencies.crossbeam-utils]
version = "0.8"
default-features = false

[dependencies.plotters]
version = "0.3.7"
features = ["svg_backend"]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1.0.145"
optional = true

[dependencies.tokio]
version = "1.47.1"
features = [
    "net",
    "rt",
    "sync",
    "time",
]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1"
optional = true

[dev-dependencies.fastrand]
version = "2.3.0"

[dev-dependencies.hdrhistogram]
version = "7.5.4"

[dev-dependencies.socket2]
version = "0.6.1"

[dev-dependencies.tokio]
version = "1.47.1"
features = [
    "macros",
    "rt-multi-thread",
    "sync",
    "time",
]

[dev-dependencies.tracing]
version = "0.1"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[target."cfg(unix)".dependencies.nix]
version = "0.30.1"
optional = true
default-features = false

[target."cfg(unix)".dependencies.tempfile]
version = "3.20.0"
optional = true

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
optional = true
default-features = false

[profile.bench]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
strip = true