Skip to main content

scp2p_core/
capabilities.rs

1// Copyright (c) 2024-2026 Vanyo Vanev / Tech Art Ltd
2// SPDX-License-Identifier: MPL-2.0
3//
4// This Source Code Form is subject to the terms of the Mozilla Public
5// License, v. 2.0. If a copy of the MPL was not distributed with this
6// file, You can obtain one at https://mozilla.org/MPL/2.0/.
7use serde::{Deserialize, Serialize};
8
9#[derive(Debug, Clone, Serialize, Deserialize, Default, PartialEq, Eq)]
10pub struct Capabilities {
11    pub dht: bool,
12    pub store: bool,
13    pub relay: bool,
14    pub content_seed: bool,
15    pub mobile_light: bool,
16}