Skip to content

Commit

Permalink
start add async features
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppe-g-gelardi committed Nov 30, 2024
1 parent f52de5c commit 45b4b00
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ tracing = "0.1"
tracing-subscriber = "0.3"
tracing-test = "0.2.5"

[features]
default = ["sync", "logging"] # default features
sync = [] # synchronous features only
async = ["tokio"] # asynchronous features only
logging = ["tracing"] # logging via tracing
full = ["sync", "async", "logging"] # all features

0 comments on commit 45b4b00

Please sign in to comment.