{"id":28962576,"url":"https://github.com/connorpower/directx","last_synced_at":"2026-04-17T00:02:12.896Z","repository":{"id":139363153,"uuid":"555317297","full_name":"connorpower/directx","owner":"connorpower","description":"A toy DirectX project in Rust","archived":false,"fork":false,"pushed_at":"2022-12-09T04:02:20.000Z","size":675,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T19:55:28.267Z","etag":null,"topics":["directx","rust","win32","windows"],"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/connorpower.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-10-21T10:46:24.000Z","updated_at":"2023-02-03T18:10:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"75b3b0a5-e154-4d4c-9b3a-dabdaa28abae","html_url":"https://github.com/connorpower/directx","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/connorpower/directx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connorpower%2Fdirectx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connorpower%2Fdirectx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connorpower%2Fdirectx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connorpower%2Fdirectx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/connorpower","download_url":"https://codeload.github.com/connorpower/directx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connorpower%2Fdirectx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31909235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["directx","rust","win32","windows"],"created_at":"2025-06-24T03:07:53.579Z","updated_at":"2026-04-17T00:02:12.882Z","avatar_url":"https://github.com/connorpower.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# directx\r\n\r\n![CI Status](https://github.com/connorpower/directx/actions/workflows/CI.yml/badge.svg)\r\n![Rustdocs](https://github.com/connorpower/directx/actions/workflows/rustdocs.yml/badge.svg)\r\n\r\nA small DirectX project in Rust. The project consists of a `::win32` library to\r\nabstract FFI, together with a `::game` binary which serves as a simple test-bed.\r\n\r\n[Documentation](http://connorpower.com/directx/)\r\n\r\n## Requirements\r\n\r\n- Windows 11+ or newer\r\n- DirectX 10 capable graphics card\r\n\r\n## Usage\r\n\r\nTo build and run the example, a simple cargo run suffices:\r\n\r\n```powershell\r\ncargo run\r\n```\r\n\r\n## Tracing Support\r\n\r\nBoth the `::win32` library and the example binary are instrumented with tokio's\r\nexcellent [`::tracing`](https://github.com/tokio-rs/tracing) library.\r\n\r\nTo enable tracing, the project must be built with the `stdio` feature. The\r\n`stdio` feature flag changes the project from a Windows subsystem to a Console\r\nsubsystem and ensure that stdin/stdout/stderr are attached to the process.\r\n\r\nSet the appropriate tracing level environment variable and execute the program\r\nfrom the command line to view trace output:\r\n\r\n```powershell\r\n$env:RUST_LOG = \"trace\"\r\ncargo run --features stdio\r\n```\r\n\r\n#### Example\r\n\r\n![tracing example](./docs/images/tracing.png)\r\n\r\n## License\r\n\r\nThis project is licensed under the [MIT license](LICENSE).\r\n\r\n### Contribution\r\n\r\nUnless you explicitly state otherwise, any contribution intentionally submitted\r\nfor inclusion in this repository by you, shall be licensed as MIT, without any\r\nadditional terms or conditions.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorpower%2Fdirectx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnorpower%2Fdirectx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorpower%2Fdirectx/lists"}