| Crates.io | sib |
| lib.rs | sib |
| version | 0.0.12 |
| created_at | 2025-02-28 14:47:39.016353+00 |
| updated_at | 2025-09-13 14:35:08.859648+00 |
| description | A high-performance, secure, and cross-platform modules optimized for efficiency, scalability, and reliability. |
| homepage | |
| repository | https://github.com/PooyaEimandar/sib |
| max_upload_size | |
| id | 1572894 |
| size | 336,789 |
SIB is a high-performance, secure, and cross-platform modules optimized for efficiency, scalability, and reliability. it is designed for real-time networking, low-latency streaming, and scalable HTTP services.
🏷️ "Sib" means apple in Persian (سیب).
| Feature | Description |
|---|---|
net-h1-server |
Enable HTTP/1.1 server with coroutine (cross platform) |
net-h2-server |
Enable HTTP/2 server with io_uring (only on Linux kernel 5.6+) |
net-h3-server |
Enable HTTP/3 QUIC-based server with io_uring (only on Linux kernel 5.6+) |
db-fdb |
FoundationDB bindings (requires libfdb_c) on macOS/Linux |
stm-sender |
Real-time video/audio streamer server |
stm-receiver |
Real-time video/audio receiver |
Environment:
target-cpu=native on Apple Macbook Pro M2 Max 2023| Concurrency | Requests/sec | Latency (avg) | Transfer/sec |
|---|---|---|---|
| 8 | 105,598 | 75.70 µs | 12.89 MB/s |
| 512 | 840,036 | 0.99 ms | 102.54 MB/s |
| 256 | 5,106,291 | 1.06 ms | 623.33 MB/s |
| 1024 | 6,112,892 | 1.71 ms | 746.20 MB/s |
| 4096 | 5,890,631 | 5.11 ms | 719.07 MB/s |
| 16384 | 5,038,547 | 19.11 ms | 615.06 MB/s |
When building H1 with the net-h1-server feature enabled, you’ll need to set up the LLVM toolchain and related libraries first for boringSSL.
sudo apt install -y cmake clang lld llvm libclang-dev
SIB is licensed under either of:
at your option.