usvg 0.2.0

An SVG simplification library.
Documentation
# clipPath requires a new canvas so we have to indicate this by adding a new group.
input = '''
<svg viewBox="0 0 1 1">
    <clipPath id="clip1">
        <rect width="10" height="10"/>
    </clipPath>
    <rect clip-path="url(#clip1)" width="10" height="10"/>
</svg>
'''
output = '''
<svg
    width="1"
    height="1"
    viewBox="0 0 1 1"
    preserveAspectRatio="xMidYMid"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:usvg="https://github.com/RazrFalcon/usvg"
    usvg:version="0.2.0">
    <defs>
        <clipPath
            id="clip1"
            clipPathUnits="userSpaceOnUse">
            <path
                fill="#000000"
                fill-opacity="1"
                stroke="none"
                clip-rule="nonzero"
                d="M 0 0 L 10 0 L 10 10 L 0 10 Z"/>
        </clipPath>
    </defs>
    <g
        clip-path="url(#clip1)">
        <path
            fill="#000000"
            fill-opacity="1"
            fill-rule="nonzero"
            stroke="none"
            d="M 0 0 L 10 0 L 10 10 L 0 10 Z"/>
    </g>
</svg>
'''