rls_data/
config.rs

1#[cfg(feature = "derive")]
2use serde::{Deserialize, Serialize};
3
4/// Used to configure save-analysis.
5#[derive(Debug, Clone, Default)]
6#[cfg_attr(feature = "derive", derive(Serialize, Deserialize))]
7pub struct Config {
8    /// File to output save-analysis data to.
9    pub output_file: Option<String>,
10    /// Include all documentation for items. (If `false`, only includes the
11    /// summary (first paragraph) for each item).
12    pub full_docs: bool,
13    /// If true only includes data for public items in a crate (useful for
14    /// library crates).
15    pub pub_only: bool,
16    /// If true only includes data for items reachable from the crate root.
17    pub reachable_only: bool,
18    /// True if and only if the analysed crate is part of the standard Rust distro.
19    pub distro_crate: bool,
20    /// Include signature information.
21    pub signatures: bool,
22    /// Include experimental borrow data.
23    pub borrow_data: bool,
24}