1
2
3
4
5
6
7
8
9
10
11
use std::borrow::Cow;
use std::collections::BTreeSet;

use valence_ident::Ident;

use crate::{Decode, Encode, Packet};

#[derive(Clone, Debug, Encode, Decode, Packet)]
pub struct FeaturesS2c<'a> {
    pub features: Cow<'a, BTreeSet<Ident<String>>>,
}