zeropool 0.3.1

High-performance buffer pool with constant-time allocation, thread-safe operations, and 5x speedup over bytes crate
Documentation
# Rustfmt Configuration for ZeroPool
# High-performance, thread-safe buffer pool library
# Edition: 2021 | Style: Stable Rust features only

# =============================================================================
# Edition & Language Features
# =============================================================================
edition = "2021"

# =============================================================================
# Line Width & Wrapping
# =============================================================================
# Standard Rust community default
max_width = 100
# Use small heuristics for better formatting decisions
use_small_heuristics = "Default"

# =============================================================================
# Import Organization
# =============================================================================
# Reorder imports alphabetically
reorder_imports = true
# Reorder module declarations
reorder_modules = true

# =============================================================================
# Formatting Style
# =============================================================================
# Newline style
newline_style = "Unix"
# Use spaces for indentation (standard Rust)
hard_tabs = false
tab_spaces = 4

# =============================================================================
# Arrays & Collections
# =============================================================================
# Array formatting
array_width = 80
# Method chain formatting
chain_width = 80

# =============================================================================
# Functions
# =============================================================================
# Put function parameters on separate lines if too long
fn_params_layout = "Tall"
fn_call_width = 80

# =============================================================================
# Type Annotations
# =============================================================================
# Use short array notation where possible
use_field_init_shorthand = true
# Use try shorthand (?)
use_try_shorthand = true

# =============================================================================
# Other Settings
# =============================================================================
# Struct literal formatting
struct_lit_width = 40

# =============================================================================
# NOTES FOR DEVELOPERS
# =============================================================================
#
# This configuration uses only stable rustfmt features to avoid warnings.
# For more advanced formatting options, consider using nightly Rust with
# `rustup override set nightly` in this directory.
#
# Running rustfmt:
#   - Format entire project: cargo fmt
#   - Check without modifying: cargo fmt -- --check
#   - Format specific file: rustfmt src/file.rs
#
# Disabling formatting (use sparingly):
#   - Single line: #[rustfmt::skip]
#   - Only use for: ASCII art, manual alignment tables
#