There are two broad categories of ethical theories concerning the rightness or wrongness of actions: consquentialist and non-consequentialist.
It might be possible to develop a libertarian theory that included the rights of non-human organisms to be ``free'', but (a) I'm not aware that it's been done4 and (b) I think it would be very difficult to do.5
Here there have been philosophers, notably ``deep ecologists'' and those promoting animal rights who have attempted to extend ethical theories that fall broadly within this realm to non-human organisms, or at least to animals.
More recently, Martha Nussbaum has developed a contractarian approach to ethics that is broader than the one Rawls proposed.8 While Nussbaum develops her ideas in ways that allow the contractual approach to be applied to non-humans, that extension involves something like ``rights'' for individual animals, not for species and certainly not for biodiversity.9