neocurl 2.0.5

A command line tool to test servers
Documentation
1
2
3
4
5
6
7
8
9
use once_cell::sync::Lazy;
use pyo3::prelude::*;
use std::sync::Mutex;

pub static REGISTRY: Lazy<Mutex<Vec<Py<PyAny>>>> = Lazy::new(|| Mutex::new(Vec::new()));
pub static ON_INIT: Lazy<Mutex<Option<Py<PyAny>>>> = Lazy::new(|| Mutex::new(None));
pub static ON_CLEANUP: Lazy<Mutex<Option<Py<PyAny>>>> = Lazy::new(|| Mutex::new(None));
pub static TESTS: Lazy<Mutex<(u32, u32)>> = Lazy::new(|| Mutex::new((0, 0)));
pub static CALLS: Lazy<Mutex<(u32, u32)>> = Lazy::new(|| Mutex::new((0, 0)));