# Constant limits::ATTACHMENT_SIZE_MAX

> Largest attachment the protocol allows, in bytes (XFTP's 1 GiB); hosts set lower limits.

`zaun_community_protocol::limits::ATTACHMENT_SIZE_MAX` · Constant

```rust
pub const ATTACHMENT_SIZE_MAX: u64 = _;
```

Largest attachment the protocol allows, in bytes (XFTP's 1 GiB); hosts set lower limits.

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/limits/constant.ATTACHMENT_SIZE_MAX.html)
