Merge pull request #57 from davidmorgan/meta-dep

Export `unawaited` from `meta`.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a15b3d0..0712361 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,10 @@
+## 1.9.1
+
+`package:meta` is now the recommended place to get the `unawaited` method.
+
+`pedantic` now exports that implementation, so the two are compatible.
+`unawaited` will be removed from `pedantic` in version `2.0.0`.
+
 ## 1.9.0
 
 - Enforce 17 new lint rules:
diff --git a/lib/pedantic.dart b/lib/pedantic.dart
index f6489f5..49af63a 100644
--- a/lib/pedantic.dart
+++ b/lib/pedantic.dart
@@ -2,24 +2,4 @@
 // for details. All rights reserved. Use of this source code is governed by a
 // BSD-style license that can be found in the LICENSE file.
 
-import 'dart:async' show Future;
-
-/// Indicates to tools that [future] is intentionally not `await`-ed.
-///
-/// In an `async` context, it is normally expected that all [Future]s are
-/// awaited, and that is the basis of the lint `unawaited_futures`. However,
-/// there are times where one or more futures are intentionally not awaited.
-/// This function may be used to ignore a particular future. It silences the
-/// `unawaited_futures` lint.
-///
-/// ```
-/// Future<void> saveUserPreferences() async {
-///   await _writePreferences();
-///
-///   // While 'log' returns a Future, the consumer of 'saveUserPreferences'
-///   // is unlikely to want to wait for that future to complete; they only
-///   // care about the preferences being written).
-///   unawaited(log('Preferences saved!'));
-/// }
-/// ```
-void unawaited(Future<void> future) {}
+export 'package:meta/meta.dart' show unawaited;
diff --git a/pubspec.yaml b/pubspec.yaml
index e2562b1..b3d8e8f 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,8 +1,11 @@
 name: pedantic
-version: 1.9.0
+version: 1.9.1
 description: >-
   The Dart analyzer settings and best practices used internally at Google.
 homepage: https://github.com/dart-lang/pedantic
 
 environment:
   sdk: '>=2.1.1-dev.0.0 <3.0.0'
+
+dependencies:
+  meta: ^1.2.0