Skip to content

Commit fd84895

Browse files
ismoilovdevmlclaude
andcommitted
🔧 Use internal tagging for CertificateConfig enum
- Add #[serde(tag = "type")] for better TOML compatibility - TOML format: with = not found Local not found field - Fixes enum deserialization error 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a7e23c0 commit fd84895

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/configuration.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,7 @@ impl TryFrom<(String, Value)> for Box<dyn Middleware> {
533533
}
534534

535535
#[derive(Debug, Deserialize)]
536+
#[serde(tag = "type")]
536537
pub enum CertificateConfig {
537538
Local {
538539
certificate_path: String,

0 commit comments

Comments
 (0)