Treat priority as an arbitrary string

This matches what TaskWarrior does: priority is a UDA, and can be
redefined by the user's local config.
This commit is contained in:
Dustin J. Mitchell
2022-03-27 17:48:47 -04:00
parent 0dd2d9cd30
commit 1b586a425f
6 changed files with 31 additions and 62 deletions

View File

@@ -63,7 +63,7 @@ pub use errors::Error;
pub use replica::Replica;
pub use server::{Server, ServerConfig};
pub use storage::StorageConfig;
pub use task::{Annotation, Priority, Status, Tag, Task, TaskMut};
pub use task::{Annotation, Status, Tag, Task, TaskMut};
pub use workingset::WorkingSet;
/// Re-exported type from the `uuid` crate, for ease of compatibility for consumers of this crate.