Clean up library meta with unnamed library declarations
diff --git a/analysis_options.yaml b/analysis_options.yaml
index 1dd563f..350fb8f 100644
--- a/analysis_options.yaml
+++ b/analysis_options.yaml
@@ -9,7 +9,9 @@
   rules:
     close_sinks: false # This rule has just too many false-positives...
     comment_references: true
+    dangling_library_doc_comments: true
     package_api_docs: true
+    library_annotations: true
     literal_only_boolean_expressions: false # Nothing wrong with a little while(true)
     parameter_assignments: false
     unnecessary_await_in_return: false
diff --git a/lib/src/charcodes.dart b/lib/src/charcodes.dart
index de0762f..b25bb36 100644
--- a/lib/src/charcodes.dart
+++ b/lib/src/charcodes.dart
@@ -1,4 +1,6 @@
 @internal
+library;
+
 import 'package:meta/meta.dart';
 
 /// "Line feed" control character.
diff --git a/lib/src/constants.dart b/lib/src/constants.dart
index d74a2b0..4657d45 100644
--- a/lib/src/constants.dart
+++ b/lib/src/constants.dart
@@ -1,4 +1,6 @@
 @internal
+library;
+
 import 'dart:typed_data';
 
 import 'package:meta/meta.dart';
diff --git a/lib/src/sparse.dart b/lib/src/sparse.dart
index bb938d0..51ebd08 100644
--- a/lib/src/sparse.dart
+++ b/lib/src/sparse.dart
@@ -1,4 +1,6 @@
 @internal
+library;
+
 import 'package:async/async.dart';
 import 'package:meta/meta.dart';
 
diff --git a/lib/src/utils.dart b/lib/src/utils.dart
index 1ea5506..1c42cc6 100644
--- a/lib/src/utils.dart
+++ b/lib/src/utils.dart
@@ -1,4 +1,6 @@
 @internal
+library;
+
 import 'dart:async';
 import 'dart:convert';
 import 'dart:math';
diff --git a/lib/tar.dart b/lib/tar.dart
index 9948c4f..a4bbc17 100644
--- a/lib/tar.dart
+++ b/lib/tar.dart
@@ -1,8 +1,8 @@
 /// Streaming tar implementation for Dart.
 ///
-/// To read tar files, see [TarReader]. To write tar files, use [tarWritingSink]
-///  or [tarWriter].
-library tar;
+/// To read tar files, see [TarReader].
+/// To write tar files, use [tarWritingSink] or [tarWriter].
+library;
 
 // For dartdoc.
 import 'src/reader.dart';
diff --git a/test/pub_test.dart b/test/pub_test.dart
index ecbcbc0..07fd120 100644
--- a/test/pub_test.dart
+++ b/test/pub_test.dart
@@ -1,9 +1,11 @@
-// Simple tests to ensure that we can parse weird tars found on pub.
-//
-// The test cases were found by running an earlier version of this package
-// across all packages and versions found on pub.dev. This package needs to
-// be able to read every package version ever uploaded to pub.
+/// Simple tests to ensure that we can parse weird tars found on pub.
+///
+/// The test cases were found by running an earlier version of this package
+/// across all packages and versions found on pub.dev. This package needs to
+/// be able to read every package version ever uploaded to pub.
 @TestOn('vm')
+library;
+
 import 'dart:io';
 
 import 'package:tar/tar.dart';
diff --git a/test/sparse_test.dart b/test/sparse_test.dart
index 407f9d7..22b4c06 100644
--- a/test/sparse_test.dart
+++ b/test/sparse_test.dart
@@ -1,4 +1,6 @@
 @TestOn('linux && vm') // We currently use gnu tar to create test inputs
+library;
+
 import 'dart:io';
 
 import 'dart:math';
diff --git a/test/system_tar.dart b/test/system_tar.dart
index c983896..1b6f2ef 100644
--- a/test/system_tar.dart
+++ b/test/system_tar.dart
@@ -1,4 +1,5 @@
-// Wrapper around the `tar` command, for testing.
+/// Wrapper around the `tar` command, for testing.
+library;
 
 import 'dart:async';
 import 'dart:convert';
diff --git a/test/utils_test.dart b/test/utils_test.dart
index 59b52ca..e1bd824 100644
--- a/test/utils_test.dart
+++ b/test/utils_test.dart
@@ -1,4 +1,6 @@
 @TestOn('vm')
+library;
+
 import 'dart:async';
 import 'dart:convert';
 import 'dart:typed_data';
diff --git a/test/windows_integration_test.dart b/test/windows_integration_test.dart
index 9a02bad..68f5f3d 100644
--- a/test/windows_integration_test.dart
+++ b/test/windows_integration_test.dart
@@ -1,4 +1,6 @@
 @TestOn('windows && vm')
+library;
+
 import 'dart:io';
 
 import 'package:tar/tar.dart';
diff --git a/test/writer_test.dart b/test/writer_test.dart
index d104dca..29600ba 100644
--- a/test/writer_test.dart
+++ b/test/writer_test.dart
@@ -1,4 +1,6 @@
 @TestOn('vm')
+library;
+
 import 'dart:async';
 import 'dart:convert';
 import 'dart:typed_data';