# Teach Travis about Cargo features

**URL:** <https://travis-ci.community/t/teach-travis-about-cargo-features/2324>\
**Category:** Rust\
**Created:** [February 17, 2019, 10:26am UTC](https://travis-ci.community/t/teach-travis-about-cargo-features/2324 "2019-02-17T10:26:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nox](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/nox/32/1212_2.png) [@nox](https://travis-ci.community/u/nox)\
**Post date:** [February 17, 2019, 10:26am UTC](https://travis-ci.community/t/teach-travis-about-cargo-features/2324/1 "2019-02-17T10:26:02Z")

</div>

There is no way to specify Cargo features without explicitly redefining script commands to pass `--features "…"` to `cargo`. It would be nice if `features` was a Rust-specific key that we can use in build matrices etc.
