Lord Windy
Lord Windy

Reputation: 792

Rust Alpha and Old_IO

I've been looking into learning Rust because it seems like a cool upcoming language but I have some concerns with Alpha apparently being feature complete and the std library network code all being in 'old_io'.

I've been wanting to do a small MUD from a book for awhile now and I thought the two would go hand in hand.

My question is this, has the net code moved and I can't find it, are they not replacing the old_io to something else or is a new IO just coming in and I am an idiot for not seeing it?

I'll go ahead with it regardless, I just can't find the answer.

Upvotes: 1

Views: 177

Answers (1)

oli_obk
oli_obk

Reputation: 31163

The new io module is being implemented right now in https://github.com/rust-lang/rust/pull/21835

You can use old_io until then, but expect it to be removed soon. Once removed, moving to the new io will be a breaking change.

Upvotes: 5

Related Questions