Skip to content

Commit

Permalink
Add a tip about using RustRover
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh committed Aug 20, 2024
1 parent 651b614 commit a36fc0c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Binary file added .img/rustrover-disable-feature.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,13 @@ on Git 2.17+ you can mass signoff using rebase:
```
git rebase --signoff origin/main
```

## Tips for working on the `matrix-rust-sdk` with specific IDEs

* [RustRover](https://www.jetbrains.com/rust/) will attempt to sync the project
with all features enabled, causing an error in `matrix-sdk` ("only one of the
features 'native-tls' or 'rustls-tls' can be enabled"). To work around this,
open `crates/matrix-sdk/Cargo.toml` in RustRover and uncheck one of the
`native-tls` or `rustls-tls` feature definitions:

![Screenshot of RustRover](.img/rustrover-disable-feature.png)

0 comments on commit a36fc0c

Please sign in to comment.