General-relativistic model of a spinning cosmic string.