# 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.92"
name = "shiplog-bundle"
version = "0.2.1"
authors = ["Steven Zimmerman, CPA <git@effortlesssteven.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bundle manifest and profile-scoped zip writer for shiplog run directories."
homepage = "https://effortlessmetrics.com/shiplog"
documentation = "https://docs.rs/shiplog-bundle"
readme = "README.md"
keywords = [
    "bundle",
    "zip",
    "checksum",
    "manifest",
    "artifacts",
]
categories = [
    "filesystem",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/EffortlessMetrics/shiplog"
resolver = "2"

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

[[test]]
name = "cross_platform_paths"
path = "tests/cross_platform_paths.rs"

[[test]]
name = "error_paths"
path = "tests/error_paths.rs"

[[test]]
name = "format_stability"
path = "tests/format_stability.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "output_layout_tests"
path = "tests/output_layout_tests.rs"

[[test]]
name = "property"
path = "tests/property.rs"

[[test]]
name = "snapshot"
path = "tests/snapshot.rs"

[dependencies.anyhow]
version = "1.0.102"

[dependencies.chrono]
version = "0.4.44"
features = ["serde"]

[dependencies.hex]
version = "0.4.3"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sha2]
version = "0.11.0"

[dependencies.shiplog-ids]
version = "0.2.1"

[dependencies.shiplog-schema]
version = "0.2.1"

[dependencies.zip]
version = "8.1.0"

[dev-dependencies.hex]
version = "0.4.3"

[dev-dependencies.insta]
version = "1.46.3"
features = [
    "yaml",
    "json",
]

[dev-dependencies.proptest]
version = "1.11.0"

[dev-dependencies.serde_json]
version = "1.0.149"

[dev-dependencies.sha2]
version = "0.11.0"

[dev-dependencies.shiplog-ids]
version = "0.2.1"

[dev-dependencies.shiplog-schema]
version = "0.2.1"

[dev-dependencies.tempfile]
version = "3.27.0"

[dev-dependencies.zip]
version = "8.1.0"

[lints.clippy]
cloned_instead_of_copied = "allow"
enum_glob_use = "warn"
flat_map_option = "warn"
needless_pass_by_value = "allow"

[lints.rust]
missing_debug_implementations = "allow"
unsafe_code = "deny"
