Compare commits
No commits in common. "2219a148fd1945c1b1788937ce67e266c54fe4ec" and "c54e001cd79348385ae537063abddf583f58a309" have entirely different histories.
2219a148fd
...
c54e001cd7
2 changed files with 0 additions and 10 deletions
|
@ -1,9 +0,0 @@
|
||||||
# `v0.2.0`
|
|
||||||
- Bumped maturin version to `1.7.8`
|
|
||||||
- Bumped PyO3 version to `0.23.3`
|
|
||||||
- Changed from `init()` syntax to direct `tic()` and `toc()` calls. `init()` syntax still supported.
|
|
||||||
- Multiple timing operations now possible by assigning output of `tic()` and passing it to `toc()`
|
|
||||||
- Added PyO3 features to support Windows cross-compilation
|
|
||||||
|
|
||||||
# `v0.1.0`
|
|
||||||
- Initial release
|
|
|
@ -51,7 +51,6 @@ mod tictoc {
|
||||||
Ok(Init::new())
|
Ok(Init::new())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[pyo3(signature = (tic=None))]
|
|
||||||
fn toc(&mut self, tic: Option<Init>) -> PyResult<Results> {
|
fn toc(&mut self, tic: Option<Init>) -> PyResult<Results> {
|
||||||
let elapsed_time = match tic {
|
let elapsed_time = match tic {
|
||||||
Some(ref tic) => tic.time.elapsed(),
|
Some(ref tic) => tic.time.elapsed(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue