-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
40 lines (36 loc) · 1.49 KB
/
Cargo.toml
File metadata and controls
40 lines (36 loc) · 1.49 KB
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
[package]
name = "serif"
version = "0.2.1"
description = "An opinionated tracing-subscriber configuration with a focus on readability"
authors = ["Allen Wild <allenwild93@gmail.com>"]
license = "Apache-2.0"
homepage = "https://github.com/aswild/serif"
repository = "https://github.com/aswild/serif"
readme = "README.md"
keywords = ["logging", "tracing", "subscriber"]
categories = ["development-tools::debugging"]
edition = "2024"
rust-version = "1.85.0"
# Don't treate the examples directory as examples for this package
autoexamples = false
[workspace]
# The example is a separate package/crate rather than being an "example" of the serif library
# itself so that this Cargo.toml isn't polluted with unnecessary optional dependencies.
# Run the example using "cargo run -p serif-examples"
members = [".", "examples"]
[dependencies]
jiff = "0.2"
# same library (and version) that tracing-subscriber uses
nu-ansi-term = "0.50"
# just used for re-exports
tracing = { version = "0.1.37", default-features = false, optional = true }
# actually used by serif
tracing-core = "0.1.30"
tracing-log = { version = "0.2.0", default-features = false }
tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }
[features]
default = ["re-exports"]
# re-export tracing as serif::tracing, and tracing's event macros as serif::macros::*
# This is a convenience so that consumers don't need to separately include tracing in their
# Cargo.toml (unless additional tracing crate features are desired)
re-exports = ["dep:tracing"]