-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
35 lines (32 loc) · 844 Bytes
/
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
[package]
name = "tiny_bail"
version = "0.4.3"
authors = ["Ben Frankel"]
edition = "2021"
description = "Small but flexible macros for bailing on failure."
repository = "https://github.com/benfrankel/tiny_bail"
license = "MIT OR Apache-2.0"
keywords = ["failure", "error", "macro", "log", "tracing"]
categories = [
"development-tools::debugging",
"rust-patterns",
"no-std::no-alloc",
]
[lints.rust]
missing_docs = "deny"
[features]
# Default to `tracing::warn!`.
default = ["tracing", "warn"]
# Set the log level to `trace`.
trace = []
# Set the log level to `debug`.
debug = []
# Set the log level to `info`.
info = []
# Set the log level to `warn`.
warn = []
# Set the log level to `error`.
error = []
[dependencies]
log = { version = "0.4", optional = true }
tracing = { version = "0.1", features = ["log"], optional = true }