We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42b26e6 commit 78c2148Copy full SHA for 78c2148
src/tools/build-manifest/src/main.rs
@@ -178,8 +178,8 @@ impl Builder {
178
// and wrap it up in a `Value::Table`.
179
let mut manifest = BTreeMap::new();
180
manifest.insert("manifest-version".to_string(),
181
- toml::encode(&manifest_version));
182
- manifest.insert("date".to_string(), toml::encode(&date));
+ toml::Value::String(manifest_version));
+ manifest.insert("date".to_string(), toml::Value::String(date));
183
manifest.insert("pkg".to_string(), toml::encode(&pkg));
184
let manifest = toml::Value::Table(manifest).to_string();
185
0 commit comments