-
Notifications
You must be signed in to change notification settings - Fork 86
Comparing changes
Open a pull request
base repository: colored-rs/colored
base: v2.1.0
head repository: colored-rs/colored
compare: v2.2.0
- 20 commits
- 20 files changed
- 8 contributors
Commits on Dec 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 58fc5de - Browse repository at this point
Copy the full SHA 58fc5deView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9aa7d8 - Browse repository at this point
Copy the full SHA a9aa7d8View commit details -
feat: impl
From<(r, g, b)>
toCustomColor
(#153)* feat: impl From<tuple> for CustomColor * chore: update .gitignore * feat: use Into<CustomColor> * feat: doc and test * Update .gitignore
Configuration menu - View commit details
-
Copy full SHA for c5f7e00 - Browse repository at this point
Copy the full SHA c5f7e00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c53b27 - Browse repository at this point
Copy the full SHA 1c53b27View commit details -
Get closest color if TrueColor not supported (#90)
* Add failing tests for closest color * Get closest color to TrueColor * Use closest color if TrueColor not supported
Configuration menu - View commit details
-
Copy full SHA for 682adf8 - Browse repository at this point
Copy the full SHA 682adf8View commit details
Commits on Dec 12, 2023
-
Add and Expose Methods of easily Creating and Mutating `ColoredString…
…`'s and `Style`'s for Users (#154) * Initial change (Deref<Target = String> + DerefMut for ColoredString). * Add an example of modifying a ColoredString's text content with DerefMut<Target = String>. * Add methods copy_fgcolor, copy_bgcolor, and copy_style to ColoredString. * Create traits Colorized and CopyColorize, moved style copying functions from ColoredString into CopyColorize, and add StyleTemplate struct to assist with CopyColorize. * Create, implement, and expose methods of creating and modifying Style values for the user. * Fmt + add new_from method to StyleTemplate. * Since Style now implements default, move Default impls for ColoredString and StyleTemplate to derive. * Improve docs for StyleTemplate and espeically Style to be more helpful. * Add builder pattern methods to Style to make them easier to construct and modify. * Add ColorizedMut trait for univeral direct color and style setting. * Impl FromIterator<Styles> for Style and update docs to mention and use that. * Fix docs (remove mention in docs for Style of CLEAR which is private). * Move tests for Style bitwise operations into their own testing submodule. * Fix typos introduced in this branch. * Add big docs for ColoredString in light of all the new implementations as a guide for rustling users. * Make doc examples for Style more readable. * Add impls of bitwise logic ops for Styles for quick creation of Style's. Also, add doc for Styles and improve tests. * Remove StyleTemplate as it didn't really serve enough purpose to justify it existing. * Add clearing methods to ColorizedMut, updated docs to not use 'set to None' and generally improve ColorizedMut docs. * Change section headers for Style docs to be h2's because they look nicer and change the wording on the first section (renamed to "Creation") * Touch up doc for CopyColorize. * Touch up ColorizedMut doc and fix some typos. * Expose fields of ColoredString, remove Colored, ColoredMut, and CopyColorize as they are now unnesecary, and modify docs to reflect the new idioms. * Add note in crate root docs about ColoredString and to see its docs for more info. * Remove modifying_colored_strings example as it was perfectly well explained in the ColoredString docs. * Update CHANGELOG.md * Remove ColoredString.input.[str method] antipattern from docs. * Oops. diff.txt was temp and not supposed to be in there * Add missing assign ops involving Styles and add missing tests for ops. * Add with_style and with_color_and_style methods to Colorize (I can't wait for another PR tbh). * Reset <ColoredString as Deref>::Target to str and change docs and changelog to reflect this. Also, mark ColoredString as non_exhaustive. * Remove with_style and with_color_and_style from Colorize (they might be back in some form in the future). * Somehow the merge messed some formatting up.
Configuration menu - View commit details
-
Copy full SHA for 949f601 - Browse repository at this point
Copy the full SHA 949f601View commit details -
Configuration menu - View commit details
-
Copy full SHA for 933b254 - Browse repository at this point
Copy the full SHA 933b254View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3dcd33 - Browse repository at this point
Copy the full SHA c3dcd33View commit details -
Replace
println!
calls with snapshot tests (#158)* Add `insta` as a dependency * Replace `println!` tests with snapshot tests * `cargo fmt` * Support true color in CI --------- Co-authored-by: Kurt Lawrence <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4da0f4 - Browse repository at this point
Copy the full SHA d4da0f4View commit details
Commits on Dec 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 749ff4e - Browse repository at this point
Copy the full SHA 749ff4eView commit details
Commits on Jan 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bbe16cb - Browse repository at this point
Copy the full SHA bbe16cbView commit details
Commits on Feb 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 775ec9f - Browse repository at this point
Copy the full SHA 775ec9fView commit details
Commits on Oct 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e55e26c - Browse repository at this point
Copy the full SHA e55e26cView commit details
Commits on Oct 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 58a06a4 - Browse repository at this point
Copy the full SHA 58a06a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 981cfe4 - Browse repository at this point
Copy the full SHA 981cfe4View commit details -
Differentiate between ansi_term style and colored style due to deprec…
…ation of reverse
Configuration menu - View commit details
-
Copy full SHA for 05b0f57 - Browse repository at this point
Copy the full SHA 05b0f57View commit details -
These changes are pedantic and can clutter the blame.
Configuration menu - View commit details
-
Copy full SHA for 0ddacef - Browse repository at this point
Copy the full SHA 0ddacefView commit details
Commits on Nov 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a7e464f - Browse repository at this point
Copy the full SHA a7e464fView commit details -
cargo: supported range for windows-sys (#184)
this will allow downstream users to choose windows-sys version as per their compatibility Signed-off-by: Lakshya Singh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1bb63e4 - Browse repository at this point
Copy the full SHA 1bb63e4View commit details
Commits on Dec 15, 2024
-
* Update to 2.2.0 * Resolve clippy warnings Warnings added in a later version of clippy.
Configuration menu - View commit details
-
Copy full SHA for ef1484c - Browse repository at this point
Copy the full SHA ef1484cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.1.0...v2.2.0