# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.89.0"
name = "ptcov"
version = "0.0.3"
authors = ["Marco Cavenati <cavenatimarco+ptcov@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Decoder to compute code coverage from Intel® Processor Trace traces"
documentation = "https://docs.rs/ptcov"
readme = "README.md"
keywords = [
    "decoder",
    "intel",
    "pt",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Marcondiro/ptcov"

[features]
cyc = []
default = []
event = []
log = [
    "log_packets",
    "log_instructions",
]
log_instructions = ["dep:log"]
log_packets = ["dep:log"]
mtc = []
pebs = []
ptw = []
pwr = []
retc = []
tsc = []

[lib]
name = "ptcov"
path = "src/lib.rs"

[dependencies.iced-x86]
version = "1.21.0"
features = [
    "std",
    "decoder",
    "instr_info",
]
default-features = false

[dependencies.log]
version = "0.4.28"
optional = true

[dev-dependencies.env_logger]
version = "0.11.8"
