]>
git.proxmox.com Git - rustc.git/blob - vendor/rls-data/src/config.rs
1 #[cfg(feature = "derive")]
2 use serde
::{Deserialize, Serialize}
;
4 /// Used to configure save-analysis.
5 #[derive(Debug, Clone, Default)]
6 #[cfg_attr(feature = "derive", derive(Serialize, Deserialize))]
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).
13 /// If true only includes data for public items in a crate (useful for
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.
22 /// Include experimental borrow data.
23 pub borrow_data
: bool
,