feat: tracing is now optional
This commit is contained in:
parent
14d1555fc1
commit
f65e240e92
26 changed files with 184 additions and 45 deletions
|
|
@ -20,16 +20,18 @@ all-features = true
|
|||
default = []
|
||||
indexmap = ["dep:indexmap"]
|
||||
chrono = ["dep:chrono"]
|
||||
tracing = ["dep:tracing"]
|
||||
|
||||
[dependencies]
|
||||
bytecount = "0.6"
|
||||
cfg-if = "1.0.0"
|
||||
chrono = { version = "0.4", optional = true }
|
||||
indexmap = { version = "2.1", optional = true }
|
||||
jetscii = "0.5"
|
||||
memchr = "2.5"
|
||||
nom = { version = "7.1", default-features = false, features = ["std"] }
|
||||
rowan = "0.15"
|
||||
tracing = "0.1"
|
||||
tracing = { version = "0.1", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.5"
|
||||
|
|
@ -41,6 +43,10 @@ tracing-subscriber = { version = "0.3", features = ["fmt"] }
|
|||
name = "parse"
|
||||
harness = false
|
||||
|
||||
[[example]]
|
||||
name = "parse"
|
||||
required-features = ["tracing"]
|
||||
|
||||
[profile.dev.package]
|
||||
insta.opt-level = 3
|
||||
similar.opt-level = 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue