{"id":15667082,"url":"https://github.com/Zondax/ledger-rs","last_synced_at":"2025-10-14T05:31:34.254Z","repository":{"id":40685946,"uuid":"142752715","full_name":"Zondax/ledger-rs","owner":"Zondax","description":"Rust crate to connect to Ledger devices","archived":false,"fork":false,"pushed_at":"2025-01-02T12:37:52.000Z","size":451,"stargazers_count":40,"open_issues_count":0,"forks_count":26,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-02T13:39:48.942Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zondax.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}},"created_at":"2018-07-29T10:50:05.000Z","updated_at":"2025-01-02T12:37:56.000Z","dependencies_parsed_at":"2024-05-09T15:39:56.130Z","dependency_job_id":"46281980-5e05-4c1c-860f-936cf03fc9ab","html_url":"https://github.com/Zondax/ledger-rs","commit_stats":{"total_commits":165,"total_committers":15,"mean_commits":11.0,"dds":0.7515151515151515,"last_synced_commit":"20e2a2076d799d449ff6f07eb0128548b358d9bc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zondax%2Fledger-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zondax%2Fledger-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zondax%2Fledger-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zondax%2Fledger-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zondax","download_url":"https://codeload.github.com/Zondax/ledger-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236451125,"owners_count":19150805,"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-10-03T14:01:42.544Z","updated_at":"2025-10-14T05:31:34.155Z","avatar_url":"https://github.com/Zondax.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# ledger-rs\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Github Actions](https://github.com/Zondax/ledger-rs/actions/workflows/main.yaml/badge.svg)](https://github.com/Zondax/ledger-rs)\n\nCommunication library between Rust and Ledger Nano S/X devices\n\n# How to use\n\n## Developing an App interface\n\nTo develop an app interface it's recommended to depend on `ledger-transport` and make the API generic over the an `Exchange` (trait).\nAn example can be found in [`ledger-zondax-hid` tests](./ledger-zondax-hid/src/lib.rs#L380) (provided by `ledger-zondax-generic`) where `get_device_info` is independent of the transport used.\n\n## Using an App interface\n\nTo use an app interface, so when communicating with a ledger device (or emulator) the transports available are:\n    * `ledger-transport-hid`\n    * `ledger-transport-zemu`\n\n# How to publish to crates.io\n\nObviously only members of the Zondax/crates team are allowed to publish.\n\nAfterwards, there's a correct order to publish the crates, based on the crate dependencies:\n\n* ledger-apdu\n* ledger-transport\n* ledger-zondax-generic\n\nThen, the rest of the crates can be published in any order.\n\n``sh\ncargo login\ncargo package -p ledger-apdu\ncargo publish -p ledger-apdu\n\ncargo package -p ledger-transport\ncargo publish -p ledger-transport\n\ncargo package -p ledger-zondax-generic\ncargo publish -p ledger-zondax-generic\n\ncargo package -p ledger-transport-hid\ncargo publish -p ledger-transport-hid\n``","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZondax%2Fledger-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FZondax%2Fledger-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZondax%2Fledger-rs/lists"}