emberian / hprof

A real-time hierarchical profiler
Boost Software License 1.0
80 stars 11 forks source link

Use std::time::Instant #10

Open tomaka opened 8 years ago

tomaka commented 8 years ago

Rust 1.8, which is released this week, adds a new struct named std::time::Instant: http://doc.rust-lang.org/nightly/std/time/struct.Instant.html

By using it, we would no longer depend on the time crate.

Of course the drawback is that this library would require using Rust 1.8.