Skip to content

Commit 632378e

Browse files
committed
Add skip_optional_value() and skip_string_list().
1 parent 1a57b6a commit 632378e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

cargo-dist/src/init/apply_dist/helpers.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
use crate::platform::MinGlibcVersion;
22
use axoasset::toml_edit;
3+
use tracing::trace;
4+
5+
pub fn skip_optional_value<I>(
6+
_table: &mut toml_edit::Table,
7+
key: &str,
8+
_desc: &str,
9+
_val: Option<I>,
10+
) {
11+
trace!("apply_dist/skipping: {}", key);
12+
}
13+
14+
pub fn skip_string_list<I>(_table: &mut toml_edit::Table, key: &str, desc: &str, _list: Option<I>) {
15+
trace!("apply_dist/skipping: {}", key);
16+
}
317

418
/// Update the toml table to add/remove this value
519
///

0 commit comments

Comments
 (0)