frozen-core 0.0.28

Custom implementations and core utilities for frozen-lab crates
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.86.0"
name = "frozen-core"
version = "0.0.28"
build = false
exclude = [
    ".github/",
    "shell.nix",
    "SECURITY.md",
    "CONTRIBUTING.md",
    "CODE_OF_CONDUCT.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Custom implementations and core utilities for frozen-lab crates"
readme = "README.md"
keywords = [
    "frozen-lab",
    "frozen-core",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/frozen-lab/frozen-core"

[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
targets = [
    "aarch64-unknown-linux-gnu",
    "aarch64-apple-darwin",
]
additional-targets = ["i686-apple-darwin"]

[features]
ack = [
    "error",
    "hints",
    "futures",
    "event-listener",
]
bufpool = [
    "error",
    "hints",
]
crc32 = []
default = [
    "ack",
    "error",
    "hints",
    "mpscq",
    "crc32",
    "bufpool",
    "ffile",
    "fmmap",
    "wpipe",
]
error = []
ffile = [
    "libc",
    "error",
    "hints",
]
fmmap = [
    "ack",
    "libc",
    "error",
    "hints",
    "ffile",
]
hints = []
mpscq = []
wpipe = [
    "ack",
    "error",
    "ffile",
    "mpscq",
    "bufpool",
]

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

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

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

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

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

[dependencies.event-listener]
version = "5.4.1"
optional = true

[dependencies.futures]
version = "0.3.32"
optional = true

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

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

[dev-dependencies.tempfile]
version = "3.20.0"

[target."cfg(unix)".dependencies.libc]
version = "0.2.178"
optional = true

[target."cfg(unix)".dev-dependencies.libc]
version = "0.2.178"

[profile.bench]
inherits = "release"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
incremental = false