{"id":30040034,"url":"https://github.com/catppuccin/rust","last_synced_at":"2025-08-07T01:55:48.135Z","repository":{"id":65442845,"uuid":"559369340","full_name":"catppuccin/rust","owner":"catppuccin","description":"🦀 Soothing pastel theme for Rust","archived":false,"fork":false,"pushed_at":"2025-04-05T17:17:05.000Z","size":224,"stargazers_count":116,"open_issues_count":4,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-24T06:57:57.488Z","etag":null,"topics":["cargo","catppuccin","hacktoberfest","library","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/catppuccin","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/catppuccin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"catppuccin","open_collective":"catppuccin"}},"created_at":"2022-10-29T22:33:07.000Z","updated_at":"2025-07-09T09:12:57.000Z","dependencies_parsed_at":"2024-03-17T13:27:20.482Z","dependency_job_id":"3bfd3180-424e-41cb-8318-133b62eab83b","html_url":"https://github.com/catppuccin/rust","commit_stats":{"total_commits":30,"total_committers":10,"mean_commits":3.0,"dds":0.6666666666666667,"last_synced_commit":"665f1c6410e31f417d670a647d005ea3a9286227"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/catppuccin/rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catppuccin%2Frust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catppuccin%2Frust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catppuccin%2Frust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catppuccin%2Frust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catppuccin","download_url":"https://codeload.github.com/catppuccin/rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catppuccin%2Frust/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269185774,"owners_count":24374634,"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","status":"online","status_checked_at":"2025-08-06T02:00:09.910Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cargo","catppuccin","hacktoberfest","library","rust"],"created_at":"2025-08-07T01:55:46.691Z","updated_at":"2025-08-07T01:55:48.119Z","avatar_url":"https://github.com/catppuccin.png","language":"Rust","funding_links":["https://github.com/sponsors/catppuccin","https://opencollective.com/catppuccin"],"categories":[],"sub_categories":[],"readme":"\u003ch3 align=\"center\"\u003e\n\t\u003cimg src=\"https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/logos/exports/1544x1544_circle.png\" width=\"100\" alt=\"Logo\"/\u003e\u003cbr/\u003e\n\t\u003cimg src=\"https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png\" height=\"30\" width=\"0px\"/\u003e\n\tCatppuccin for \u003ca href=\"https://www.rust-lang.org/\"\u003eRust\u003c/a\u003e\n\t\u003cimg src=\"https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png\" height=\"30\" width=\"0px\"/\u003e\n\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/catppuccin/rust/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/catppuccin/rust?colorA=363a4f\u0026colorB=b7bdf8\u0026style=for-the-badge\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/catppuccin/rust/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/catppuccin/rust?colorA=363a4f\u0026colorB=f5a97f\u0026style=for-the-badge\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/catppuccin/rust/contributors\"\u003e\u003cimg src=\"https://img.shields.io/github/contributors/catppuccin/rust?colorA=363a4f\u0026colorB=a6da95\u0026style=for-the-badge\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://raw.githubusercontent.com/catppuccin/rust/main/assets/ferris.webp\"/\u003e\n\u003c/p\u003e\n\n## Usage\n\nAdd Catppuccin to your project's `Cargo.toml`:\n\n```console\n$ cargo add catppuccin\n```\n\n## Example\n\n```rust\nstruct Button {\n    text: String,\n    background_color: String,\n};\n\nfn confirm(text: String) -\u003e Button {\n    Button {\n        text,\n        background_color: catppuccin::PALETTE.mocha.colors.green.hex.to_string(),\n    }\n}\n```\n\nMore examples can be found\n[here](https://github.com/catppuccin/rust/tree/main/examples).\n\n## Optional Features\n\n### ANSI string painting\n\nEnable the `ansi-term` feature to add the\n`Color::ansi_paint` method.\nThis adds [ansi-term](https://crates.io/crates/ansi_term) as a dependency.\n\nExample: [`examples/term_grid.rs`](https://github.com/catppuccin/rust/blob/main/examples/term_grid.rs)\n\n#### CSS colors\n\nEnable the `css-colors` feature to enable the conversion of Catppuccin colors to\n`css_colors::RGB` instances.\nThis adds [css-colors](https://crates.io/crates/css-colors) as a dependency.\n\nExample: [`examples/css.rs`](https://github.com/catppuccin/rust/blob/main/examples/css.rs)\n\n#### Ratatui\n\nEnable the `ratatui` feature to enable the conversion of Catppuccin colors to\n`ratatui::style::Color` instances.\nThis adds [ratatui](https://crates.io/crates/ratatui) as a dependency.\n\nExample: [`examples/ratatui.rs`](https://github.com/catppuccin/rust/blob/main/examples/ratatui.rs)\n\n#### Serde\n\nEnable the `serde` feature to enable the serialization of Catppuccin's palette,\nflavor, and color types.\nThis adds [serde](https://crates.io/crates/serde) as a dependency.\n\nExample: [`examples/serde.rs`](https://github.com/catppuccin/rust/blob/main/examples/serde.rs)\n\n## Contributing\n\nThis project uses [pre-commit](https://pre-commit.com/) to maintain consistent code style and standards.\n\nSee also [CONTRIBUTING.md](https://github.com/catppuccin/catppuccin/blob/main/CONTRIBUTING.md)\n\n## 💝 Thanks to\n\n- [backwardspy](https://github.com/backwardspy)\n- [Gingeh](https://github.com/Gingeh)\n- [Julius](https://github.com/juliuskreutz)\n- [Nyx](https://github.com/nyxkrage)\n\n\u0026nbsp;\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/footers/gray0_ctp_on_line.svg?sanitize=true\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\tCopyright \u0026copy; 2021-present \u003ca href=\"https://github.com/catppuccin\" target=\"_blank\"\u003eCatppuccin Org\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/catppuccin/catppuccin/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/static/v1.svg?style=for-the-badge\u0026label=License\u0026message=MIT\u0026logoColor=d9e0ee\u0026colorA=363a4f\u0026colorB=b7bdf8\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatppuccin%2Frust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatppuccin%2Frust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatppuccin%2Frust/lists"}