Cargo Features

ringkernel-core has no features set by default.

[dependencies]
ringkernel-core = { version = "0.4.2", features = ["validation", "config-file", "cloud-storage", "crypto", "auth", "rate-limiting", "alerting", "tls", "enterprise", "benchmark"] }
validation

Enables rkyv ^0.7

Serialization (zero-copy)

config-file = serde, serde_yaml, toml
cloud-storage = aws-config, aws-sdk-s3, bytes

Affects ringkernel-core::cloud_storage

crypto enterprise? = aes-gcm, argon2, chacha20poly1305, hkdf, rand, sha2, zeroize

Enterprise security features

Affects k2k::K2KEncryptionConfig, k2k::K2KEncryptionAlgorithm, k2k::K2KKeyMaterial, k2k::EncryptedK2KMessage, k2k::K2KEncryptor, k2k::K2KEncryptionStatsSnapshot, k2k::EncryptedK2KEndpoint, k2k::EncryptedK2KBuilder

auth enterprise? = base64, jsonwebtoken, serde, serde_json

Affects auth::JwtClaims, auth::JwtConfig, auth::JwtAuth

rate-limiting enterprise? = governor
alerting enterprise? = reqwest

Affects alerting::WebhookSink, alerting::WebhookFormat, audit::ElasticsearchConfig, audit::ElasticsearchSink

tls enterprise? = rustls, rustls-pemfile, webpki-roots

Affects ringkernel-core::tls

enterprise = alerting, auth, crypto, rate-limiting, tls

Combined enterprise feature

benchmark = serde, serde_json

Benchmark framework

Affects ringkernel-core::benchmark

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.

serde auth? benchmark? config-file?

Enables serde

Configuration file support (optional)

serde_json auth? benchmark?
toml config-file?

Enables toml ^0.8

serde_yaml config-file?
aws-sdk-s3 cloud-storage?

Enables aws-sdk-s3

Cloud storage (optional)

aws-config cloud-storage?
bytes cloud-storage?
aes-gcm crypto?

Enables aes-gcm

Security / Cryptography (optional, for real encryption)

chacha20poly1305 crypto?
argon2 crypto?
rand crypto?

Enables rand ^0.8

zeroize crypto?
hkdf crypto?
sha2 crypto?
jsonwebtoken auth?

Enables jsonwebtoken

Authentication (optional)

base64 auth?

Enables base64 ^0.21

governor rate-limiting?

Enables governor ^0.6

Rate limiting (optional)

reqwest alerting?

Enables reqwest ^0.11

HTTP client for webhooks (optional)

rustls tls?

Enables rustls

TLS support (optional)

rustls-pemfile tls?
webpki-roots tls?

Enables webpki-roots ^0.26