[package]
authors = ["dubrowgn"]
description = "A featureful calculator for when you want to do math in a terminal."
documentation = "https://github.com/dubrowgn/tcalc"
edition = "2018"
license = "MIT"
name = "tcalc"
readme="README.md"
repository = "https://github.com/dubrowgn/tcalc.git"
version = "1.7.16"

include = [
	"Cargo.toml",
	"LICENSE",
	"README.md",
	"src/*.rs",
]

[dependencies]
dirs = "2.0.2"
tcalc-rustyline = "1.0.2"
#tcalc-rustyline = { path = "../rustyline" }

[features]
trace = []

[package]
authors = ["dubrowgn"]
description = "A featureful calculator for when you want to do math in a terminal."
documentation = "https://github.com/dubrowgn/tcalc"
edition = "2018"
license = "MIT"
name = "tcalc"
readme="README.md"
repository = "https://github.com/dubrowgn/tcalc.git"
version = "1.7.16"

include = [
	"Cargo.toml",
	"LICENSE",
	"README.md",
	"src/*.rs",
]

[profile.release]
lto = "fat"

[dependencies]
dirs = "2.0.2"
tcalc-rustyline = "1.0.2"
#tcalc-rustyline = { path = "../rustyline" }

[features]
trace = []

Enable fat LTO for release builds
Enable fat LTO for release builds

This reduces the size of tcalc from ~4MiB to ~2MiB on my machine.
