<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Rust on jen20.dev</title>
    <link>https://jen20.dev/tags/rust/</link>
    <description>Recent content in Rust on jen20.dev</description>
    <generator>Hugo</generator>
    <language>en-gb</language>
    <managingEditor>hello@jen20.com (James Nugent)</managingEditor>
    <webMaster>hello@jen20.com (James Nugent)</webMaster>
    <lastBuildDate>Thu, 02 Apr 2020 08:00:00 -0500</lastBuildDate>
    <atom:link href="https://jen20.dev/tags/rust/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Completion of Generated Code in IntelliJ Rust</title>
      <link>https://jen20.dev/post/completion-of-generated-code-in-intellij-rust/</link>
      <pubDate>Thu, 02 Apr 2020 08:00:00 -0500</pubDate><author>hello@jen20.com (James Nugent)</author>
      <guid>https://jen20.dev/post/completion-of-generated-code-in-intellij-rust/</guid>
      <description>&lt;p&gt;Recently, I&amp;rsquo;ve been doing a lot of work with &lt;a href=&#34;https://github.com/hyperium/tonic&#34;&gt;Tonic&lt;/a&gt;, a Rust implementation of&#xA;the &lt;a href=&#34;https://grpc.io&#34;&gt;gRPC&lt;/a&gt; protocol. Like many implementations of gRPC, Tonic generates code from&#xA;the protocol buffers definitions at build time using the &lt;code&gt;tonic-build&lt;/code&gt; crate in a Cargo&#xA;build script, and by default puts them in the path referred to by &lt;code&gt;OUT_DIR&lt;/code&gt;. This has&#xA;the unfortunate side effect that tooling such as &lt;a href=&#34;https://intellij-rust.github.io&#34;&gt;&lt;code&gt;IntelliJ Rust&lt;/code&gt;&lt;/a&gt; does&#xA;not see the generated code for the purposes of analysis and completion - something very&#xA;useful for the verbose generated protocol buffers code - unless you take some additional&#xA;steps.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
