cargo_smart_release/command/
mod.rs1pub mod release {
2 use crate::changelog::section::segment;
3
4 #[derive(Debug, Clone)]
5 pub struct Options {
6 pub dry_run: bool,
7 pub allow_dirty: bool,
8 pub ignore_instability: bool,
9 pub skip_publish: bool,
10 pub dry_run_cargo_publish: bool,
11 pub conservative_pre_release_version_handling: bool,
12 pub no_verify: bool,
14 pub skip_tag: bool,
15 pub allow_auto_publish_of_stable_crates: bool,
16 pub update_crates_index: bool,
17 pub bump_when_needed: bool,
18 pub verbose: bool,
19 pub skip_push: bool,
20 pub dependencies: bool,
21 pub isolate_dependencies_from_breaking_changes: bool,
22 pub changelog: bool,
23 pub preview: bool,
24 pub generator_segments: segment::Selection,
25 pub allow_fully_generated_changelogs: bool,
26 pub allow_empty_release_message: bool,
27 pub changelog_links: bool,
28 pub allow_changelog_github_release: bool,
29 pub capitalize_commit: bool,
30 pub registry: Option<String>,
31 pub target: Option<String>,
32 pub signoff: bool,
33 pub commit_prefix: Option<String>,
34 }
35}
36#[path = "release/mod.rs"]
37mod release_impl;
38pub use release_impl::release;
39
40pub mod changelog {
41 use crate::changelog::section::segment;
42
43 #[derive(Debug, Clone, Copy)]
44 pub struct Options {
45 pub dry_run: bool,
46 pub dependencies: bool,
47 pub allow_dirty: bool,
48 pub preview: bool,
49 pub generator_segments: segment::Selection,
51 pub no_links: bool,
52 pub capitalize_commit: bool,
53 }
54}
55#[path = "changelog.rs"]
56mod changelog_impl;
57pub use changelog_impl::changelog;