If someone could please explain how to do these kinds of integrals, where the boundaries of integration are not $_{-}^{+}\infty$ and the function is not even, that is how to choose the complex function and the contour?
$$\int_{-\infty}^{0} \frac{x}{x^3-1} \, \mathrm{d}x$$