---
title: "ansi_term 0.12.1 Breaking Changes on crates.io | Since.dev"
description: "What each ansi_term release removed, renamed or changed: 10 breaking changes in 4 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/ansi_term
last_updated: 2026-12-04
---

# ansi_term breaking changes

ansi_term 0.12.1 (September 2, 2019) is its newest release with breaking changes, 3 of them. The first: Signature changed ansi_term::Color::infix. Every breaking API change we have recorded in ansi_term on crates.io: 10 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.12.1`, released September 2, 2019. [Source repository](https://github.com/ogham/rust-ansi-term)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.10.1](#v-0-10-1) to [0.12.1](#v-0-12-1): 5 breaking changes in 3 versions.

## ansi_term 0.12.1 breaking changes

ansi_term 0.12.1, released September 2, 2019: 3 breaking changes.

- **Signature changed** `ansi_term::Color::infix`  

Was fn infix(self, other: Colour) -> Infix; now fn infix(self, next: Colour) -> Infix. [crates.io](https://crates.io/crates/ansi%5Fterm/0.12.1)
- **Signature changed** `ansi_term::Colour::infix`  

Was fn infix(self, other: Colour) -> Infix; now fn infix(self, next: Colour) -> Infix. [crates.io](https://crates.io/crates/ansi%5Fterm/0.12.1)
- **Signature changed** `ansi_term::Style::infix`  

Was fn infix(self, other: Style) -> Infix; now fn infix(self, next: Style) -> Infix. [crates.io](https://crates.io/crates/ansi%5Fterm/0.12.1)

## ansi_term 0.12.0 breaking changes

ansi_term 0.12.0, released July 14, 2019: 1 breaking change.

- **Signature changed** `ansi_term::ANSIGenericStrings`  

Was struct ANSIGenericStrings<'a, S: 'a + ToOwned + ?Sized> (pub &'a \[ANSIGenericString<'a, S>\]) where \<S as ToOwned>::Owned: fmt::Debug; now struct ANSIGenericStrings<'a, S: 'a + ToOwned + ?Sized> (pub &'a \[ANSIGenericString<'a, S>\])... [crates.io](https://crates.io/crates/ansi%5Fterm/0.12.0)

## ansi_term 0.11.0 breaking changes

ansi_term 0.11.0, released March 2, 2018: 1 breaking change.

- **Signature changed** `ansi_term::enable_ansi_support`  

Was fn enable_ansi_support() -> Result<(), u64>; now fn enable_ansi_support() -> Result<(), u32>. [crates.io](https://crates.io/crates/ansi%5Fterm/0.11.0)

## ansi_term 0.10.1 breaking changes

ansi_term 0.10.1, released September 21, 2017: 5 breaking changes.

- **Signature changed** `ansi_term::ANSIGenericString`  

Was struct ANSIGenericString<'a, S: 'a + ToOwned + ?Sized> where \<S as ToOwned>::Owned: std::fmt::Debug; now struct ANSIGenericString<'a, S: 'a + ToOwned + ?Sized> where \<S as ToOwned>::Owned: fmt::Debug. [crates.io](https://crates.io/crates/ansi%5Fterm/0.10.1)
- **Signature changed** `ansi_term::ANSIGenericStrings`  

Was struct ANSIGenericStrings<'a, S: 'a + ToOwned + ?Sized> (pub &'a \[ANSIGenericString<'a, S>\]) where \<S as ToOwned>::Owned: std::fmt::Debug; now struct ANSIGenericStrings<'a, S: 'a + ToOwned + ?Sized> (pub &'a \[ANSIGenericString<'a, S>\])... [crates.io](https://crates.io/crates/ansi%5Fterm/0.10.1)
- **Signature changed** `ansi_term::Color::paint`  

Was fn paint<'a, I, S: 'a + ToOwned + ?Sized>(self, input: I) -> ANSIGenericString<'a, S> where I: Into\<Cow<'a, S>>, \<S as ToOwned>::Owned: std::fmt::Debug; now fn paint<'a, I, S: 'a + ToOwned + ?Sized>(self, input: I) ->... [crates.io](https://crates.io/crates/ansi%5Fterm/0.10.1)
- **Signature changed** `ansi_term::Colour::paint`  

Was fn paint<'a, I, S: 'a + ToOwned + ?Sized>(self, input: I) -> ANSIGenericString<'a, S> where I: Into\<Cow<'a, S>>, \<S as ToOwned>::Owned: std::fmt::Debug; now fn paint<'a, I, S: 'a + ToOwned + ?Sized>(self, input: I) ->... [crates.io](https://crates.io/crates/ansi%5Fterm/0.10.1)
- **Signature changed** `ansi_term::Style::paint`  

Was fn paint<'a, I, S: 'a + ToOwned + ?Sized>(self, input: I) -> ANSIGenericString<'a, S> where I: Into\<Cow<'a, S>>, \<S as ToOwned>::Owned: std::fmt::Debug; now fn paint<'a, I, S: 'a + ToOwned + ?Sized>(self, input: I) ->... [crates.io](https://crates.io/crates/ansi%5Fterm/0.10.1)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
