[package]
edition = "2021"
rust-version = "1.95"
name = "dyniak"
version = "2.0.0"
authors = ["Greg Burd <greg@burd.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Riak-compatible protocol surface (HTTP + PBC) and storage bridge for the Dynomite Rust port"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/gburd/dynomite"
[features]
default = []
noxu = ["dep:noxu"]
quic = ["dynomite/quic"]
search = ["dep:dynomite-search"]
wasm = [
"dep:wasmtime",
"dep:ciborium",
]
[lib]
name = "dyniak"
path = "src/lib.rs"
[[example]]
name = "chaos_local_server"
path = "examples/chaos_local_server.rs"
required-features = ["noxu"]
[[test]]
name = "aae_persist_round_trip"
path = "tests/aae_persist_round_trip.rs"
[[test]]
name = "bucket_props_routing"
path = "tests/bucket_props_routing.rs"
[[test]]
name = "crdt_map_hll_round_trip"
path = "tests/crdt_map_hll_round_trip.rs"
[[test]]
name = "crdt_pbc_round_trip"
path = "tests/crdt_pbc_round_trip.rs"
[[test]]
name = "crdt_read_coordination"
path = "tests/crdt_read_coordination.rs"
[[test]]
name = "crdt_register_flag_round_trip"
path = "tests/crdt_register_flag_round_trip.rs"
[[test]]
name = "datatypes_properties"
path = "tests/datatypes_properties.rs"
[[test]]
name = "datatypes_round_trip"
path = "tests/datatypes_round_trip.rs"
[[test]]
name = "datatypes_wire_ids"
path = "tests/datatypes_wire_ids.rs"
[[test]]
name = "delta_crdt_bandwidth"
path = "tests/delta_crdt_bandwidth.rs"
[[test]]
name = "delta_crdt_properties"
path = "tests/delta_crdt_properties.rs"
[[test]]
name = "handoff_fsm"
path = "tests/handoff_fsm.rs"
[[test]]
name = "hlc_properties"
path = "tests/hlc_properties.rs"
[[test]]
name = "hlc_snapshot_demo"
path = "tests/hlc_snapshot_demo.rs"
[[test]]
name = "http_objects"
path = "tests/http_objects.rs"
[[test]]
name = "http_round_trip"
path = "tests/http_round_trip.rs"
[[test]]
name = "http_search"
path = "tests/http_search.rs"
[[test]]
name = "http_server_variants"
path = "tests/http_server_variants.rs"
[[test]]
name = "itc_properties"
path = "tests/itc_properties.rs"
[[test]]
name = "mapreduce_bucket_inputs"
path = "tests/mapreduce_bucket_inputs.rs"
[[test]]
name = "mapreduce_link_phase"
path = "tests/mapreduce_link_phase.rs"
[[test]]
name = "mapreduce_pb_properties"
path = "tests/mapreduce_pb_properties.rs"
[[test]]
name = "mapreduce_round_trip"
path = "tests/mapreduce_round_trip.rs"
[[test]]
name = "mapreduce_wasm"
path = "tests/mapreduce_wasm.rs"
[[test]]
name = "noxu_pbc_round_trip"
path = "tests/noxu_pbc_round_trip.rs"
[[test]]
name = "object_causal_context"
path = "tests/object_causal_context.rs"
[[test]]
name = "object_links"
path = "tests/object_links.rs"
[[test]]
name = "pbc_round_trip"
path = "tests/pbc_round_trip.rs"
[[test]]
name = "postcommit_hook"
path = "tests/postcommit_hook.rs"
[[test]]
name = "precommit_hook"
path = "tests/precommit_hook.rs"
[[test]]
name = "quic_pbc"
path = "tests/quic_pbc.rs"
[[test]]
name = "quorum_enforcement"
path = "tests/quorum_enforcement.rs"
[[test]]
name = "ramp_history"
path = "tests/ramp_history.rs"
[[test]]
name = "ramp_properties"
path = "tests/ramp_properties.rs"
[[test]]
name = "reaper_fsm"
path = "tests/reaper_fsm.rs"
[[test]]
name = "replica_routing"
path = "tests/replica_routing.rs"
[[test]]
name = "tls_round_trip"
path = "tests/tls_round_trip.rs"
[[test]]
name = "txn_http_round_trip"
path = "tests/txn_http_round_trip.rs"
[[test]]
name = "wasm_rust_fixtures"
path = "tests/wasm_rust_fixtures.rs"
[[test]]
name = "xa_cross_node"
path = "tests/xa_cross_node.rs"
[[test]]
name = "xa_net_wire"
path = "tests/xa_net_wire.rs"
[[test]]
name = "xa_recovery"
path = "tests/xa_recovery.rs"
[dependencies.bytes]
version = "1.11"
[dependencies.ciborium]
version = "0.2"
optional = true
[dependencies.dyn-encoding]
version = "0.0.1"
[dependencies.dyn-hashtree]
version = "0.0.1"
[dependencies.dynomite]
version = "2.0.0"
package = "dynomite-engine"
[dependencies.dynomite-search]
version = "2.0.0"
optional = true
[dependencies.futures-core]
version = "0.3"
[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false
[dependencies.gen-fsm]
version = "0.0.1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1.10"
features = [
"http1",
"server",
]
[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]
[dependencies.noxu]
version = "7.10"
optional = true
[dependencies.parking_lot]
version = "0.12"
[dependencies.prost]
version = "0.14"
[dependencies.rustls]
version = "0.23"
features = [
"std",
"ring",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.throttle-core]
version = "0.0.1"
[dependencies.tokio]
version = "1.52"
features = ["full"]
[dependencies.tokio-rustls]
version = "0.26"
features = ["ring"]
default-features = false
[dependencies.tracing]
version = "0.1"
[dependencies.wasmtime]
version = "46.0"
features = [
"cranelift",
"runtime",
"wat",
]
optional = true
default-features = false
[dev-dependencies.hegeltest]
version = "0.44"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.hyper-rustls]
version = "0.27"
features = [
"http1",
"ring",
"webpki-tokio",
"tls12",
]
default-features = false
[dev-dependencies.hyper-util]
version = "0.1"
features = [
"tokio",
"client-legacy",
"http1",
]
[dev-dependencies.rcgen]
version = "0.14"
[dev-dependencies.tempfile]
version = "3.27"
[dev-dependencies.tokio]
version = "1.52"
features = ["full"]
[lints.clippy]
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]