Files
matrix-rust-sdk/bindings
Kévin Commaille c50358366f refactor!(sdk): Set thumbnail in AttachmentConfig with builder method instead of constructor
`AttachmentConfig::with_thumbnail()` is replaced by
`AttachmentConfig::new().thumbnail()`.

Simplifies the use of `AttachmentConfig`, by avoiding code like:

```rust
let config = if let Some(thumbnail) = thumbnail {
  AttachmentConfig::with_thumbnail(thumbnail)
} else {
  AttachmentConfig::new()
};
```

---------

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2024-12-22 17:45:04 +00:00
..
2024-05-23 19:54:47 +02:00

Matrix Rust SDK bindings

In this directory, one can find bindings to the Rust SDK that are maintained by the owners of the Matrix Rust SDK project.

There are also external bindings in other repositories:

Contributing

To contribute read this guide.