Skip to content
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

make thousands crate optional with apply feature #1453

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

jqnatividad
Copy link
Owner

and use indicative::HumanCount instead.

Only use with apply as the thousands crate enable different thousands separation policies

as we now use indicatif::HumanCount() instead
…indicatif::Humancount

- also replaced in config.rs for NO_INDEX_WARNING_FILESIZE warning
@jqnatividad jqnatividad merged commit 1164c53 into master Dec 6, 2023
10 of 11 checks passed
count.separate_with_commas(),
width.separate_with_commas()
);
woutinfo!("{};{}", HumanCount(count as u64), HumanCount(width as u64));

Check warning

Code scanning / clippy

casting to the same type is unnecessary (u64 -> u64) Warning

casting to the same type is unnecessary (u64 -> u64)
} else {
woutinfo!("{}", count.separate_with_commas());
woutinfo!("{}", HumanCount(count as u64));

Check warning

Code scanning / clippy

casting to the same type is unnecessary (u64 -> u64) Warning

casting to the same type is unnecessary (u64 -> u64)
@jqnatividad jqnatividad deleted the thousands_crate_optional branch December 12, 2023 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant