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