Expand description
§Pace Core
Re-exports§
pub use toml;
Structs§
- The activity entity
- The unique identifier of an activity
- The activity log entity
- The activity store entity
- The auto-archival configuration for the pace application
- The database configuration for the pace application
- Options for deleting an activity
- Options for ending an activity
- The export configuration for the pace application
- The general configuration for the pace application
- Options for holding an activity
- In-memory storage for activities
- The inbox configuration for the pace application
- The pace configuration file
- Wrapper for the start and end time of an activity to implement default
- The duration of an activity
- Errors that can result from pace.
- The pomodoro configuration for the pace application
- Options for resuming an activity
- The review configuration for the pace application
- In-memory backed TOML activity storage
- Options for updating an activity
Enums§
- Filter for activities
- The kind of activity a user can track
- Filtered activities
PaceErrorKinddescribes the errors that can happen while executing a high-level command.
Traits§
- Querying Activities
- Basic Read Operations for Activities in the storage backend.
- Managing Activity State
- The trait that all storage backends must implement. This allows us to swap out the storage backend without changing the rest of the application.
- Basic CUD Operations for Activities in the storage backend.
- A type of storage that can be synced to a persistent medium.
Functions§
- Calculate the duration of the activity
- Converts timespec to nice readable relative time string
- Extracts time from the given string or returns the current time
- Find a config file in the current directory and upwards in the directory hierarchy and return the path
- Get the current directory and then search upwards in the directory hierarchy for a file name
- Get the paths to the activity log file
- Get the paths to the config file
- Get the path to the home activity log directory.
- Get the path to the home config directory.
- Get the storage backend from the configuration.
- Overwrite any value with another.
- Parses time from user input
Type Aliases§
- Result type that is being returned from methods that have optional return values and can fail thus having
PaceErrors. - Result type that is being returned from methods that can fail and thus have
PaceErrors. - Result type that is being returned from test functions and methods that can fail and thus have errors.