<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>plarail_hangout</author_name>
  <author_url>https://blog.hatena.ne.jp/plarail_hangout/</author_url>
  <blog_title>Engineering Tech Dojo</blog_title>
  <blog_url>https://tech.fun-toy-life.com/</blog_url>
  <categories>
    <anon>Rust</anon>
    <anon>cargo</anon>
  </categories>
  <description>今回はRustで開発する際にbin配下にアプリを配置しアプリ単体を実行する方法を紹介したいと思います。 結論 bin配下に作成したアプリをcargo run --bin アプリ名で対象のアプリ単体で実行できます。 例 アプリの作成 通常通りcargo new xxx(xxxは任意のアプリ名)でアプリを作成しその配下にbinディレクトリを作成していきます。 cargo new sample cd sample mkdir src/bin treeでディレクトリ構成の確認 tree結果 tree . ├── Cargo.toml └── src ├── bin └── main.rs サンプルコー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.fun-toy-life.com%2Fentry%2F2022%2F09%2F19%2F114923&quot; title=&quot;「Rust」bin配下にアプリを配置しアプリ単体を実行する方法 - Engineering Tech Dojo&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-09-19 11:49:23</published>
  <title>「Rust」bin配下にアプリを配置しアプリ単体を実行する方法</title>
  <type>rich</type>
  <url>https://tech.fun-toy-life.com/entry/2022/09/19/114923</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
