Cargo Features
[dependencies]
todo2 = { version = "0.1.3", default-features = false, features = ["log", "compile-error", "with-chrono", "with-time", "chrono-backend", "time-backend", "original-compatibility", "strict", "strict-syntax", "am-cool", "and-time"] }
- default = and-time, original-compatibility, strict-syntax, time-backend
-
These default features are set whenever
todo2
is added without
somewhere in the dependency tree.default-features = false - log
- compile-error strict?
- with-chrono = and-time, chrono
- with-time = and-time, time
- chrono-backend = and-time, chrono
- time-backend default = and-time, time
- original-compatibility default strict?
- strict = compile-error, original-compatibility
- strict-syntax default
- am-cool
- and-time default chrono-backend? time-backend with-chrono? with-time?
-
In the
by
syntax, make it able to specify a time
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.