()
| 74 | |
| 75 | impl Builder { |
| 76 | pub fn new() -> Self { |
| 77 | let local_key = LOCAL_KEY.fetch_add(1, Ordering::Relaxed); |
| 78 | registry::initialize(local_key); |
| 79 | Builder { |
| 80 | local_key, |
| 81 | template: Default::default(), |
| 82 | dynamic: Default::default(), |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | pub fn load_plugins(self, cfg: loader::LoaderConfig) -> Self { |
| 87 | loader::load(self.local_key, &cfg).unwrap(); |
nothing calls this directly
no test coverage detected