mirror of
https://github.com/atuinsh/atuin.git
synced 2026-10-11 22:29:51 +00:00
51 lines
1.7 KiB
TOML
51 lines
1.7 KiB
TOML
[package]
|
|
name = "atuin-common"
|
|
edition = "2024"
|
|
description = "common library for atuin"
|
|
|
|
rust-version = { workspace = true }
|
|
version = { workspace = true }
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
homepage = { workspace = true }
|
|
repository = { workspace = true }
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[features]
|
|
# Enables the `test_utils` module.
|
|
test-utils = ["dep:tracing-subscriber"]
|
|
# The `string::ellipsis` module: budget-aware, grapheme/display-width-correct
|
|
# string truncation. The module is compiled only when this feature is enabled.
|
|
unicode = ["dep:unicode-width", "dep:unicode-segmentation"]
|
|
# The `ansi` module: renders raw terminal byte streams (ANSI/ECMA-48 escape
|
|
# sequences, backspaces, carriage returns, cursor motion) into clean plain text
|
|
# via a `vt100` terminal emulator. Compiled only when enabled.
|
|
ansi = ["dep:vt100"]
|
|
|
|
[dependencies]
|
|
derive_more = { workspace = true }
|
|
time = { workspace = true, features = ["formatting", "parsing"] }
|
|
serde = { workspace = true }
|
|
serde_with = "3.8.1"
|
|
uuid = { workspace = true }
|
|
eyre = { workspace = true }
|
|
url = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
directories = { workspace = true }
|
|
sysinfo = "0.30.7"
|
|
base64 = { workspace = true }
|
|
getrandom = "0.4"
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true, optional = true }
|
|
unicode-width = { version = "0.2", optional = true }
|
|
unicode-segmentation = { version = "1.11.0", optional = true }
|
|
vt100 = { workspace = true, optional = true }
|
|
itertools = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = { workspace = true }
|
|
proptest = { workspace = true }
|
|
rstest = { workspace = true }
|
|
serde_json = { workspace = true }
|