[package]
edition = "2024"
rust-version = "1.90"
name = "fyi_msg"
version = "2.4.4"
authors = ["Josh Stoik <josh@blobfolio.com>"]
build = "build.rs"
exclude = ["examples"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simple ANSI-formatted, prefixed messages for console printing."
readme = "README.md"
license = "WTFPL"
repository = "https://github.com/Blobfolio/fyi"
[package.metadata.docs.rs]
rustc-args = [
"--cfg",
"docsrs",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
features = [
"fitted",
"progress",
"signals",
"timestamps",
]
default-target = "x86_64-unknown-linux-gnu"
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
]
[features]
bin_kinds = ["argyle"]
default = []
fitted = ["unicode-width"]
progress = [
"dactyl",
"fitted",
"terminal_size",
]
signals = [
"signals_sigint",
"signals_sigwinch",
]
signals_sigint = [
"progress",
"signal-hook",
]
signals_sigwinch = [
"progress",
"signal-hook",
]
timestamps = ["utc2k"]
[lib]
name = "fyi_msg"
path = "src/lib.rs"
[[bench]]
name = "fm_ansi"
path = "benches/fm_ansi.rs"
harness = false
[[bench]]
name = "fm_fitted"
path = "benches/fm_fitted.rs"
harness = false
required-features = ["fitted"]
[[bench]]
name = "fm_msg"
path = "benches/fm_msg.rs"
harness = false
[[bench]]
name = "fm_msg_fitted"
path = "benches/fm_msg_fitted.rs"
harness = false
required-features = ["fitted"]
[[bench]]
name = "fm_msg_timestamps"
path = "benches/fm_msg_timestamps.rs"
harness = false
required-features = ["timestamps"]
[dependencies.argyle]
version = "0.15.*"
optional = true
[dependencies.dactyl]
version = "0.13.*"
optional = true
[dependencies.fyi_ansi]
version = "2.4.*"
[dependencies.signal-hook]
version = "0.4.*"
optional = true
default-features = false
[dependencies.terminal_size]
version = "0.4.*"
optional = true
[dependencies.unicode-width]
version = "0.2.*"
optional = true
[dependencies.utc2k]
version = "0.19.*"
features = ["local"]
optional = true
[dev-dependencies.brunch]
version = "0.11.*"
[dev-dependencies.rayon]
version = "1.11.*"