dynix/Cargo.toml
2026-03-24 15:07:52 +01:00

84 lines
2.1 KiB
TOML

# SPDX-FileCopyrightText: 2026 Qyriad <qyriad@qyriad.me>
#
# SPDX-License-Identifier: EUPL-1.1
[package]
name = "dynix"
version = "0.1.0"
edition = "2024"
license = "EUPL-1.2"
[[bin]]
name = "dynix"
path = "src/main.rs"
[lib]
name = "dynix"
path = "src/lib.rs"
[features]
default = ["regex-full"]
regex-full = ["dep:regex"]
regex-lite = ["dep:regex-lite"]
[dependencies]
bimap = "0.6.3"
bitflags = { version = "2.11.0", features = ["std"] }
bstr = "1.12.1"
circular-buffer = "1.2.0"
clap = { version = "4.5.54", features = ["color", "derive"] }
command-error = "0.8.0"
const-str = "1.1.0"
displaydoc = "0.2.5"
fs-err = "3.2.2"
humantime = "2.3.0"
iddqd = "0.3.17"
itertools = "0.14.0"
libc = { version = "0.2.180", features = ["extra_traits"] }
#macro_rules_attribute = { version = "0.2.2", features = ["better-docs", "verbose-expansions"] }
mio = { version = "1.1.1", features = ["os-ext", "os-poll", "net"] }
regex = { version = "1.12.3", optional = true }
regex-lite = { version = "0.1.9", optional = true }
rustix = { version = "1.1.4", features = ["event", "fs", "net", "process", "termios"] }
serde = { version = "1.0.228", features = ["derive", "rc"] }
serde_json = "1.0.149"
sync-fd = "0.1.0"
tap = "1.0.1"
tracing = { version = "0.1.44", features = ["attributes"] }
tracing-human-layer = "0.2.1"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["std", "env-filter", "fmt", "ansi", "registry", "parking_lot"] }
which = "8.0.2"
[profile.dev]
opt-level = 1
lto = "thin"
[profile.release]
debug = true
debug-assertions = true
lto = true
[profile.dev.package."*"]
opt-level = 1
[profile.release.package."*"]
debug = true
debug-assertions = true
[lints.clippy]
#arithmetic_side_effects = "warn"
as_ptr_cast_mut = "warn"
assigning_clones = "warn"
borrow_as_ptr = "warn"
#cargo_common_metadata = "warn"
cast_lossless = "warn"
#cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_ptr_alignment = "warn"
cast_sign_loss = "warn"
clear_with_drain = "warn"
coerce_container_to_any = "warn"
derive_partial_eq_without_eq = "warn"
doc_broken_link = "warn"
doc_comment_double_space_linebreaks = "warn"
doc_markdown = "warn"