[package]
edition = "2021"
name = "reddb-io-server"
version = "1.28.21"
authors = ["RedDB.io <hello@reddb.io>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RedDB server-side engine: storage, runtime, replication, MCP, AI, and the gRPC/HTTP/RedWire/PG-wire dispatchers. Re-exported by the umbrella `reddb` crate."
homepage = "https://github.com/reddb-io/reddb"
documentation = "https://docs.rs/reddb-io-server"
readme = "README.md"
keywords = [
"database",
"vector-search",
"graph",
"document-store",
"rust",
]
categories = [
"database-implementations",
"data-structures",
]
license = "BUSL-1.1"
repository = "https://github.com/reddb-io/reddb"
[features]
ai-ner-network = ["dep:reqwest"]
backend-d1 = []
backend-s3 = []
backend-turso = []
default = []
local-models = []
otel = []
turbo-crash-inject = []
[lib]
name = "reddb_server"
path = "src/lib.rs"
[[bin]]
name = "command-coverage"
path = "src/bin/command-coverage.rs"
[[test]]
name = "agg_spill_failure_recovery"
path = "tests/agg_spill_failure_recovery.rs"
[[test]]
name = "aggregate_column_casing_diag"
path = "tests/aggregate_column_casing_diag.rs"
[[test]]
name = "ai_transport"
path = "tests/ai_transport.rs"
[[test]]
name = "append_only_segment_runtime"
path = "tests/append_only_segment_runtime.rs"
[[test]]
name = "ask_parser"
path = "tests/ask_parser.rs"
[[test]]
name = "ask_snapshots"
path = "tests/ask_snapshots.rs"
[[test]]
name = "automatic_history_reclamation"
path = "tests/automatic_history_reclamation.rs"
[[test]]
name = "bounded_disk_residency"
path = "tests/bounded_disk_residency.rs"
[[test]]
name = "bounded_write_progress"
path = "tests/bounded_write_progress.rs"
[[test]]
name = "btree_delete_stack"
path = "tests/btree_delete_stack.rs"
[[test]]
name = "btree_mixed_width_split"
path = "tests/btree_mixed_width_split.rs"
[[test]]
name = "cache_topology_spike_contract"
path = "tests/cache_topology_spike_contract.rs"
[[test]]
name = "cascade_replication_e2e"
path = "tests/cascade_replication_e2e.rs"
[[test]]
name = "checkpoint_after_physical_delete"
path = "tests/checkpoint_after_physical_delete.rs"
[[test]]
name = "checkpoint_bulk_append"
path = "tests/checkpoint_bulk_append.rs"
[[test]]
name = "checkpoint_concurrent_transaction"
path = "tests/checkpoint_concurrent_transaction.rs"
[[test]]
name = "checkpoint_gc_provenance"
path = "tests/checkpoint_gc_provenance.rs"
[[test]]
name = "checkpoint_idle_pressure"
path = "tests/checkpoint_idle_pressure.rs"
[[test]]
name = "checkpoint_open_transaction"
path = "tests/checkpoint_open_transaction.rs"
[[test]]
name = "checkpoint_sealed_preimage"
path = "tests/checkpoint_sealed_preimage.rs"
[[test]]
name = "checkpoint_sparse_update"
path = "tests/checkpoint_sparse_update.rs"
[[test]]
name = "cold_append_checkpoint"
path = "tests/cold_append_checkpoint.rs"
[[test]]
name = "cold_catalog"
path = "tests/cold_catalog.rs"
[[test]]
name = "cold_control_events"
path = "tests/cold_control_events.rs"
[[test]]
name = "collection_scan_memory"
path = "tests/collection_scan_memory.rs"
[[test]]
name = "columnar_activation_e2e"
path = "tests/columnar_activation_e2e.rs"
[[test]]
name = "columnar_read_bridge_e2e"
path = "tests/columnar_read_bridge_e2e.rs"
[[test]]
name = "concurrent_ddl_issue_2376"
path = "tests/concurrent_ddl_issue_2376.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "control_events_config"
path = "tests/control_events_config.rs"
[[test]]
name = "control_events_policy"
path = "tests/control_events_policy.rs"
[[test]]
name = "control_events_user"
path = "tests/control_events_user.rs"
[[test]]
name = "dead_storage_modules"
path = "tests/dead_storage_modules.rs"
[[test]]
name = "document_btree_index_e2e"
path = "tests/document_btree_index_e2e.rs"
[[test]]
name = "dotted_collection_names"
path = "tests/dotted_collection_names.rs"
[[test]]
name = "e2e_issue_1042_ui_bridge"
path = "tests/e2e_issue_1042_ui_bridge.rs"
[[test]]
name = "e2e_issue_1044_remote_bridge"
path = "tests/e2e_issue_1044_remote_bridge.rs"
[[test]]
name = "e2e_issue_1047_server_ui"
path = "tests/e2e_issue_1047_server_ui.rs"
[[test]]
name = "e2e_issue_1048_auth_handoff"
path = "tests/e2e_issue_1048_auth_handoff.rs"
[[test]]
name = "e2e_issue_805_query_stream"
path = "tests/e2e_issue_805_query_stream.rs"
[[test]]
name = "e2e_issue_806_query_streaming"
path = "tests/e2e_issue_806_query_streaming.rs"
[[test]]
name = "e2e_issue_807_query_stream_cursor"
path = "tests/e2e_issue_807_query_stream_cursor.rs"
[[test]]
name = "e2e_issue_808_query_stream_cancel"
path = "tests/e2e_issue_808_query_stream_cancel.rs"
[[test]]
name = "e2e_issue_809_query_stream_matrix"
path = "tests/e2e_issue_809_query_stream_matrix.rs"
[[test]]
name = "e2e_issue_936_browser_credential_layer"
path = "tests/e2e_issue_936_browser_credential_layer.rs"
[[test]]
name = "election_consensus_e2e"
path = "tests/election_consensus_e2e.rs"
[[test]]
name = "embedded_rdb_skeleton"
path = "tests/embedded_rdb_skeleton.rs"
[[test]]
name = "engine_presentation_boundary"
path = "tests/engine_presentation_boundary.rs"
[[test]]
name = "ephemeral_store_1786"
path = "tests/ephemeral_store_1786.rs"
[[test]]
name = "geo_parser"
path = "tests/geo_parser.rs"
[[test]]
name = "geo_parser_snapshots"
path = "tests/geo_parser_snapshots.rs"
[[test]]
name = "graph_dsl_parser"
path = "tests/graph_dsl_parser.rs"
[[test]]
name = "graph_dsl_snapshots"
path = "tests/graph_dsl_snapshots.rs"
[[test]]
name = "grpc_compression_smoke"
path = "tests/grpc_compression_smoke.rs"
[[test]]
name = "inline_config_read_gate_1743"
path = "tests/inline_config_read_gate_1743.rs"
[[test]]
name = "integration_result_column_ordering"
path = "tests/integration_result_column_ordering.rs"
[[test]]
name = "integration_turbo_boot_rebuild"
path = "tests/integration_turbo_boot_rebuild.rs"
[[test]]
name = "integration_turbo_crash_inject"
path = "tests/integration_turbo_crash_inject.rs"
required-features = ["turbo-crash-inject"]
[[test]]
name = "integration_turbo_snapshot"
path = "tests/integration_turbo_snapshot.rs"
[[test]]
name = "integration_turboquant_blocked_layout"
path = "tests/integration_turboquant_blocked_layout.rs"
[[test]]
name = "issue_1708_array_literal_typing"
path = "tests/issue_1708_array_literal_typing.rs"
[[test]]
name = "issue_704_btree_rebuild_spills_oversized"
path = "tests/issue_704_btree_rebuild_spills_oversized.rs"
[[test]]
name = "kv_substitution_audit"
path = "tests/kv_substitution_audit.rs"
[[test]]
name = "leaderboard_rank_e2e"
path = "tests/leaderboard_rank_e2e.rs"
[[test]]
name = "limited_offset_memory"
path = "tests/limited_offset_memory.rs"
[[test]]
name = "limited_offset_windows"
path = "tests/limited_offset_windows.rs"
[[test]]
name = "migration_parser"
path = "tests/migration_parser.rs"
[[test]]
name = "migration_parser_snapshots"
path = "tests/migration_parser_snapshots.rs"
[[test]]
name = "missing_field_predicates"
path = "tests/missing_field_predicates.rs"
[[test]]
name = "moderation_gate"
path = "tests/moderation_gate.rs"
[[test]]
name = "multi_writer_cluster_drill_e2e"
path = "tests/multi_writer_cluster_drill_e2e.rs"
[[test]]
name = "native_artifact_shrink"
path = "tests/native_artifact_shrink.rs"
[[test]]
name = "native_readiness_snapshot"
path = "tests/native_readiness_snapshot.rs"
[[test]]
name = "native_state_recovery"
path = "tests/native_state_recovery.rs"
[[test]]
name = "offline_compaction"
path = "tests/offline_compaction.rs"
[[test]]
name = "operational_backup_restore"
path = "tests/operational_backup_restore.rs"
[[test]]
name = "operational_offline_r2_live"
path = "tests/operational_offline_r2_live.rs"
[[test]]
name = "paged_checkpoint_rebuild"
path = "tests/paged_checkpoint_rebuild.rs"
[[test]]
name = "paged_stats_lock"
path = "tests/paged_stats_lock.rs"
[[test]]
name = "pager_allocation_recovery"
path = "tests/pager_allocation_recovery.rs"
[[test]]
name = "pager_flush_memory"
path = "tests/pager_flush_memory.rs"
[[test]]
name = "pager_flush_transaction"
path = "tests/pager_flush_transaction.rs"
[[test]]
name = "pager_freelist_flush_recovery"
path = "tests/pager_freelist_flush_recovery.rs"
[[test]]
name = "parser_hardening"
path = "tests/parser_hardening.rs"
[[test]]
name = "parser_snapshots"
path = "tests/parser_snapshots.rs"
[[test]]
name = "pg_wire_tls_smoke"
path = "tests/pg_wire_tls_smoke.rs"
[[test]]
name = "phase1_zoned_rdb"
path = "tests/phase1_zoned_rdb.rs"
[[test]]
name = "physical_delete_root_publication"
path = "tests/physical_delete_root_publication.rs"
[[test]]
name = "portable_query_engine"
path = "tests/portable_query_engine.rs"
[[test]]
name = "positional_row_update_reopen"
path = "tests/positional_row_update_reopen.rs"
[[test]]
name = "primary_replica_basebackup_runtime"
path = "tests/primary_replica_basebackup_runtime.rs"
[[test]]
name = "primary_replica_rebootstrap_runtime"
path = "tests/primary_replica_rebootstrap_runtime.rs"
[[test]]
name = "primary_replica_relay_runtime"
path = "tests/primary_replica_relay_runtime.rs"
[[test]]
name = "primary_replica_slot_catalog"
path = "tests/primary_replica_slot_catalog.rs"
[[test]]
name = "primary_replica_timeline_runtime"
path = "tests/primary_replica_timeline_runtime.rs"
[[test]]
name = "probabilistic_parser"
path = "tests/probabilistic_parser.rs"
[[test]]
name = "probabilistic_parser_snapshots"
path = "tests/probabilistic_parser_snapshots.rs"
[[test]]
name = "query_request_contract"
path = "tests/query_request_contract.rs"
[[test]]
name = "queue_ack_nack_wire_compat_transport"
path = "tests/queue_ack_nack_wire_compat_transport.rs"
[[test]]
name = "queue_delayed_messages"
path = "tests/queue_delayed_messages.rs"
[[test]]
name = "queue_parser"
path = "tests/queue_parser.rs"
[[test]]
name = "queue_parser_snapshots"
path = "tests/queue_parser_snapshots.rs"
[[test]]
name = "queue_policy_descriptor"
path = "tests/queue_policy_descriptor.rs"
[[test]]
name = "queue_read_wait_cap_and_txn"
path = "tests/queue_read_wait_cap_and_txn.rs"
[[test]]
name = "queue_read_wait_grpc_smoke"
path = "tests/queue_read_wait_grpc_smoke.rs"
[[test]]
name = "queue_read_wait_http_smoke"
path = "tests/queue_read_wait_http_smoke.rs"
[[test]]
name = "queue_read_wait_pg_wire_smoke"
path = "tests/queue_read_wait_pg_wire_smoke.rs"
[[test]]
name = "queue_read_wait_redwire_smoke"
path = "tests/queue_read_wait_redwire_smoke.rs"
[[test]]
name = "queue_read_wait_runtime"
path = "tests/queue_read_wait_runtime.rs"
[[test]]
name = "queue_read_wait_telemetry"
path = "tests/queue_read_wait_telemetry.rs"
[[test]]
name = "queue_retry_policy"
path = "tests/queue_retry_policy.rs"
[[test]]
name = "queue_shaped_claim_lifecycle"
path = "tests/queue_shaped_claim_lifecycle.rs"
[[test]]
name = "redwire_tls_auth_smoke"
path = "tests/redwire_tls_auth_smoke.rs"
[[test]]
name = "replication_reconnect_telemetry"
path = "tests/replication_reconnect_telemetry.rs"
[[test]]
name = "repro_issue4_column_names_reopen"
path = "tests/repro_issue4_column_names_reopen.rs"
[[test]]
name = "runtime_analytics_schema_registry"
path = "tests/runtime_analytics_schema_registry.rs"
[[test]]
name = "runtime_blockchain_chain_insert"
path = "tests/runtime_blockchain_chain_insert.rs"
[[test]]
name = "runtime_blockchain_kind"
path = "tests/runtime_blockchain_kind.rs"
[[test]]
name = "runtime_blockchain_verify_chain"
path = "tests/runtime_blockchain_verify_chain.rs"
[[test]]
name = "runtime_query_behavior"
path = "tests/runtime_query_behavior.rs"
[[test]]
name = "runtime_signed_writes"
path = "tests/runtime_signed_writes.rs"
[[test]]
name = "s3_rotating_credentials_live"
path = "tests/s3_rotating_credentials_live.rs"
[[test]]
name = "schema_vocabulary_snapshots"
path = "tests/schema_vocabulary_snapshots.rs"
[[test]]
name = "server_bootstrap_boot_path"
path = "tests/server_bootstrap_boot_path.rs"
[[test]]
name = "server_disk_residency"
path = "tests/server_disk_residency.rs"
[[test]]
name = "serverless_file_runtime"
path = "tests/serverless_file_runtime.rs"
[[test]]
name = "single_file_collection_model_recovery"
path = "tests/single_file_collection_model_recovery.rs"
[[test]]
name = "snapshot_redaction_lint"
path = "tests/snapshot_redaction_lint.rs"
[[test]]
name = "sql_injection_audit"
path = "tests/sql_injection_audit.rs"
[[test]]
name = "statement_snapshot_retention"
path = "tests/statement_snapshot_retention.rs"
[[test]]
name = "store_fork_at_lsn"
path = "tests/store_fork_at_lsn.rs"
[[test]]
name = "store_fork_profile"
path = "tests/store_fork_profile.rs"
[[test]]
name = "subquery_parser"
path = "tests/subquery_parser.rs"
[[test]]
name = "subquery_snapshots"
path = "tests/subquery_snapshots.rs"
[[test]]
name = "timeseries_parser"
path = "tests/timeseries_parser.rs"
[[test]]
name = "timeseries_parser_snapshots"
path = "tests/timeseries_parser_snapshots.rs"
[[test]]
name = "vacuum_memory"
path = "tests/vacuum_memory.rs"
[[test]]
name = "vacuum_rollback_visibility"
path = "tests/vacuum_rollback_visibility.rs"
[[test]]
name = "vacuum_snapshot_horizon"
path = "tests/vacuum_snapshot_horizon.rs"
[[test]]
name = "vault_contract"
path = "tests/vault_contract.rs"
[[test]]
name = "vault_existing_baseline"
path = "tests/vault_existing_baseline.rs"
[[test]]
name = "vault_import_corruption"
path = "tests/vault_import_corruption.rs"
[[test]]
name = "vault_join_contract"
path = "tests/vault_join_contract.rs"
[[test]]
name = "vault_scalar_contract"
path = "tests/vault_scalar_contract.rs"
[[test]]
name = "vault_transactions"
path = "tests/vault_transactions.rs"
[[test]]
name = "vector_search_parser"
path = "tests/vector_search_parser.rs"
[[test]]
name = "vector_search_snapshots"
path = "tests/vector_search_snapshots.rs"
[[test]]
name = "vision_enrichment"
path = "tests/vision_enrichment.rs"
[[test]]
name = "wal_vfs"
path = "tests/wal_vfs.rs"
[[test]]
name = "witness_failover_e2e"
path = "tests/witness_failover_e2e.rs"
[[bench]]
name = "ai_batch_bench"
path = "benches/ai_batch_bench.rs"
harness = false
[[bench]]
name = "blob_cache_bench"
path = "benches/blob_cache_bench.rs"
harness = false
[[bench]]
name = "cache_topology_spike_bench"
path = "benches/cache_topology_spike_bench.rs"
harness = false
[[bench]]
name = "column_policy_gate_bench"
path = "benches/column_policy_gate_bench.rs"
harness = false
[[bench]]
name = "columnar_read_bench"
path = "benches/columnar_read_bench.rs"
harness = false
[[bench]]
name = "concurrent_commit_bench"
path = "benches/concurrent_commit_bench.rs"
harness = false
[[bench]]
name = "row_id_intersection_bench"
path = "benches/row_id_intersection_bench.rs"
harness = false
[[bench]]
name = "timeseries_ingest_bench"
path = "benches/timeseries_ingest_bench.rs"
harness = false
[dependencies.aes-gcm]
version = "0.11"
[dependencies.argon2]
version = "0.6.0"
[dependencies.axum]
version = "0.8"
features = [
"http1",
"http2",
"tokio",
"ws",
]
default-features = false
[dependencies.base64]
version = "0.22"
[dependencies.blake3]
version = "1"
[dependencies.bytes]
version = "1"
[dependencies.crc32fast]
version = "1.5"
[dependencies.crossbeam-queue]
version = "0.3"
[dependencies.ed25519-dalek]
version = "3"
[dependencies.flate2]
version = "1"
[dependencies.fs2]
version = "0.4"
[dependencies.geo]
version = "0.33"
[dependencies.h3o]
version = "0.10"
features = ["geo"]
[dependencies.hex]
version = "0.4"
[dependencies.hmac]
version = "0.13"
[dependencies.http]
version = "1"
[dependencies.hyper-util]
version = "0.1"
features = [
"server-auto",
"service",
"tokio",
]
[dependencies.indexmap]
version = "2"
[dependencies.itoa]
version = "1"
[dependencies.jsonwebtoken]
version = "10"
features = ["aws_lc_rs"]
[dependencies.lru]
version = "0.18"
[dependencies.lz4_flex]
version = "0.14"
features = ["std"]
default-features = false
[dependencies.parking_lot]
version = "0.12"
features = ["arc_lock"]
[dependencies.prost]
version = "0.14"
[dependencies.rayon]
version = "1.12"
[dependencies.rcgen]
version = "0.14"
[dependencies.reddb-crypto]
version = "1.0"
package = "reddb-io-crypto"
[dependencies.reddb-engine]
version = "1.0"
package = "reddb-io-engine"
[dependencies.reddb-file]
version = "1.0"
package = "reddb-io-file"
[dependencies.reddb-grpc-proto]
version = "1.0"
package = "reddb-io-grpc-proto"
[dependencies.reddb-rql]
version = "1.0"
package = "reddb-io-rql"
[dependencies.reddb-types]
version = "1.0"
package = "reddb-io-types"
[dependencies.reddb-wire]
version = "1.0"
package = "reddb-io-wire"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"rustls-tls",
"json",
]
optional = true
default-features = false
[dependencies.roaring]
version = "0.11"
[dependencies.rustls]
version = "0.23"
features = [
"ring",
"std",
]
default-features = false
[dependencies.rustls-pemfile]
version = "2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.sha2]
version = "0.11"
[dependencies.snap]
version = "1"
[dependencies.strsim]
version = "0.11"
[dependencies.tar]
version = "0.4"
[dependencies.tokio]
version = "1.53.3"
features = [
"rt-multi-thread",
"macros",
"signal",
"sync",
"time",
]
[dependencies.tokio-rustls]
version = "0.26"
features = [
"tls12",
"logging",
"ring",
]
default-features = false
[dependencies.tokio-stream]
version = "0.1"
features = [
"net",
"sync",
]
[dependencies.tonic]
version = "1.0"
features = [
"transport",
"codegen",
"router",
"gzip",
"zstd",
"tls-ring",
]
default-features = false
package = "reddb-io-tonic"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-appender]
version = "0.2"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
"json",
"ansi",
"registry",
]
default-features = false
[dependencies.ureq]
version = "3.3"
features = ["rustls"]
default-features = false
[dependencies.webpki-roots]
version = "1"
[dependencies.x509-parser]
version = "0.18"
[dependencies.zeroize]
version = "1"
[dependencies.zstd]
version = "0.14.3"
default-features = false
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.http]
version = "1"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.insta]
version = "1"
features = ["filters"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.regex]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio-tungstenite]
version = "0.30"
[dev-dependencies.toml]
version = "1.1"
[dev-dependencies.trybuild]
version = "1"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[lints.clippy]
cast_possible_truncation = "warn"
expect_used = "allow"
too_many_lines = "warn"
unwrap_used = "deny"