<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bouzuya</author_name>
  <author_url>https://blog.hatena.ne.jp/bouzuya/</author_url>
  <blog_title>bouzuya.hatenablog.com</blog_title>
  <blog_url>https://bouzuya.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>include_str! を知った https://doc.rust-lang.org/std/macro.include_str.html 。 相対パスを指定してそのファイルを文字列としてコンパイル時に埋め込む。 これを使って SQL を別ファイルにしてみた。 https://github.com/bouzuya/rust-sandbox/commit/800ea2b9573039176f047f584df60a9ddab2a68f 。 include_str! の使用箇所が折りたたまれてしまうけど。 sqlx::query! を使って SQL のチェックなどをすべきな気もするけど SQL …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbouzuya.hatenablog.com%2Fentry%2F2021%2F07%2F19%2F215044&quot; title=&quot;include_str! を知った - bouzuya.hatenablog.com&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>2021-07-19 21:50:44</published>
  <title>include_str! を知った</title>
  <type>rich</type>
  <url>https://bouzuya.hatenablog.com/entry/2021/07/19/215044</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
