[package]
edition = "2024"
name = "asupersync"
version = "0.3.3"
build = false
include = [
"Cargo.toml",
"README.md",
"LICENSE",
"assets/dashboard.html",
"src/**",
"!src/observability/otel_conformance_tests.rs",
"!src/subsystem_mutation_testing.rs",
"!**/real_*_e2e_tests.rs",
"!**/*.out",
"!**/*.snap.new",
"!**/.insta.pending-snap",
"!**/.*.pending-snap",
"!**/*.bak",
"!**/*.bak_*",
"!**/*.bak-*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Spec-first, cancel-correct, capability-secure async runtime for Rust."
documentation = "https://docs.rs/asupersync"
readme = "README.md"
keywords = [
"async",
"structured",
"cancellation",
"runtime",
]
categories = [
"asynchronous",
"concurrency",
]
license = "LicenseRef-MIT-OpenAI-Anthropic-Rider"
repository = "https://github.com/Dicklesworthstone/asupersync"
[features]
atpd-daemon = [
"cli",
"dep:tracing-subscriber",
]
benchmark-adapters = [
"dep:async-trait",
"dep:tokio",
"dep:tracing",
"tokio/macros",
"tokio/sync",
"tokio/time",
"dep:num_cpus",
"dep:whoami",
"dep:chrono",
]
browser-io = []
browser-trace = []
cancel-correctness-oracle = []
cli = [
"dep:clap",
"dep:time",
"trace-compression",
"dep:serde_yaml",
"dep:chrono",
"dep:env_logger",
"config-file",
"tracing-integration",
]
compression = [
"dep:flate2",
"dep:brotli",
]
config-file = ["dep:toml"]
criterion-benches = []
debug-server = []
default = ["proc-macros"]
deterministic-mode = []
fuzz = [
"dep:arbitrary",
"dep:opentelemetry-proto",
]
h3-websocket-e2e = []
http3 = ["quic"]
io-uring = ["dep:io-uring"]
kafka = ["dep:rdkafka"]
lab-stack-traces = [
"dep:backtrace",
"dep:rustc-demangle",
]
legacy-internal-test-harnesses = []
lock-metrics = []
loom-tests = ["dep:loom"]
messaging-fabric = []
metrics = [
"dep:opentelemetry",
"dep:opentelemetry_sdk",
"dep:regex",
]
mysql = []
native-runtime = []
obligation-cleanup-e2e = []
obligation-leak-detection = []
postgres = []
proc-macros = ["dep:asupersync-macros"]
quic = []
raptorq-roundtrip-e2e = []
real-service-e2e = [
"h3-websocket-e2e",
"obligation-cleanup-e2e",
"raptorq-roundtrip-e2e",
]
serialization-golden-harnesses = []
simd-intrinsics = []
sqlite = [
"dep:rusqlite",
"dep:sqlparser",
]
tailscale-path-provider = []
test-internals = [
"dep:tracing",
"dep:tracing-subscriber",
"dep:visibility",
]
tls = [
"dep:rustls",
"dep:rustls-pki-types",
"rustls/ring",
"dep:rustls-pemfile",
"dep:x509-parser",
]
tls-native-roots = [
"tls",
"dep:rustls-native-certs",
]
tls-webpki-roots = [
"tls",
"dep:webpki-roots",
]
tokio-compat = []
tower = ["dep:tower"]
trace-compression = ["dep:lz4_flex"]
tracing-integration = ["dep:tracing"]
waker-profiling = []
wasm-browser-deterministic = [
"wasm-runtime",
"deterministic-mode",
"browser-trace",
]
wasm-browser-dev = [
"wasm-runtime",
"browser-io",
]
wasm-browser-minimal = ["wasm-runtime"]
wasm-browser-preview = []
wasm-browser-prod = [
"wasm-runtime",
"browser-io",
]
wasm-runtime = ["wasm-browser-preview"]
[lib]
name = "asupersync"
path = "src/lib.rs"
[[bin]]
name = "asupersync"
path = "src/bin/asupersync.rs"
required-features = ["cli"]
[[bin]]
name = "atpd"
path = "src/bin/atpd.rs"
required-features = ["atpd-daemon"]
[[bin]]
name = "io_cap_budget_profile"
path = "src/bin/io_cap_budget_profile.rs"
[[bin]]
name = "offline_tuner"
path = "src/bin/offline_tuner.rs"
required-features = [
"cli",
"simd-intrinsics",
]
[[bin]]
name = "quic_conformance_report"
path = "src/bin/quic_conformance_report.rs"
[[bin]]
name = "raptorq_k10000_profile"
path = "src/bin/raptorq_k10000_profile.rs"
[[bin]]
name = "raptorq_k1024_baseline"
path = "src/bin/raptorq_k1024_baseline.rs"
[[bin]]
name = "raptorq_profile_manual"
path = "src/bin/raptorq_profile_manual.rs"
[[bin]]
name = "raptorq_profile_test"
path = "src/bin/raptorq_profile_test.rs"
[[bin]]
name = "verify_blocked_elimination"
path = "src/bin/verify_blocked_elimination.rs"
[dependencies.arbitrary]
version = "1"
features = ["derive"]
optional = true
[dependencies.asupersync-macros]
version = "0.3.3"
optional = true
[dependencies.async-trait]
version = "0.1"
optional = true
[dependencies.backtrace]
version = "0.3"
optional = true
[dependencies.base64]
version = "0.22.1"
[dependencies.bincode]
version = "2.1"
features = ["serde"]
package = "bincode-next"
[dependencies.brotli]
version = "8.0"
optional = true
[dependencies.chrono]
version = "0.4"
features = ["serde"]
optional = true
[dependencies.clap]
version = "4.4"
features = ["derive"]
optional = true
[dependencies.crc32fast]
version = "1.4"
[dependencies.crossbeam-deque]
version = "0.8.6"
[dependencies.crossbeam-queue]
version = "0.3"
[dependencies.env_logger]
version = "0.11"
optional = true
[dependencies.flate2]
version = "1.1"
optional = true
[dependencies.franken-decision]
version = "0.3.3"
[dependencies.franken-evidence]
version = "0.3.3"
[dependencies.franken-kernel]
version = "0.3.3"
[dependencies.futures-lite]
version = "2.6"
[dependencies.getrandom]
version = "0.4"
[dependencies.hashbrown]
version = "0.17"
[dependencies.hex]
version = "0.4"
[dependencies.hkdf]
version = "0.12"
[dependencies.hmac]
version = "0.13"
[dependencies.loom]
version = "0.7"
optional = true
[dependencies.lz4_flex]
version = "0.13"
optional = true
[dependencies.memchr]
version = "2.8"
[dependencies.nkeys]
version = "0.4.5"
[dependencies.num_cpus]
version = "1.0"
optional = true
[dependencies.opentelemetry]
version = "0.31"
features = [
"metrics",
"trace",
]
optional = true
default-features = false
[dependencies.opentelemetry-proto]
version = "0.31"
features = [
"gen-tonic-messages",
"trace",
"metrics",
"logs",
]
optional = true
default-features = false
[dependencies.opentelemetry_sdk]
version = "0.31"
features = [
"metrics",
"trace",
]
optional = true
default-features = false
[dependencies.parking_lot]
version = "0.12"
[dependencies.pin-project]
version = "1.1"
[dependencies.prost]
version = "0.14"
[dependencies.rdkafka]
version = "0.39"
optional = true
default-features = false
[dependencies.regex]
version = "1.12"
optional = true
[dependencies.rmp-serde]
version = "1.3"
[dependencies.rusqlite]
version = "0.39"
features = ["bundled"]
optional = true
[dependencies.rustc-demangle]
version = "0.1"
optional = true
[dependencies.rustls]
version = "0.23.39"
features = [
"std",
"tls12",
]
optional = true
default-features = false
[dependencies.rustls-native-certs]
version = "0.8"
optional = true
[dependencies.rustls-pemfile]
version = "2.2"
optional = true
[dependencies.rustls-pki-types]
version = "1.14.1"
optional = true
[dependencies.semver]
version = "1.0"
features = ["serde"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
optional = true
[dependencies.sha1]
version = "0.11"
[dependencies.sha2]
version = "0.11"
[dependencies.slab]
version = "0.4"
[dependencies.smallvec]
version = "1.15"
[dependencies.sqlparser]
version = "0.52"
optional = true
[dependencies.subtle]
version = "2.6"
[dependencies.sysinfo]
version = "0.33"
[dependencies.tempfile]
version = "3.25"
[dependencies.thiserror]
version = "2.0"
[dependencies.time]
version = ">=0.3"
features = ["formatting"]
optional = true
[dependencies.tokio]
version = "1.0"
features = [
"rt",
"fs",
"process",
]
optional = true
[dependencies.toml]
version = "1.0"
optional = true
[dependencies.tower]
version = "0.5.3"
optional = true
[dependencies.tracing]
version = "0.1"
optional = true
[dependencies.tracing-subscriber]
version = "0.3"
optional = true
[dependencies.visibility]
version = "0.1"
optional = true
[dependencies.webpki-roots]
version = "1.0"
optional = true
[dependencies.whoami]
version = "1.6"
optional = true
[dependencies.x509-parser]
version = "0.18"
optional = true
[dependencies.zeroize]
version = "1.8"
features = ["derive"]
[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]
[dev-dependencies.fastrand]
version = "2.3"
[dev-dependencies.flate2]
version = "1.1"
[dev-dependencies.httparse]
version = "1.8"
[dev-dependencies.insta]
version = "1.40"
features = [
"json",
"yaml",
]
[dev-dependencies.lz4_flex]
version = "0.13"
[dev-dependencies.opentelemetry-proto]
version = "0.31"
features = [
"gen-tonic-messages",
"trace",
"metrics",
"logs",
]
default-features = false
[dev-dependencies.opentelemetry_sdk]
version = "0.31"
features = [
"metrics",
"testing",
]
default-features = false
[dev-dependencies.proptest]
version = "1.10"
[dev-dependencies.raptorq]
version = "1.7.0"
[dev-dependencies.rayon]
version = "1.12"
[dev-dependencies.redis]
version = "0.26"
[dev-dependencies.serde_yaml]
version = "0.9"
[dev-dependencies.sqlx]
version = "0.8.6"
features = [
"mysql",
"runtime-tokio",
"tls-none",
]
default-features = false
[dev-dependencies.tempfile]
version = "3.25"
[dev-dependencies.tokio]
version = "1.0"
features = [
"rt",
"sync",
"time",
]
[dev-dependencies.tokio-util]
version = "0.7"
features = ["codec"]
[dev-dependencies.toml]
version = "1.0"
[dev-dependencies.tracing]
version = "0.1"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.io-uring]
version = "0.7"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.aes-gcm]
version = "0.10.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.chacha20poly1305]
version = "0.10.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.libc]
version = "0.2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.nix]
version = "0.31"
features = [
"fs",
"poll",
"socket",
"uio",
"user",
]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.polling]
version = "3.11"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.signal-hook]
version = "0.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.socket2]
version = "0.6"
features = ["all"]
[target."cfg(not(windows))".dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.4"
features = ["wasm_js"]
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
"BroadcastChannel",
"DomException",
"Event",
"EventTarget",
"IdbDatabase",
"IdbFactory",
"IdbObjectStore",
"IdbOpenDbRequest",
"IdbRequest",
"IdbTransaction",
"IdbTransactionMode",
"MessageChannel",
"MessagePort",
"MessageEvent",
"Window",
"Storage",
"ReadableStream",
"ReadableStreamDefaultReader",
"WorkerGlobalScope",
"WritableStream",
"WritableStreamDefaultWriter",
]
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_Foundation",
"Win32_NetworkManagement_IpHelper",
"Win32_Networking_WinSock",
"Win32_System_Threading",
]
[lints.clippy]
arithmetic_side_effects = "allow"
assertions_on_constants = "allow"
bool_assert_comparison = "allow"
borrow_as_ptr = "allow"
branches_sharing_code = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
cognitive_complexity = "allow"
collapsible_if = "allow"
collection_is_never_read = "allow"
default_trait_access = "allow"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
duration_suboptimal_units = "allow"
explicit_into_iter_loop = "allow"
explicit_iter_loop = "allow"
field_reassign_with_default = "allow"
float_cmp = "allow"
format_collect = "allow"
format_push_string = "allow"
if_not_else = "allow"
ignored_unit_patterns = "allow"
inefficient_to_string = "allow"
items_after_statements = "allow"
items_after_test_module = "allow"
large_enum_variant = "allow"
large_futures = "allow"
len_zero = "allow"
manual_checked_ops = "allow"
manual_div_ceil = "allow"
manual_is_multiple_of = "allow"
manual_let_else = "allow"
match_like_matches_macro = "allow"
match_same_arms = "allow"
match_wild_err_arm = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_inline_in_public_items = "allow"
missing_panics_doc = "allow"
module_inception = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
must_use_unit = "allow"
needless_pass_by_ref_mut = "allow"
needless_pass_by_value = "allow"
new_without_default = "allow"
no_effect_underscore_binding = "allow"
option_if_let_else = "allow"
option_option = "allow"
or_fun_call = "allow"
ptr_as_ptr = "allow"
read_zero_byte_vec = "allow"
redundant_clone = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
redundant_field_names = "allow"
redundant_pattern_matching = "allow"
result_large_err = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "allow"
should_implement_trait = "allow"
significant_drop_in_scrutinee = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
single_match = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
suboptimal_flops = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
type_complexity = "allow"
uninlined_format_args = "allow"
unit_arg = "allow"
unnecessary_debug_formatting = "allow"
unnecessary_sort_by = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_async = "allow"
unused_peekable = "allow"
unused_self = "allow"
use_self = "allow"
used_underscore_binding = "allow"
useless_vec = "allow"
wrong_self_convention = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "allow"
unsafe_code = "deny"
unused_doc_comments = "allow"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(loom)",
"cfg(fuzzing)",
'cfg(feature, values("quic", "http3", "wasm-browser-preview", "simd-intrinsics", "messaging-fabric", "obligation-cleanup-e2e"))',
]
[lints.rust.unused]
level = "warn"
priority = -1
[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = "symbols"
[profile.release-perf]
opt-level = 3
lto = "thin"
debug = "line-tables-only"
inherits = "release"
strip = false