Skip to content

Conversation

@jmg-duarte
Copy link
Contributor

Description

While migrating the orderbook to axum I did another pass over the dependencies and found that atty not only is deprecated, it has a RUSTSEC because its unmaintained and a proper replacement since Rust 1.70

Changes

How to test

Compilation

Replace deprecated atty crate with std::io::IsTerminal (stable since Rust 1.70)
in observe crate for terminal detection.

Move maplit to dev-dependencies only by replacing the single production usage
in solver with HashMap::from. This reduces production build dependencies while
maintaining test convenience macros.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@jmg-duarte jmg-duarte requested a review from a team as a code owner January 26, 2026 11:29
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

No critical or high severity issues were found in this pull request. The changes correctly remove the deprecated atty crate and move maplit to dev-dependencies, replacing its usage with standard library equivalents. These changes align with the stated goals of the pull request and improve dependency management.

Copy link
Contributor

@MartinquaXD MartinquaXD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹

@jmg-duarte jmg-duarte added this pull request to the merge queue Jan 26, 2026
Merged via the queue into main with commit a71f577 Jan 26, 2026
19 checks passed
@jmg-duarte jmg-duarte deleted the jmgd/deps/cleanup branch January 26, 2026 12:52
@github-actions github-actions bot locked and limited conversation to collaborators Jan 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants