Cargo Features

armature-core has no features set by default.

[dependencies]
armature-core = { version = "0.2.1", features = ["self-signed-certs", "simd-json", "http3", "io-uring"] }
self-signed-certs = rcgen
simd-json

Enables simd-json ^0.14

Optional SIMD JSON - significantly faster on x86_64 with AVX2

Affects serialization_pool::serialize_json_simd, serialization_pool::serialize_json_simd_with_size

http3 = h3, h3-quinn, quinn

HTTP/3 (QUIC) support - next-gen protocol with multiplexing over UDP Requires: quinn, h3, h3-quinn

io-uring

io_uring support for Linux (kernel 5.1+)
Provides 3-5% throughput improvement via reduced syscall overhead

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rcgen self-signed-certs?
quinn http3?

Enables quinn

HTTP/3 (QUIC) support - optional

h3 http3?
h3-quinn http3?