Use configurable imports to avoid having two versions of everything.

R=floitsch@google.com

Review URL: https://codereview.chromium.org//2353933002 .

Committed: https://github.com/dart-lang/resource/commit/f1c6229ffdb33a7f274fa819ebe5f0ca493ba3c5
diff --git a/lib/src/io_io.dart b/lib/src/io_io.dart
index b24244d..d4edfea 100644
--- a/lib/src/io_io.dart
+++ b/lib/src/io_io.dart
@@ -6,7 +6,6 @@
 import "dart:convert" show Encoding, LATIN1, UTF8;
 import "dart:io" show
     File, HttpClient, HttpClientResponse, HttpClientRequest, HttpHeaders;
-import "dart:typed_data" show Uint8List;
 
 import "package:typed_data/typed_buffers.dart" show Uint8Buffer;
 
diff --git a/lib/src/io_none.dart b/lib/src/io_none.dart
index 77e90cc..3c67eb6 100644
--- a/lib/src/io_none.dart
+++ b/lib/src/io_none.dart
@@ -3,6 +3,7 @@
 // BSD-style license that can be found in the LICENSE file.
 
 import "dart:async" show Future, Stream;
+import "dart:convert" show Encoding;
 
 /// Read the bytes of a URI as a stream of bytes.
 Stream<List<int>> readAsStream(Uri uri) async* {
diff --git a/pubspec.yaml b/pubspec.yaml
index 8822f27..6aefde7 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
 name: resource
-version: 2.0.0
+version: 2.0.1
 description: Reading resource data from (package and other) files.
 author: Dart Team <misc@dartlang.org>
 homepage: https://github.com/dart-lang/resource