{"id":26506235,"url":"https://github.com/inthehack/dedrv","last_synced_at":"2026-05-18T17:38:33.256Z","repository":{"id":276655701,"uuid":"929887753","full_name":"inthehack/dedrv","owner":"inthehack","description":"A minimal library for implementing device drivers on resource-constrained targets","archived":false,"fork":false,"pushed_at":"2025-02-12T11:15:36.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-08T21:40:12.694Z","etag":null,"topics":["drivers","embedded","no-alloc","no-std","operating-systems","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inthehack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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}},"created_at":"2025-02-09T16:28:46.000Z","updated_at":"2025-02-12T11:12:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e427215-a08f-4dad-9d42-ea424cf12882","html_url":"https://github.com/inthehack/dedrv","commit_stats":null,"previous_names":["jpeeters/dedrv","inthehack/dedrv"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inthehack%2Fdedrv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inthehack%2Fdedrv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inthehack%2Fdedrv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inthehack%2Fdedrv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inthehack","download_url":"https://codeload.github.com/inthehack/dedrv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244702414,"owners_count":20495905,"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":["drivers","embedded","no-alloc","no-std","operating-systems","rust"],"created_at":"2025-03-20T22:26:29.497Z","updated_at":"2026-05-18T17:38:28.223Z","avatar_url":"https://github.com/inthehack.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `dedrv`\n\n`dedrv` (\"de drivers\" standing for \"device drivers\" or \"delegated drivers\") is a minimal library\nfor implementing device drivers on resource-contrained targets, like microcontrollers for instance.\n\nThe library provides the internal logic for decoupling device drivers from their public interface.\nAs a result, one can develop device drivers for many different targets but with the same interface.\n\nEvery device driver is also managed during its initialization and clean-up phase, offering\ncustomization on these phases (e.g. ordering, priority, hook...).\n\n## For developers\n\nThe developing environment is based on Nix developer shells, which offers a all-inclusive\ndeveloper experience, at least we hope so.\n\nSo as to start, just type the following.\n\nIf you have Nix with flakes:\n\n```shell\nnix develop\n```\n\nIf you have `direnv` and Nix with flakes:\n\n```shell\necho \"use flake\" \u003e\u003e .envrc\ndirenv allow\n```\n\nAnd if you do not want to type all this, there is a helper as a just rule:\n\n```shell\njust init direnv\n```\n\nOr:\n\n```shell\nnix run nixpkgs#just -- init direnv\n```\n\nif you do not have just installed on you Nix configuration.\n\n## MSRV\n\nThe minimum supported Rust version is 1.76. `dedrv` is tested against the latest stable Rust\nversion and the MSRV.\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0\n- MIT license\n\nat your option.\n\n### Contribution\n\nUnless you explicitely state otherwise, any contribution intentionally submitted for inclusion in\nthe work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any\nadditional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finthehack%2Fdedrv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finthehack%2Fdedrv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finthehack%2Fdedrv/lists"}