Commits

Toby Inkster committed ae373a8

include explicit dependency in documentation and metadata

  • Participants
  • Parent commits be2852a

Comments (0)

Files changed (2)

File lib/Type/Tiny/Manual.pod

 =head1 SYNOPSIS
 
 L<Type::Tiny> is a small class for writing type constraints, inspired by
-L<Moose>'s type constraint API. It has no non-core dependencies, and can be
-used with L<Moose>, L<Mouse> and L<Moo> (or none of the above).
+L<Moose>'s type constraint API. It has only one non-core dependency (and even
+that is simply a module that was previously distributed as part of Type::Tiny
+but has since been spun off), and can be used with L<Moose>, L<Mouse> and
+L<Moo> (or none of the above).
 
 Type::Tiny is bundled with L<Type::Library> a framework for organizing type
 constraints into collections.
 features (e.g. non-ASCII type constraint names) may work better in newer
 versions of Perl.
 
-At run-time, Type::Tiny requires the following modules: L<B>,
+Type::Tiny requires L<Exporter::Tiny>, a module that was previously
+bundled in this distribution, but has since been spun off as a separate
+distribution. Don't worry - it's quick and easy to install.
+
+At run-time, Type::Tiny also requires the following modules: L<B>,
 L<B::Deparse>, L<Data::Dumper>, L<Scalar::Util>, L<Text::Balanced>,
 L<base>, L<mro>, L<overload>, L<strict> and L<warnings>. All of these
 come bundled with Perl itself. Prior to Perl 5.8, L<Scalar::Util> and
 =item *
 
 Type::Tiny is "tiny" (Specio will eventually have fewer dependencies
-than it currently does, but is unlikely to ever have zero);
+than it currently does, but is unlikely to ever have as few as Type::Tiny);
 
 =item *
 

File meta/makefile.pret

 @prefix deps: <http://ontologi.es/doap-deps#> .
 
 `Type-Tiny`
+	deps:runtime-requirement [
+		deps:on "Exporter::Tiny 0.026"^^deps:CpanId;
+		comment "This module was spun off from the Type-Tiny distribution."@en;
+	];
 	deps:test-requirement [
 		deps:on "Test::More 0.96"^^deps:CpanId;
 		comment "I don't have the patience to maintain a test suite that runs on ancient versions of Test::More."@en;