{"id":19414981,"url":"https://github.com/jakeroggenbuck/efcl","last_synced_at":"2026-02-13T18:33:53.793Z","repository":{"id":63055800,"uuid":"564947575","full_name":"JakeRoggenbuck/efcl","owner":"JakeRoggenbuck","description":"The most simple, small, and fast terminal color text library.","archived":false,"fork":false,"pushed_at":"2024-09-30T04:37:14.000Z","size":23,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-31T12:17:35.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JakeRoggenbuck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-11-11T22:16:40.000Z","updated_at":"2024-09-30T04:37:18.000Z","dependencies_parsed_at":"2024-01-17T09:17:16.038Z","dependency_job_id":null,"html_url":"https://github.com/JakeRoggenbuck/efcl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeRoggenbuck%2Fefcl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeRoggenbuck%2Fefcl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeRoggenbuck%2Fefcl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeRoggenbuck%2Fefcl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JakeRoggenbuck","download_url":"https://codeload.github.com/JakeRoggenbuck/efcl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223954416,"owners_count":17231187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T12:41:11.377Z","updated_at":"2026-02-13T18:33:53.763Z","avatar_url":"https://github.com/JakeRoggenbuck.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Efficiency First Color Library (EFCL)\n\n[![Rust](https://img.shields.io/github/actions/workflow/status/jakeroggenbuck/efcl/rust.yml?branch=main\u0026style=for-the-badge)](https://github.com/JakeRoggenbuck/efcl/actions)\n[![Crates Version](https://img.shields.io/crates/v/efcl?style=for-the-badge)](https://crates.io/crates/efcl)\n[![Downloads](https://img.shields.io/crates/d/efcl?style=for-the-badge)](https://crates.io/crates/efcl)\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/jakeroggenbuck/efcl?style=for-the-badge)\n\nThe most simple, small, and fast terminal color text library.\n\n## Priorities\n- Runtime speed\n- Dependency size\n\n## Quickstart\n\n```toml\nefcl = \"0.1.3\"\n```\n\n```rs\nuse efcl::{color, Color, bold};\n\nfn main() {\n    println!(\"Hello, {}!\", color!(Color::BLUE, \"world\"));\n\n    println!(\"{}!\", bold!(\u0026color!(Color::RED, \"EFCL\").to_string()));\n}\n```\n\n![image](https://github.com/user-attachments/assets/01c3f978-cd49-42df-b06b-9abcd40be5c5)\n\n## Why?\n\nHere is a flamegraph of the [auto-clock-speed](https://github.com/JakeRoggenbuck/auto-clock-speed) project. In green is the time it takes for colored text to render. That is just over 9% of runtime cpu is taken by color formatting.\n\n![image](https://user-images.githubusercontent.com/35516367/201438554-a3c7bd63-2810-4140-a457-da8eff267d21.png)\n\n![EFCL](https://user-images.githubusercontent.com/35516367/223891514-462f831d-19d9-4289-89e5-14fe0ad2c940.png)\n\nThis is way too long for what we need it for. In auto-clock-speed, color is used sparingly and only a few default colors on top of that.\n\n![image](https://user-images.githubusercontent.com/35516367/201438673-56254428-515b-4e18-a918-c557703e936e.png)\n\nThis library is for the most basic text coloring for the terminal and only includes the default terminal colors, no background color or text styles other than bold. This library is for speed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakeroggenbuck%2Fefcl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakeroggenbuck%2Fefcl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakeroggenbuck%2Fefcl/lists"}