{"id":273745,"date":"2023-06-10T09:00:58","date_gmt":"2023-06-10T01:00:58","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=273745"},"modified":"2023-06-05T11:12:50","modified_gmt":"2023-06-05T03:12:50","slug":"rust-crate-linux","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/rust-crate-linux.html","title":{"rendered":"\u8c37\u6b4c\u5f00\u6e90 Rust Crate \u5ba1\u67e5\u7ed3\u679c"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u65e5\u524d\u8c37\u6b4c\u5728 GitHub \u4e0a\u5f00\u6e90\u4e86\u5bf9 Rust Crate \u7684\u5ba1\u67e5\u7ed3\u679c\uff0c\u5f00\u53d1\u8005\u53ef\u5728\u81ea\u5df1\u7684\u9879\u76ee\u4e2d\u5bfc\u5165\u8fd9\u4e9b\u5ba1\u6838\u7ed3\u679c\uff0c\u4ee5\u8bc1\u660e\u6240\u4f7f\u7528\u7684 Rust Crate \u7684\u5c5e\u6027\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

\u8fd1\u65e5\u6d88\u606f\uff0c\u8c37\u6b4c\u7684\u8bb8\u591a\u5f00\u6e90\u9879\u76ee\u90fd\u4f7f\u7528 Rust\uff0c\u8fd9\u662f\u4e00\u79cd\u73b0\u4ee3\u7cfb\u7edf\u8bed\u8a00\uff0c\u65e8\u5728\u6784\u5efa\u53ef\u9760\u9ad8\u6548\u7684\u8f6f\u4ef6\u3002\u65e5\u524d\u8c37\u6b4c\u5728 GitHub \u4e0a\u5f00\u6e90\u4e86\u5bf9 Rust Crate \u7684\u5ba1\u67e5\u7ed3\u679c\uff0c\u5f00\u53d1\u8005\u53ef\u5728\u81ea\u5df1\u7684\u9879\u76ee\u4e2d\u5bfc\u5165\u8fd9\u4e9b\u5ba1\u6838\u7ed3\u679c\uff0c\u4ee5\u8bc1\u660e\u6240\u4f7f\u7528\u7684 Rust Crate \u7684\u5c5e\u6027\u3002<\/p>\n

\"\"<\/p>\n

Rust \u793e\u533a\u4e2d\u5b58\u5728\u53ef\u7528\u4e8e\u4f9b\u5f00\u53d1\u8005\u53d1\u5e03\u81ea\u5df1\u6240\u5f00\u53d1\u7684 Crate \u7684\u540d\u4e3a Crates.io \u7684\u670d\u52a1\uff0c\u5f00\u53d1\u8005\u5229\u7528 Crates.io \u4e5f\u80fd\u4e0b\u8f7d\u4f7f\u7528\u4ed6\u4eba\u6240\u5f00\u53d1\u7684 Crate\u3002\u4f46\u6240\u6709\u7b2c\u4e09\u65b9\u4ee3\u7801\u90fd\u5e26\u6709\u4e00\u5b9a\u98ce\u9669\u56e0\u7d20\u3002\u5bf9\u4e8e\u672c\u5730\u7f16\u8bd1\u5668\u5c42\u9762\u800c\u8a00\uff0c\u5bf9 Crate \u7684\u8981\u6c42\u53ef\u80fd\u4ec5\u662f\u4e0d\u5305\u542b\u4e3b\u52a8\u6076\u610f\u4ee3\u7801\u3001\u4e0d\u4fb5\u72af\u9690\u79c1\u3001\u6cc4\u9732\u6570\u636e\u6216\u662f\u5b89\u88c5\u6076\u610f\u8f6f\u4ef6\u5373\u53ef\uff0c\u4f46\u662f\u4f9b\u5ba2\u6237\u7aef\u4fa7\u90e8\u7f72\u7684\u4ee3\u7801\u5219\u9700\u8981\u7b26\u5408\u66f4\u4e25\u683c\u7684\u8981\u6c42\uff0c\u4f8b\u5982\u786e\u4fdd\u6ca1\u6709\u5185\u5b58\u5b89\u5168\u95ee\u9898\uff0c\u5e76\u9700\u8981\u8fd8\u8981\u7b26\u5408\u7cfb\u5217\u6807\u51c6\u548c\u89c4\u8303\u9700\u6c42\u3001\u5e76\u4f7f\u7528\u66f4\u65b0\u7684\u52a0\u5bc6\u6280\u672f\u3002<\/p>\n

\u56e0\u6b64\u901a\u5e38\u5728\u65b0\u9879\u76ee\u5f00\u59cb\u4e4b\u9645\uff0c\u5f00\u53d1\u7ec4\u6210\u5458\u4f1a\u6839\u636e\u5176\u5b89\u5168\u6027\u3001\u6b63\u786e\u6027\u3001\u6d4b\u8bd5\u7b49\u6807\u51c6\u5bf9\u6e90\u7801\u8fdb\u884c\u5f7b\u5e95\u7684\u5ba1\u67e5\uff0c\u5f53\u51e0\u4e2a\u4e0d\u540c\u7684\u9879\u76ee\u5ba1\u67e5\u540c\u4e00\u4e2a crate \u65f6\u53ef\u80fd\u4f1a\u5bfc\u81f4\u91cd\u590d\u5de5\u4f5c\uff0c\u56e0\u6b64\u4e3a\u4e86\u6d88\u9664\u91cd\u590d\u7684\u5de5\u4f5c\u53ca\u9a8c\u8bc1\u5b89\u5168\u6027\uff0c\u56e0\u6b64\u8c37\u6b4c\u5185\u90e8\u9879\u76ee\u5f00\u59cb\u4f7f\u7528\u65b0\u7684 Crate \u4e4b\u524d\u4e00\u5b9a\u4f1a\u7ecf\u8fc7\u5f7b\u5e95\u5ba1\u6838\u3002<\/p>\n

\u800c\u7b2c\u4e09\u65b9\u5f00\u53d1\u8005\u5404\u81ea\u5ba1\u67e5\u9879\u76ee\u6240\u4f7f\u7528\u7684 Crate \u65f6\uff0c\u53ef\u80fd\u4f1a\u6d6a\u8d39\u8d44\u6e90\u6267\u884c\u91cd\u590d\u7684\u5de5\u4f5c\uff0c\u56e0\u6b64\u8c37\u6b4c\u5ba3\u5e03\u5f00\u6e90\u5ba1\u6838\u7ed3\u679c\uff0c\u4ee5\u907f\u514d\u91cd\u590d\u5ba1\u6838\u5de5\u4f5c\u3002\u8c37\u6b4c\u5c06\u8fd9\u4e9b\u5ba1\u6838\u7ed3\u679c\u6301\u7eed\u6574\u5408\u5230\u4f9b\u5e94\u94fe\u50a8\u5b58\u5e93\u4e2d\uff0c\u5e76\u4e14\u4f7f\u7528 cargo vet \u6765\u5feb\u901f\u9a8c\u8bc1\u9879\u76ee\u6240\u4f7f\u7528\u7684 Crate\u3002<\/p>\n

\u5f00\u53d1\u8005\u53ef\u4ee5\u5c06\u8c37\u6b4c\u5f00\u6e90\u7684\u5ba1\u6838\u7ed3\u679c\uff0c\u5305\u62ec\u4ee3\u7801\u8d28\u91cf\u3001\u5b89\u5168\u6027\u548c\u6d4b\u8bd5\u8981\u6c42\u7b49\u5c5e\u6027\uff0c\u5bfc\u5165\u5230\u81ea\u5df1\u7684\u9879\u76ee\u4e2d\uff0c\u5e76\u4e14\u6839\u636e\u8fd9\u4e9b Crate \u5c5e\u6027\uff0c\u51b3\u5b9a\u5176\u662f\u5426\u7b26\u5408\u9879\u76ee\u9700\u6c42\u3002\u4e0d\u540c\u4f7f\u7528\u6848\u4f8b\u7684\u9700\u6c42\u4e0d\u540c\uff0ccargo vet \u8ba9\u7528\u6237\u80fd\u591f\u5bf9\u6bcf\u4e00\u4e2a\u76f8\u4f9d\u9879\u76ee\u72ec\u7acb\u914d\u7f6e\u8981\u6c42\u3002<\/p>\n

\u65e5\u524d\u8c37\u6b4c\u7684 ChromeOS \u548c Fuchsia \u9879\u76ee\u90fd\u5df2\u7ecf\u8d21\u732e Crate \u5ba1\u6838\u7ed3\u679c\uff0c\u5176\u4ed6\u8c37\u6b4c\u9879\u76ee\u4e5f\u4f1a\u9010\u6e10\u52a0\u5165\uff0c\u5982\u6b64\u4fbf\u53ef\u8986\u76d6\u66f4\u591a\u7684 Crate \u3002\u76ee\u524d\u8fd9\u9879\u5de5\u4f5c\u4ecd\u5728\u521d\u671f\u9636\u6bb5\uff0c\u5305\u62ec cargo vet \u6267\u884c\u548c\u5171\u4eab\u5ba1\u6838\u7684\u8fd0\u4f5c\u7ec6\u8282\uff0c\u4e4b\u540e\u53ef\u80fd\u8fd8\u4f1a\u6709\u6240\u53d8\u52a8\u3002<\/p>\n

\u6ce8\uff1a\u5728 Rust \u7a0b\u5e8f\u8bed\u8a00\u4e2d\uff0cCrate \u662f Rust \u4e2d\u7684\u4e00\u4e2a\u7f16\u8bd1\u5355\u4f4d\uff0cCrate \u53ef\u4ee5\u7f16\u8bd1\u6210\u4e8c\u8fdb\u5236\u6587\u4ef6\u6216\u5e93\uff0c\u5176\u5305\u542b Rust \u4ee3\u7801\u548c\u5176\u4ed6\u76f8\u5173\u8d44\u6e90\uff0c\u53ef\u4ee5\u88ab\u7f16\u8bd1\u6210\u6267\u884c\u6587\u4ef6\u6216\u662f\u51fd\u6570\u5e93\u3002Rust \u4f7f\u5f97\u5728 Crate \u4e2d\u5c01\u88c5\u548c\u5171\u4eab\u4ee3\u7801\u53d8\u5f97\u5bb9\u6613\uff0c\u5c31\u50cf\u5176\u4ed6\u8bed\u8a00\u7684\u8f6f\u4ef6\u5305\uff0c\u8fd9\u4e9b Crate \u662f\u53ef\u590d\u7528\u7684\u8f6f\u4ef6\u7ec4\u4ef6\uff0c\u56e0\u6b64\u5177\u6709\u76f8\u5f53\u5e7f\u6cdb\u7684\u666e\u9002\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u8fd1\u65e5\u6d88\u606f\uff0c\u8c37\u6b4c\u7684\u8bb8\u591a\u5f00\u6e90\u9879\u76ee\u90fd\u4f7f\u7528 Rust\uff0c\u8fd9\u662f\u4e00\u79cd\u73b0\u4ee3\u7cfb\u7edf\u8bed\u8a00\uff0c\u65e8\u5728\u6784\u5efa\u53ef\u9760\u9ad8\u6548\u7684\u8f6f\u4ef6\u3002\u65e5\u524d\u8c37\u6b4c\u5728 Git […]<\/p>\n","protected":false},"author":1482,"featured_media":246876,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-273745","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/273745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1482"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=273745"}],"version-history":[{"count":5,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/273745\/revisions"}],"predecessor-version":[{"id":274151,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/273745\/revisions\/274151"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/246876"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=273745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=273745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=273745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}