NTest Timeout

Part of the NTest library. Do not use this lib on it's own since it depends on the NTest library. Add the timeout attribute to the rust test framework using procedural macros.

Examples

This example will not panic:

```rust

[test]

[timeout(100)]

fn notimeout() { let fiftymillis = time::Duration::frommillis(50); thread::sleep(fiftymillis); } ```

This example will panic. The function panics after 10 milliseconds:

```rust

[test]

[timeout(10)]

[should_panic]

fn timeout() {     let fiftymillis = time::Duration::frommillis(50);    
thread::sleep(fifty_millis);}rust } ```

For more examples and information read the documentation.