1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// Copyright 2021 TiKV Project Authors. Licensed under Apache-2.0. use std::path::PathBuf; #[derive(Clone, Debug, Serialize, Deserialize, PartialEq)] #[serde(default)] #[serde(rename_all = "kebab-case")] pub struct Config { pub coprocessor_plugin_directory: Option<PathBuf>, } impl Default for Config { fn default() -> Config { Config { coprocessor_plugin_directory: None, } } }