[package]
edition = "2021"
rust-version = "1.96.0"
name = "timeglyph"
version = "0.7.0"
authors = ["Albert Hui <albert@securityronin.com>"]
build = false
exclude = [
"docs/",
"fuzz/",
"lens/",
"wasm/",
"bindings/",
".github/",
"mkdocs.yml",
"site/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Forensic timestamp decipherment — decode, encode, and identify the many ways systems inscribe time, with scored, cited, ambiguity-first interpretation."
homepage = "https://securityronin.github.io/timeglyph/"
documentation = "https://docs.rs/timeglyph"
readme = "README.md"
keywords = [
"forensics",
"timestamp",
"dfir",
"epoch",
"datetime",
]
categories = [
"date-and-time",
"command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/timeglyph"
[package.metadata.deb.variants.gui]
name = "timeglyph"
[package.metadata.deb.variants.gui.merge-assets]
append = [[
"target/release/timeglyph-lens",
"usr/bin/",
"755",
]]
[features]
altcal = ["dep:icu_calendar"]
artifact-hints = []
cli = [
"dep:clap",
"dep:tracing-subscriber",
"csv",
]
csv = ["dep:csv"]
default = [
"cli",
"csv",
"leap",
"lunisolar",
"holiday",
"altcal",
]
holiday = ["dep:flate2"]
leap = ["dep:hifitime"]
lunisolar = ["dep:stem-branch"]
[lib]
name = "timeglyph"
path = "src/lib.rs"
[[bin]]
name = "timeglyph"
path = "src/main.rs"
required-features = ["cli"]
[[test]]
name = "anchors"
path = "tests/anchors.rs"
[[test]]
name = "api"
path = "tests/api.rs"
[[test]]
name = "cal"
path = "tests/cal.rs"
[[test]]
name = "calibration"
path = "tests/calibration.rs"
[[test]]
name = "carve"
path = "tests/carve.rs"
[[test]]
name = "carve_export"
path = "tests/carve_export.rs"
[[test]]
name = "catalog"
path = "tests/catalog.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "compose"
path = "tests/compose.rs"
[[test]]
name = "confidence"
path = "tests/confidence.rs"
[[test]]
name = "context_scoring"
path = "tests/context_scoring.rs"
[[test]]
name = "coverage_edges"
path = "tests/coverage_edges.rs"
[[test]]
name = "csv_enrich"
path = "tests/csv_enrich.rs"
[[test]]
name = "cursor"
path = "tests/cursor.rs"
[[test]]
name = "datefmt"
path = "tests/datefmt.rs"
[[test]]
name = "docs_sync"
path = "tests/docs_sync.rs"
[[test]]
name = "encode_packed_g1"
path = "tests/encode_packed_g1.rs"
[[test]]
name = "encode_packed_g3"
path = "tests/encode_packed_g3.rs"
[[test]]
name = "encoding"
path = "tests/encoding.rs"
[[test]]
name = "epistemics"
path = "tests/epistemics.rs"
[[test]]
name = "explain"
path = "tests/explain.rs"
[[test]]
name = "extra"
path = "tests/extra.rs"
[[test]]
name = "floats"
path = "tests/floats.rs"
[[test]]
name = "foldgap"
path = "tests/foldgap.rs"
[[test]]
name = "forensicnomicon_source"
path = "tests/forensicnomicon_source.rs"
[[test]]
name = "formats2"
path = "tests/formats2.rs"
[[test]]
name = "gps_rollover"
path = "tests/gps_rollover.rs"
[[test]]
name = "holiday"
path = "tests/holiday.rs"
[[test]]
name = "identify_bytes"
path = "tests/identify_bytes.rs"
[[test]]
name = "json"
path = "tests/json.rs"
[[test]]
name = "leap"
path = "tests/leap.rs"
[[test]]
name = "leap_smear"
path = "tests/leap_smear.rs"
[[test]]
name = "limits"
path = "tests/limits.rs"
[[test]]
name = "lunisolar"
path = "tests/lunisolar.rs"
[[test]]
name = "mcp"
path = "tests/mcp.rs"
[[test]]
name = "oracle"
path = "tests/oracle.rs"
[[test]]
name = "oracle_crates"
path = "tests/oracle_crates.rs"
[[test]]
name = "oracle_extra"
path = "tests/oracle_extra.rs"
[[test]]
name = "packed"
path = "tests/packed.rs"
[[test]]
name = "provenance"
path = "tests/provenance.rs"
[[test]]
name = "ptp"
path = "tests/ptp.rs"
[[test]]
name = "reconciliation"
path = "tests/reconciliation.rs"
[[test]]
name = "robustness"
path = "tests/robustness.rs"
[[test]]
name = "rollover"
path = "tests/rollover.rs"
[[test]]
name = "scan"
path = "tests/scan.rs"
[[test]]
name = "scoring"
path = "tests/scoring.rs"
[[test]]
name = "sentinels"
path = "tests/sentinels.rs"
[[test]]
name = "strings"
path = "tests/strings.rs"
[[test]]
name = "tier1_vectors"
path = "tests/tier1_vectors.rs"
[[test]]
name = "timestomp"
path = "tests/timestomp.rs"
[[test]]
name = "timezone"
path = "tests/timezone.rs"
[[test]]
name = "unfurl_oracle"
path = "tests/unfurl_oracle.rs"
[[test]]
name = "validation_tiers"
path = "tests/validation_tiers.rs"
[[test]]
name = "weekday"
path = "tests/weekday.rs"
[[test]]
name = "y2038_sibling"
path = "tests/y2038_sibling.rs"
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.csv]
version = "1"
optional = true
[dependencies.flate2]
version = "1"
optional = true
[dependencies.forensicnomicon]
version = "1.3"
default-features = false
[dependencies.hex]
version = "0.4"
[dependencies.hifitime]
version = "4.3"
optional = true
[dependencies.icu_calendar]
version = "2.2"
features = ["compiled_data"]
optional = true
default-features = false
[dependencies.jiff]
version = "0.2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.stem-branch]
version = "0.8"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true
[dev-dependencies.nt-time]
version = "0.15"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.ulid]
version = "1.2"
[dev-dependencies.uuid]
version = "1"
features = ["v1"]
[lints.clippy]
correctness = "deny"
expect_used = "deny"
suspicious = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cast_possible_truncation]
level = "allow"
priority = 1
[lints.clippy.cast_possible_wrap]
level = "allow"
priority = 1
[lints.clippy.cast_precision_loss]
level = "allow"
priority = 1
[lints.clippy.cast_sign_loss]
level = "allow"
priority = 1
[lints.clippy.doc_lazy_continuation]
level = "allow"
priority = 1
[lints.clippy.doc_markdown]
level = "allow"
priority = 1
[lints.clippy.missing_errors_doc]
level = "allow"
priority = 1
[lints.clippy.missing_panics_doc]
level = "allow"
priority = 1
[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1
[lints.clippy.must_use_candidate]
level = "allow"
priority = 1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"