{"id":554187,"date":"2022-02-07T07:40:56","date_gmt":"2022-02-06T23:40:56","guid":{"rendered":"http:\/\/4563.org\/?p=554187"},"modified":"2022-02-07T07:40:56","modified_gmt":"2022-02-06T23:40:56","slug":"maturin-build-and-publish-crates-with-pyo3-rust-cpython-and-cffi-bindings-as-well-as-rust-binaries-as-python-packages-2","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=554187","title":{"rendered":"maturin: Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as Python packages"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1> maturin: Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as Python packages <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : messense <\/span>  <span><i><\/i> 27<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>GitHub: https:\/\/github.com\/PyO3\/maturin User Guide: https:\/\/maturin.rs<\/p>\n<p>\u4e4b\u524d \/t\/816053 \u60f3\u505a\u7684\u4f7f\u7528 PyPI \u5206\u53d1\u4e8c\u8fdb\u5236\u6587\u4ef6\u7684\u4e8b\u60c5\uff0c\u4f7f\u7528 Rust \u5c31\u5f88\u7b80\u5355\uff1a<\/p>\n<pre><code>$ maturin build --release -b bin <\/code><\/pre>\n<p>\u4e3e\u4e2a\u4f8b\u5b50\uff1a https:\/\/github.com\/messense\/auditwheel-symbols \uff0cPyPI \u5730\u5740\uff1a https:\/\/pypi.org\/project\/auditwheel-symbols\/<\/p>\n<p>GitHub Actions \u4e0a\u53ef\u4ee5\u6bd4\u8f83\u65b9\u4fbf\u5730\u6784\u5efa manylinux\/musllinux \u517c\u5bb9\u7684 wheel\uff1a https:\/\/github.com\/messense\/maturin-action<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>0<\/span>) <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>maturin: Build an&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/554187"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=554187"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/554187\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=554187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=554187"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=554187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}