Added format to rust