Yaml is advocated as being a stable API for the whole 2.x cycle now so you can use ``~2.0`` safely for it.