Cargo Features
SugarPath has no features set by default.
[dependencies]
sugar_path = { version = "1.2.0", features = ["cached_current_dir"] }
- cached_current_dir
-
Enable
cached_current_dir
will makeSugarPath
to only callstd::env::current_dir
once for all path operations.