Skip to content

chore: remove lazy_static in favor of std#231

Open
onx2 wants to merge 1 commit into
colored-rs:masterfrom
onx2:chore/remove-lazy_static
Open

chore: remove lazy_static in favor of std#231
onx2 wants to merge 1 commit into
colored-rs:masterfrom
onx2:chore/remove-lazy_static

Conversation

@onx2
Copy link
Copy Markdown

@onx2 onx2 commented May 15, 2026

Description

Removes the rspec dev-dependency and rewrites the ShouldColorize tests as standard Rust #[test] functions.

This removes lazy_static from the dependency graph, since it was only pulled in transitively through rspec.

note: This does not change MSRV; the crate already declares rust-version = "1.80".

Testing

Ran:

cargo fmt --all

cargo test

Also verified lazy_static is no longer present in the dependency graph:

cargo tree -i lazy_static

This now returns:

error: package ID specification 'lazy_static' did not match any packages

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.

1 participant