zeropool 0.3.1

High-performance buffer pool with constant-time allocation, thread-safe operations, and 5x speedup over bytes crate
Documentation
//! Example demonstrating BufferPool configuration options
use zeropool::BufferPool;

/// Main function demonstrating pool configuration and usage
fn main() {
    // Simple default pool
    let pool = BufferPool::new();
    println!("Created pool with default configuration");
    println!("Pool has {} buffers", pool.len());

    // Custom configuration with builder
    let custom_pool = BufferPool::builder()
        .num_shards(16)
        .tls_cache_size(8)
        .max_buffers_per_shard(32)
        .min_buffer_size(512 * 1024)
        .build();

    println!("\nCreated custom pool with builder");
    println!("Pool has {} buffers", custom_pool.len());

    // Test buffer operations
    {
        let buf = custom_pool.get(1024 * 1024);
        println!("\nGot buffer of size {} bytes", buf.len());
        // Buffer automatically returned to pool when dropped
    }
    println!("Returned buffer to pool");
    println!("Pool now has {} buffers", custom_pool.len());
}