mathypad 0.1.14

A smart TUI calculator that understands units and makes complex calculations simple.
Documentation
[[bin]]
name = "mathypad"
path = "src/bin/main.rs"

[[bin]]
name = "mathypad-gui"
path = "src/bin/gui.rs"
required-features = ["gui"]

[dependencies.clap]
features = ["derive", "cargo"]
version = "4.5"

[dependencies.dirs]
version = "6.0"

[dependencies.eframe]
optional = true
version = "0.29"

[dependencies.egui]
optional = true
version = "0.29"

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

[dependencies.mathypad-core]
version = "0.1.0"

[dev-dependencies.insta]
version = "1.43.1"

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

[features]
default = []
gui = ["dep:eframe", "dep:egui", "dep:log", "dep:env_logger", "dep:wasm-bindgen", "dep:wasm-bindgen-futures", "dep:web-sys", "dep:console_error_panic_hook", "dep:tracing-wasm"]

[lib]
crate-type = ["cdylib", "rlib"]
name = "mathypad"
path = "src/lib.rs"

[package]
authors = ["Pato Lankenau <rust@p.lankenau.io>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
default-run = "mathypad"
description = "A smart TUI calculator that understands units and makes complex calculations simple."
edition = "2024"
homepage = "https://mathypad.app"
keywords = ["tui", "cli", "calculator", "units", "soulver"]
license = "MIT"
name = "mathypad"
readme = "README.md"
repository = "https://github.com/pato/mathypad"
resolver = "2"
version = "0.1.14"

[profile.release]
codegen-units = 1
lto = true
opt-level = "z"
strip = true

[profile.release.package.mathypad-web-poc]
opt-level = "s"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.arboard]
version = "3.5"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.crossterm]
version = "0.29"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.env_logger]
optional = true
version = "0.11"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ratatui]
version = "0.29"

[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
optional = true
version = "0.1"

[target.'cfg(target_arch = "wasm32")'.dependencies.tracing-wasm]
optional = true
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
optional = true
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
optional = true
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
features = ["Window", "Document", "Element", "HtmlCanvasElement", "Location", "console"]
optional = true
version = "0.3"