Conditional Dependencies in Rust
You can conditionally include dependencies
in Cargo.toml
based on the compile target.
If a crate requires SSE2 for example, put it in this section
[target.'cfg(target_feature = "sse2")'.dependencies]
sse2_only_crate = "0.0.1"
Webmentions
No webmentions were found.
{% for webmention in webmentions %}-
{% if webmention.author %}
{% capture author_id %}
{% if webmention.author.photo %}
{% endif %}
{% if webmention.author.name %}
{{ webmention.author.name }}
{% endif %}
{% endcapture %}
{% if webmention.author.url %}
{{ author_id }}
{% else %}
{{ author_id }}
{% endif %}
{% endif %}
{% if webmention.content %}
{{ webmention.content }}
{% else %}
{{ webmention.title }}
{% endif %}
{% if webmention.pubdate %}
{% endif %}
{% if webmention.pubdate and webmention.uri %}|{% endif %}
{% if webmention.uri %}
Permalink
{% endif %}
{% endfor %}
{% else %}No bookmarks were found.
{% endif %}{% for webmention in webmentions %}-
{% if webmention.author %}
{% capture author_id %}
{% if webmention.author.photo %}
{% endif %}
{% if webmention.author.name %}
{{ webmention.author.name }}
{% endif %}
{% endcapture %}
{% if webmention.author.url %}
{{ author_id }}
{% else %}
{{ author_id }}
{% endif %}
{% endif %}
{% endfor %}
{% else %}No likes have been sent yet!
{% endif %}{% for webmention in webmentions %}-
{% if webmention.author %}
{% capture author_id %}
{% if webmention.author.photo %}
{% endif %}
{% if webmention.author.name %}
{{ webmention.author.name }}
{% endif %}
{% endcapture %}
{% if webmention.author.url %}
{{ author_id }}
{% else %}
{{ author_id }}
{% endif %}
{% endif %}
{% if webmention.content %}
{{ webmention.content }}
{% else %}
{{ webmention.title }}
{% endif %}
{% if webmention.pubdate %}
{% endif %}
{% if webmention.pubdate and webmention.uri %}|{% endif %}
{% if webmention.uri %}
Permalink
{% endif %}
{% endfor %}
{% else %}No links were found.
{% endif %}{% for webmention in webmentions %}-
{% if webmention.author %}
{% capture author_id %}
{% if webmention.author.photo %}
{% endif %}
{% if webmention.author.name %}
{{ webmention.author.name }}
{% endif %}
{% endcapture %}
{% if webmention.author.url %}
{{ author_id }}
{% else %}
{{ author_id }}
{% endif %}
{% endif %}
{% if webmention.content %}
{{ webmention.content }}
{% else %}
{{ webmention.title }}
{% endif %}
{% if webmention.pubdate %}
{% endif %}
{% if webmention.pubdate and webmention.uri %}|{% endif %}
{% if webmention.uri %}
Permalink
{% endif %}
{% endfor %}
{% else %}No posts were found.
{% endif %}{% for webmention in webmentions %}-
{% if webmention.author %}
{% capture author_id %}
{% if webmention.author.photo %}
{% endif %}
{% if webmention.author.name %}
{{ webmention.author.name }}
{% endif %}
{% endcapture %}
{% if webmention.author.url %}
{{ author_id }}
{% else %}
{{ author_id }}
{% endif %}
{% endif %}
{% if webmention.content %}
{{ webmention.content }}
{% else %}
{{ webmention.title }}
{% endif %}
{% if webmention.pubdate %}
{% endif %}
{% if webmention.pubdate and webmention.uri %}|{% endif %}
{% if webmention.uri %}
Permalink
{% endif %}
{% endfor %}
{% else %}No replies were found.
{% endif %}{% for webmention in webmentions %}-
{% if webmention.author %}
{% capture author_id %}
{% if webmention.author.photo %}
{% endif %}
{% if webmention.author.name %}
{{ webmention.author.name }}
{% endif %}
{% endcapture %}
{% if webmention.author.url %}
{{ author_id }}
{% else %}
{{ author_id }}
{% endif %}
{% endif %}
{% endfor %}
{% else %}No reposts were found.
{% endif %}{% for webmention in webmentions %}-
{% if webmention.author %}
{% capture author_id %}
{% if webmention.author.photo %}
{% endif %}
{% if webmention.author.name %}
{{ webmention.author.name }}
{% endif %}
{% endcapture %}
{% if webmention.author.url %}
{{ author_id }}
{% else %}
{{ author_id }}
{% endif %}
{% endif %}
{% endfor %}
{% else %}No RSVPs were found.
{% endif %}{% for webmention in webmentions %}-
{% if webmention.author %}
{% capture author_id %}
{% if webmention.author.photo %}
{% endif %}
{% if webmention.author.name %}
{{ webmention.author.name }}
{% endif %}
{% endcapture %}
{% if webmention.author.url %}
{{ author_id }}
{% else %}
{{ author_id }}
{% endif %}
{% endif %}
{% if webmention.content %}
{{ webmention.content }}
{% else %}
{{ webmention.title }}
{% endif %}
{% if webmention.pubdate %}
{% endif %}
{% if webmention.pubdate and webmention.uri %}|{% endif %}
{% if webmention.uri %}
Permalink
{% endif %}
{% endfor %}
{% else %}No webmentions were found.
{% endif %}Comments