[package]
name = "tracers"
version = "0.1.0"
authors = ["Adam Nelson <anelson@127.io>"]
edition = "2018"
license = "MIT OR Apache-2.0"
autobenches = false
description = "Generates very low overhead native trace points using stable Rust"
repository = "https://github.com/anelson/tracers"
readme = "../README.md"
keywords = ["tracers", "systemtap", "ltt-ng", "ebpf", "tracing"]
categories = ["os", "development-tools::profiling"]
links = "tracers"
[badges]
maintenance = { status = "experimental" }
cirrus-ci = { repository = "github/anelson/tracers", branch = "master" }
azure-devops = { project = "anelson-open-source/tracers", pipeline = "anelson.tracers", build="4" }
[features]
default = ["tracing"]
tracing = ["static-tracing"]
dynamic-tracing = ["once_cell", "tracers-core/dynamic", "tracers-dyn-stap/enabled", "tracers-dyn-noop"]
static-tracing = ["tracers-core/default"]
force-dyn-stap = ["dynamic-tracing", "tracers-dyn-stap/required"]
force-dyn-noop = ["dynamic-tracing", "tracers-dyn-noop"]
force-static-noop = ["static-tracing"]
force-static-stap = ["static-tracing"]
force-static-lttng = ["static-tracing"]
binaries = ["nom", "tracers-macros"]
[[bin]]
name = "testfire"
path = "src/bin/testfire.rs"
required-features = [ "binaries" ]
[[bin]]
name = "profile_target"
path = "src/bin/profile_target.rs"
required-features = [ "binaries" ]
[[bench]]
name = "probe_firing"
harness = false
[dependencies]
once_cell = { version = "1.2.0", optional = true }
tracers-core = { path = "../tracers-core", version = "0.1.0", optional = true }
tracers-dyn-noop = { path = "../tracers-dyn-noop", version = "0.1.0", optional = true }
tracers-dyn-stap = { path = "../tracers-dyn-stap", version = "0.1.0", optional = true }
nom = { version = "5.0.1", optional = true }
tracers-macros = { path = "../tracers-macros", version = "0.1.0", optional = true }
[build-dependencies]
tracers-build = { path = "../tracers-build", version = "0.1.0" }
failure = "0.1.6"
[dev-dependencies]
tracers-macros = { path = "../tracers-macros", version = "0.1.0" }
criterion = "0.3.0"
failure = "0.1.6"
nix = "0.15.0"