If you have a SharePoint site which is running on full anonymous access and you want a document library to run on anonymous access too, that will not be possible because by design SharePoint will only allow the anonymous users to only view the contents of a document library and not add anything to it
If you want the anonymous users to be able to add the documents as well to the library you will have to perform an additional task