diff options
Diffstat (limited to 'embassy-time/Cargo.toml')
| -rw-r--r-- | embassy-time/Cargo.toml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/embassy-time/Cargo.toml b/embassy-time/Cargo.toml index 2d7c3c1fa..bad6ecf97 100644 --- a/embassy-time/Cargo.toml +++ b/embassy-time/Cargo.toml | |||
| @@ -31,6 +31,11 @@ target = "x86_64-unknown-linux-gnu" | |||
| 31 | features = ["defmt", "std"] | 31 | features = ["defmt", "std"] |
| 32 | 32 | ||
| 33 | [features] | 33 | [features] |
| 34 | ## Enable defmt | ||
| 35 | defmt = ["dep:defmt"] | ||
| 36 | ## Enable log | ||
| 37 | log = ["dep:log"] | ||
| 38 | |||
| 34 | ## Display the time since startup next to defmt log messages. | 39 | ## Display the time since startup next to defmt log messages. |
| 35 | ## At most 1 `defmt-timestamp-uptime-*` feature can be used. | 40 | ## At most 1 `defmt-timestamp-uptime-*` feature can be used. |
| 36 | ## `defmt-timestamp-uptime` is provided for backwards compatibility (provides the same format as `uptime-us`). | 41 | ## `defmt-timestamp-uptime` is provided for backwards compatibility (provides the same format as `uptime-us`). |
