-
Notifications
You must be signed in to change notification settings - Fork 37
/
Cargo.toml
72 lines (69 loc) · 2.06 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[package]
name = "abscissa_core"
description = """
Application microframework with support for command-line option parsing,
configuration, error handling, logging, and terminal interactions.
This crate contains the framework's core functionality.
"""
version = "0.6.0"
license = "Apache-2.0"
authors = ["Tony Arcieri <tony@iqlusion.io>"]
homepage = "https://github.com/iqlusioninc/abscissa/"
repository = "https://github.com/iqlusioninc/abscissa/tree/main/core/"
readme = "../README.md"
categories = ["command-line-interface", "config", "rust-patterns"]
keywords = ["abscissa", "cli", "application", "framework", "service"]
edition = "2021"
rust-version = "1.60"
[dependencies]
abscissa_derive = { version = "0.6", path = "../derive" }
arc-swap = { version = "1", optional = true }
backtrace = "0.3"
canonical-path = "2"
color-eyre = { version = "0.6", optional = true, default-features = false }
fs-err = "2"
clap = { version = "4", optional = true, features = ["derive"] }
once_cell = "1.4"
regex = { version = "1", optional = true }
secrecy = { version = "0.8", optional = true, features = ["serde"] }
semver = { version = "1", optional = true }
serde = { version = "1", optional = true, features = ["serde_derive"] }
termcolor = { version = "1", optional = true }
toml = { version = "0.5", optional = true }
tracing = { version = "0.1", optional = true }
tracing-log = { version = "0.1", optional = true }
wait-timeout = { version = "0.2", optional = true }
[dependencies.tracing-subscriber]
version = "0.3"
optional = true
default-features = false
features = ["fmt", "env-filter", "ansi", "smallvec", "tracing-log"]
[features]
default = [
"application",
"secrets",
"testing",
]
application = [
"arc-swap",
"config",
"trace",
"options",
"semver/serde",
"terminal"
]
config = [
"secrets",
"serde",
"terminal",
"toml"
]
options = ["clap"]
secrets = ["secrecy"]
terminal = ["color-eyre", "termcolor"]
testing = ["regex", "wait-timeout"]
trace = [
"tracing",
"tracing-log",
"tracing-subscriber"
]