# 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"
name = "ply2splat"
version = "0.5.1"
build = false
exclude = [
    "test_cache",
    "test_files",
    ".github",
    ".devcontainer",
    "flake.nix",
    "flake.lock",
    ".envrc",
    "fuzz",
    "AGENTS.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust crate for processing Gaussian Splatting PLY and SPLAT files"
readme = "README.md"
keywords = [
    "graphics",
    "gaussian-splatting",
    "ply",
    "splat",
    "3d",
]
categories = [
    "command-line-utilities",
    "multimedia::encoding",
]
license = "MIT"
repository = "https://github.com/bastikohn/ply2splat"

[features]
cli = [
    "dep:clap",
    "dep:indicatif",
]
default = [
    "cli",
    "parallel",
]
parallel = ["dep:rayon"]

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

[[bin]]
name = "ply2splat"
path = "src/bin/ply2splat.rs"
required-features = ["cli"]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.bytemuck]
version = "1.14"
features = ["derive"]

[dependencies.clap]
version = "4.4"
features = ["derive"]
optional = true

[dependencies.indicatif]
version = "0.18.3"
optional = true

[dependencies.ply-rs]
version = "0.1"

[dependencies.rayon]
version = "1.8"
optional = true

[dev-dependencies.assert_cmd]
version = "2.0"

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

[dev-dependencies.predicates]
version = "3.0"

[dev-dependencies.reqwest]
version = "0.12.24"
features = [
    "blocking",
    "rustls-tls",
]

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

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