{"id":17197724,"url":"https://github.com/bkonkle/nakago","last_synced_at":"2025-04-05T09:07:15.874Z","repository":{"id":65789046,"uuid":"599195938","full_name":"bkonkle/nakago","owner":"bkonkle","description":"A lightweight async dependency injection toolkit for Rust","archived":false,"fork":false,"pushed_at":"2025-03-24T18:36:40.000Z","size":2227,"stargazers_count":48,"open_issues_count":6,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-29T04:41:59.996Z","etag":null,"topics":["async","dependency-injection","graphql","http","rust"],"latest_commit_sha":null,"homepage":"https://nakago.dev/","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/bkonkle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2023-02-08T16:45:35.000Z","updated_at":"2025-02-08T16:58:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc49a5e8-e8d2-49bc-9c3e-52b347216e01","html_url":"https://github.com/bkonkle/nakago","commit_stats":{"total_commits":104,"total_committers":2,"mean_commits":52.0,"dds":0.1923076923076923,"last_synced_commit":"bc2461fc7dc79490ac8bea8034cb5425749f5860"},"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkonkle%2Fnakago","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkonkle%2Fnakago/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkonkle%2Fnakago/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkonkle%2Fnakago/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bkonkle","download_url":"https://codeload.github.com/bkonkle/nakago/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312078,"owners_count":20918344,"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":["async","dependency-injection","graphql","http","rust"],"created_at":"2024-10-15T01:57:10.144Z","updated_at":"2025-04-05T09:07:15.507Z","avatar_url":"https://github.com/bkonkle.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n  \u003cimg src=\"https://raw.githubusercontent.com/bkonkle/nakago/main/website/static/img/katana.png\" width=\"400\" alt=\"A katana leaning on a stand\"/\u003e\n\n  \u003ch1\u003eNakago (中子)\u003c/h1\u003e\n\n  \u003cp\u003e\n    \u003cstrong\u003eA lightweight async dependency injection toolkit for Rust\u003c/strong\u003e\n  \u003c/p\u003e\n\n[![Crates.io](https://img.shields.io/crates/v/nakago.svg)](https://crates.io/crates/nakago)\n[![Docs.rs](https://docs.rs/nakago/badge.svg)](https://docs.rs/nakago)\n[![CI](https://github.com/bkonkle/nakago/workflows/CI/badge.svg)](https://github.com/bkonkle/nakago/actions)\n[![Coverage Status](https://codecov.io/gh/bkonkle/nakago/branch/main/graph/badge.svg?token=BXEZAMHVLP)](https://codecov.io/gh/bkonkle/nakago)\n\n[![Rust](https://img.shields.io/badge/rust-2021-a72145?logo=rust\u0026style=flat)](https://www.rust-lang.org)\n[![Tokio](https://img.shields.io/badge/tokio-463103?logo=rust\u0026style=flat)](https://tokio.rs)\n[![Axum](https://img.shields.io/badge/axum-7b5312?logo=rust\u0026style=flat)](https://crates.io/crates/axum)\n\n\u003c/div\u003e\n\nNakago is a toolkit for building Rust applications with a modular structure, taking advantage of dependency injection to bring organization and testability to Rust projects large and small.\n\n## ⚠️ Alpha Disclaimer\n\nNOTE: This library is in early development, and the API may shift rapidly as it evolves. Be advised that this is not yet recommended for Production use.\n\n## Features\n\n- [Dependency Injection](https://nakago.dev/docs/features/dependency-injection)\n- [HTTP Adapter](https://nakago.dev/docs/features/axum-http) for [Axum](https://github.com/tokio-rs/axum) and [Warp](https://github.com/seanmonstar/warp)\n- [SQL Adapter](https://nakago.dev/docs/features/sea-orm) for [SeaORM](https://github.com/SeaQL/sea-orm)\n- [GraphQL Adapter](https://nakago.dev/docs/features/async-graphql) for [Async-GraphQL](https://github.com/async-graphql/async-graphql)\n- CQRS Adapter using [CQRS-ES](https://crates.io/crates/cqrs-es) (upcoming)\n\nAs development progresses, components will be split up into separate crates, so that developers can install only what they need.\n\n## Installation\n\n### Cargo\n\n- Install Rust and Cargo by following [this guide](https://www.rust-lang.org/tools/install).\n- Run `cargo install nakago`, along with `cargo install nakago-derive`, `cargo install nakago-axum`, etc. for each feature you need.\n\n## Etymology\n\nNakago (中子) is a Japanese word meaning \"core\", or less commonly the \"middle of a nest of boxes\". It often refers to the [tang](\u003chttps://en.wikipedia.org/wiki/Tang_(tools)\u003e) of a Japanese katana - the foundation of the hilt and the mechanism through which a sword is wielded. The nakago must be sound and resilient, allowing the holder to guide the blade with confidence.\n\n## Development\n\nSee [docs/development.md](https://nakago.dev/docs/development).\n\n## License\n\nLicensed under the MIT license ([LICENSE](LICENSE) or \u003chttp://opensource.org/licenses/MIT\u003e).\n\n## Contribution\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## Attribution\n\nKatana image by fordevector at [Vecteezy](https://www.vecteezy.com/free-vector/katana).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkonkle%2Fnakago","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbkonkle%2Fnakago","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkonkle%2Fnakago/lists"}