General first-passage percolation