{"id":16677301,"url":"https://github.com/kernelerr/paddle-sys","last_synced_at":"2025-10-28T22:03:23.226Z","repository":{"id":52650771,"uuid":"324174471","full_name":"KernelErr/paddle-sys","owner":"KernelErr","description":"Rust wrapper for Paddle Inference.","archived":false,"fork":false,"pushed_at":"2021-05-22T05:00:43.000Z","size":39,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T22:42:03.720Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/KernelErr.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}},"created_at":"2020-12-24T14:31:11.000Z","updated_at":"2024-01-05T03:59:01.000Z","dependencies_parsed_at":"2022-08-21T12:40:25.773Z","dependency_job_id":null,"html_url":"https://github.com/KernelErr/paddle-sys","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernelErr%2Fpaddle-sys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernelErr%2Fpaddle-sys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernelErr%2Fpaddle-sys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernelErr%2Fpaddle-sys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KernelErr","download_url":"https://codeload.github.com/KernelErr/paddle-sys/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248113231,"owners_count":21049808,"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-12T13:25:56.953Z","updated_at":"2025-10-28T22:03:23.155Z","avatar_url":"https://github.com/KernelErr.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# paddle-sys\n\n[![PaddlePaddle version](https://img.shields.io/badge/PaddlePaddle-release%2F2.1-blue)](https://github.com/PaddlePaddle/Paddle)\n\nRust bindings for the Paddle Inference, the core inference engine for [PaddlePaddle].\n\nThis library is intended to provide a low-level wrapper for functions, datatypes, and others in the Paddle Inference C language API. You may use it in applications that need to interact with Paddle Inference directly in Rust.\n\n## Bindings\n\nWe use the [bindgen] tool to generate wrappers over the Paddle Inference C language header file and the [libloading] tool to load the pre-compiled library. So before you run your application, please ensure you have a pre-compiled library with the correct version (libpaddle_inference_c.so) and set the environment variables to let the linker could find it. An example of Linux is shown below.\n\n```\nexport LD_LIBRARY_PATH=/path/to/paddle_lib:$LD_LIBRARY_PATH\n```\n\n## External Information\n\nThe usage for this library is mostly like the stuff you do with Paddle Inference in C language. But it's in Rust, meaning that you would use some unsafe features and manage pointers and malloced memories. I sincerely hope that if there are developers who stand out to develop a safe wrapper based on this library. Let's make PaddlePaddle more prosperous!\n\nDemos are available on [paddle-sys-demo]. Any advice is welcomed.\n\n## License\n\npaddle-sys is provided under the \u003ca href=\"LICENSE-APACHE\"\u003eApache License, Version 2.0\u003c/a\u003e or \u003ca href=\"LICENSE-MIT\"\u003eMIT license\u003c/a\u003e.\n\n[PaddlePaddle]: https://github.com/PaddlePaddle/Paddle\n[bindgen]: https://github.com/rust-lang/rust-bindgen\n[libloading]: https://github.com/nagisa/rust_libloading\n[paddle-sys-demo]: https://github.com/KernelErr/paddle-sys-demo","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernelerr%2Fpaddle-sys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkernelerr%2Fpaddle-sys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernelerr%2Fpaddle-sys/lists"}