[package]
edition = "2024"
name = "frozen-core"
version = "0.0.20"
build = false
exclude = ["shell.nix"]
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"
[features]
bpool = ["error"]
bufpool = [
"error",
"hints",
]
crc32 = []
default = []
error = []
ffile = [
"libc",
"error",
"hints",
]
fmmap = [
"libc",
"error",
"hints",
"ffile",
]
fpipe = [
"error",
"ffile",
"bpool",
"hints",
]
hints = []
mpscq = []
[lib]
name = "frozen_core"
path = "src/lib.rs"
[[bench]]
name = "bpool"
path = "benches/bpool.rs"
harness = false
required-features = ["bpool"]
[[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"]
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[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