-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: allow AlignmentMode to be used on the command line #44
Conversation
src/alignment.rs
Outdated
@@ -38,20 +40,15 @@ pub enum AlignmentOperation { | |||
/// | |||
/// The default alignment mode is Global. | |||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] | |||
#[derive(Debug, PartialEq, Eq, Copy, Clone)] | |||
#[derive(Default, Debug, PartialEq, Eq, Copy, Clone, ValueEnum)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the ValueEnum
derive needs to be conditional similar to Serialize
?
Pull Request Test Coverage Report for Build 5021643648
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, thanks!
@pmarks thank-you for your patience as I come up to speed on rust! |
No description provided.