[package]
name = "display3d"
description = "A tool to display 3d objects in the terminal"
version = "0.2.2"
edition = "2024"
license = "MIT OR Apache-2.0"
repository = "https://github.com/renpenguin/display3d"
[features]
default = ["stl", "obj"]
stl = ["dep:stl_io"]
obj = ["dep:tobj"]
[dependencies]
clap = { version = "4.5.32", features = ["derive"] }
ctrlc = "3.4.5"
gemini-engine = "1.2.0"
glam = "0.28.0"
stl_io = { version = "0.8.5", optional = true }
tobj = { version = "4.0.3", optional = true }
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
enum_glob_use = "warn"
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
unwrap_used = "warn"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
cast_possible_wrap = "allow"