[package]
edition = "2021"
rust-version = "1.75"
name = "renacer"
version = "0.10.0"
authors = ["Pragmatic AI Labs <info@paiml.com>"]
build = false
exclude = [
"book/",
"docs/",
"tests/",
".pmat/",
".pmat-metrics/",
".pmat-work/",
".github/",
"scripts/",
"*.md",
"!README.md",
"roadmap.yaml",
"tempo-config.yml",
"*.svg",
"**/*.profraw",
"**/*.profdata",
"**/*.proptest-regressions",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust system call tracer with source-aware correlation for Rust binaries"
readme = "README.md"
keywords = [
"strace",
"tracing",
"syscall",
"debugging",
"profiling",
]
categories = [
"development-tools::debugging",
"development-tools::profiling",
]
license = "MIT"
repository = "https://github.com/paiml/renacer"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]
[package.metadata.release]
shared-version = true
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = '## \[Unreleased\]'
replace = "## [{{version}}] - {{date}}"
[features]
chaos-basic = []
chaos-byzantine = ["chaos-network"]
chaos-full = [
"chaos-byzantine",
"dep:loom",
"dep:arbitrary",
]
chaos-network = ["chaos-basic"]
cuda-tracing = [
"dep:cudarc",
"otlp",
]
default = ["otlp"]
fuzz = ["dep:arbitrary"]
gpu-tracing = [
"dep:wgpu",
"dep:wgpu-profiler",
"otlp",
]
otlp = [
"dep:opentelemetry",
"dep:opentelemetry_sdk",
"dep:opentelemetry-otlp",
"dep:tokio",
]
[lib]
name = "renacer"
path = "src/lib.rs"
[[bin]]
name = "renacer"
path = "src/main.rs"
[[example]]
name = "brick_trace_demo"
path = "examples/brick_trace_demo.rs"
[[example]]
name = "buggy_server"
path = "examples/buggy_server.rs"
[[example]]
name = "build_time_assertions"
path = "examples/build_time_assertions.rs"
[[example]]
name = "process_tracer_demo"
path = "examples/process_tracer_demo.rs"
[[example]]
name = "simd_visualization"
path = "examples/simd_visualization.rs"
[[example]]
name = "validate_golden_trace"
path = "examples/validate_golden_trace.rs"
[[bench]]
name = "graph_construction"
path = "benches/graph_construction.rs"
harness = false
[[bench]]
name = "memory_pool"
path = "benches/memory_pool.rs"
harness = false
[[bench]]
name = "metrics_throughput"
path = "benches/metrics_throughput.rs"
harness = false
[[bench]]
name = "otlp_export"
path = "benches/otlp_export.rs"
harness = false
[[bench]]
name = "ring_buffer_overhead"
path = "benches/ring_buffer_overhead.rs"
harness = false
[[bench]]
name = "syscall_overhead"
path = "benches/syscall_overhead.rs"
harness = false
[[bench]]
name = "trueno_db_queries"
path = "benches/trueno_db_queries.rs"
[[bench]]
name = "visualization_simd"
path = "benches/visualization_simd.rs"
harness = false
[dependencies.addr2line]
version = "0.25"
features = ["std"]
default-features = false
[dependencies.anyhow]
version = "1.0"
[dependencies.aprender]
version = "0.27"
[dependencies.arbitrary]
version = "1.3"
features = ["derive"]
optional = true
[dependencies.backtrace]
version = "0.3"
[dependencies.clap]
version = "4.5"
features = [
"derive",
"cargo",
"std",
"help",
"usage",
"error-context",
"suggestions",
]
default-features = false
[dependencies.crossbeam]
version = "0.8"
features = [
"crossbeam-channel",
"crossbeam-queue",
"std",
]
default-features = false
[dependencies.crossterm]
version = "0.28"
[dependencies.cudarc]
version = "0.18"
features = [
"f16",
"cuda-version-from-build-system",
]
optional = true
[dependencies.dashmap]
version = "6.1"
[dependencies.fnv]
version = "1.0"
[dependencies.gimli]
version = "0.32"
features = [
"read",
"std",
"endian-reader",
]
default-features = false
[dependencies.hex]
version = "0.4"
features = ["std"]
default-features = false
[dependencies.libc]
version = "0.2"
[dependencies.loom]
version = "0.7"
optional = true
[dependencies.memmap2]
version = "0.9"
[dependencies.nix]
version = "0.30"
features = [
"ptrace",
"process",
"signal",
"uio",
"resource",
"user",
]
default-features = false
[dependencies.object]
version = "0.38"
features = [
"read",
"elf",
"std",
]
default-features = false
[dependencies.opentelemetry]
version = "0.31.0"
optional = true
[dependencies.opentelemetry-otlp]
version = "0.31.0"
features = [
"grpc-tonic",
"http-proto",
]
optional = true
[dependencies.opentelemetry_sdk]
version = "0.31.0"
features = ["rt-tokio"]
optional = true
[dependencies.rand]
version = "0.8"
features = [
"std",
"std_rng",
]
default-features = false
[dependencies.ratatui]
version = "0.29"
[dependencies.regex]
version = "1.10"
features = [
"std",
"perf",
]
default-features = false
[dependencies.rmp-serde]
version = "1.3"
[dependencies.serde]
version = "1.0"
features = [
"derive",
"std",
]
default-features = false
[dependencies.serde_json]
version = "1.0"
features = ["std"]
default-features = false
[dependencies.sha2]
version = "0.10"
features = ["std"]
default-features = false
[dependencies.static_assertions]
version = "1.1"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"macros",
]
optional = true
[dependencies.toml]
version = "0.8"
features = [
"parse",
"display",
]
default-features = false
[dependencies.tracing]
version = "0.1"
features = ["std"]
default-features = false
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
"std",
"ansi",
]
default-features = false
[dependencies.trueno]
version = "0.16"
[dependencies.trueno-db]
version = "0.3.13"
[dependencies.trueno-graph]
version = "0.1.13"
[dependencies.trueno-viz]
version = "0.2"
features = ["monitor"]
default-features = false
[dependencies.wgpu]
version = "23.0"
optional = true
[dependencies.wgpu-profiler]
version = "0.18"
optional = true
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.predicates]
version = "3.1"
[dev-dependencies.proptest]
version = "1.5"
[dev-dependencies.reqwest]
version = "0.12"
features = [
"blocking",
"json",
]
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.serial_test]
version = "3.2"
[dev-dependencies.tempfile]
version = "3.13"
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
checked_conversions = "warn"
default_trait_access = "allow"
doc_link_with_quotes = "allow"
doc_markdown = "allow"
enum_glob_use = "warn"
expect_used = "allow"
explicit_iter_loop = "allow"
fallible_impl_from = "warn"
field_reassign_with_default = "allow"
float_cmp = "allow"
fn_params_excessive_bools = "allow"
format_collect = "allow"
format_push_string = "allow"
ignore_without_reason = "allow"
implicit_hasher = "allow"
inline_always = "allow"
items_after_statements = "allow"
let_underscore_untyped = "allow"
manual_assert = "allow"
manual_let_else = "allow"
manual_range_contains = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
needless_for_each = "warn"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "allow"
no_effect_underscore_binding = "allow"
redundant_else = "allow"
redundant_pattern_matching = "allow"
ref_option = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
single_char_pattern = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
uninlined_format_args = "allow"
unnecessary_debug_formatting = "allow"
unnecessary_get_then_check = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_self = "allow"
unwrap_used = "warn"
used_underscore_binding = "allow"
useless_vec = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
let_underscore_drop = "allow"
unreachable_pub = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]
[profile.dev]
opt-level = 0
debug = 2
panic = "abort"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
[profile.test]
opt-level = 0
debug = 2