We construct a toy model for compact stars based on the Finslerian structure
of spacetime. By assuming a particular mass function, we find an exact solution
of the Finsler-Einstein field equations with an anisotropic matter
distribution. The solutions are revealed to be physically interesting and
pertinent for the explanation of compact stars.Comment: Published in Eur.Phys.J.