tagsoup 0.2.0

Fun html-like tag soup parser with zero dependencies.
Documentation

known! {
/// Known attribute identifiers.
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]
#[non_exhaustive]
pub AttributeId {
	Accept: "accept",
	AcceptCharset: "accept-charset",
	Accesskey: "accesskey",
	Action: "action",
	Align: "align",
	Allow: "allow",
	Alpha: "alpha",
	Alt: "alt",
	As: "as",
	Async: "async",
	Autocapitalize: "autocapitalize",
	Autocomplete: "autocomplete",
	Autoplay: "autoplay",
	Background: "background",
	Bgcolor: "bgcolor",
	Border: "border",
	Capture: "capture",
	Charset: "charset",
	Checked: "checked",
	Cite: "cite",
	Class: "class",
	Color: "color",
	Colorspace: "colorspace",
	Cols: "cols",
	Colspan: "colspan",
	Content: "content",
	Contenteditable: "contenteditable",
	Controls: "controls",
	Coords: "coords",
	Crossorigin: "crossorigin",
	Csp: "csp",
	Data: "data",
	DataStar: "data-*",
	Datetime: "datetime",
	Decoding: "decoding",
	Default: "default",
	Defer: "defer",
	Dir: "dir",
	Dirname: "dirname",
	Disabled: "disabled",
	Download: "download",
	Draggable: "draggable",
	Enctype: "enctype",
	Enterkeyhint: "enterkeyhint",
	Elementtiming: "elementtiming",
	Fetchpriority: "fetchpriority",
	For: "for",
	Form: "form",
	Formaction: "formaction",
	Formenctype: "formenctype",
	Formmethod: "formmethod",
	Formnovalidate: "formnovalidate",
	Formtarget: "formtarget",
	Headers: "headers",
	Height: "height",
	Hidden: "hidden",
	High: "high",
	Href: "href",
	Hreflang: "hreflang",
	HttpEquiv: "http-equiv",
	Id: "id",
	Integrity: "integrity",
	Inputmode: "inputmode",
	Ismap: "ismap",
	Itemprop: "itemprop",
	Kind: "kind",
	Label: "label",
	Lang: "lang",
	Language: "language",
	Loading: "loading",
	List: "list",
	Loop: "loop",
	Low: "low",
	Max: "max",
	Maxlength: "maxlength",
	Minlength: "minlength",
	Media: "media",
	Method: "method",
	Min: "min",
	Multiple: "multiple",
	Muted: "muted",
	Name: "name",
	Novalidate: "novalidate",
	Open: "open",
	Optimum: "optimum",
	Pattern: "pattern",
	Ping: "ping",
	Placeholder: "placeholder",
	Playsinline: "playsinline",
	Poster: "poster",
	Preload: "preload",
	Readonly: "readonly",
	Referrerpolicy: "referrerpolicy",
	Rel: "rel",
	Required: "required",
	Reversed: "reversed",
	Role: "role",
	Rows: "rows",
	Rowspan: "rowspan",
	Sandbox: "sandbox",
	Scope: "scope",
	Selected: "selected",
	Shape: "shape",
	Size: "size",
	Sizes: "sizes",
	Slot: "slot",
	Span: "span",
	Spellcheck: "spellcheck",
	Src: "src",
	Srcdoc: "srcdoc",
	Srclang: "srclang",
	Srcset: "srcset",
	Start: "start",
	Step: "step",
	Style: "style",
	Summary: "summary",
	Tabindex: "tabindex",
	Target: "target",
	Title: "title",
	Translate: "translate",
	Type: "type",
	Usemap: "usemap",
	Value: "value",
	Width: "width",
	Wrap: "wrap",

	// Svg attributes
	// https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute
	Accumulate: "accumulate",
	Additive: "additive",
	AlignmentBaseline: "alignment-baseline",
	Amplitude: "amplitude",
	AttributeName: "attributeName",
	AttributeType: "attributeType",
	Autofocus: "autofocus",
	Azimuth: "azimuth",
	BaseFrequency: "baseFrequency",
	BaselineShift: "baselineShift",
	BaseProfile: "baseProfile",
	Begin: "begin",
	Bias: "bias",
	By: "by",
	CalcMode: "calcMode",
	Clip: "clip",
	ClipPathUnits: "clipPathUnits",
	ClipPath: "clipPath",
	ClipRule: "clipRule",
	ColorInterpolation: "colorInterpolation",
	ColorInterpolationFilters: "colorInterpolationFilters",
	Cursor: "cursor",
	Cx: "cx",
	Cy: "cy",
	D: "d",
	DiffuseConstant: "diffuseConstant",
	Direction: "direction",
	Display: "display",
	Divisor: "divisor",
	DominantBaseline: "dominantBaseline",
	Dur: "dur",
	Dx: "dx",
	Dy: "dy",
	EdgeMode: "edgeMode",
	Elevation: "elevation",
	End: "end",
	Exponent: "exponent",
	Fill: "fill",
	FillOpacity: "fillOpacity",
	FillRule: "fillRule",
	Filter: "filter",
	FilterUnits: "filterUnits",
	FloodColor: "floodColor",
	FloodOpacity: "floodOpacity",
	FontFamily: "fontFamily",
	FontSize: "fontSize",
	FontSizeAdjust: "fontSizeAdjust",
	FontStretch: "fontStretch",
	FontStyle: "fontStyle",
	FontVariant: "fontVariant",
	FontWeight: "fontWeight",
	FontWidth: "fontWidth",
	Fr: "fr",
	From: "from",
	Fx: "fx",
	Fy: "fy",
	GlyphOrientationHorizontal: "glyphOrientationHorizontal",
	GlyphOrientationVertical: "glyphOrientationVertical",
	GradientTransform: "gradientTransform",
	GradientUnits: "gradientUnits",
	ImageRendering: "imageRendering",
	In: "in",
	In2: "in2",
	Intercept: "intercept",
	K1: "k1",
	K2: "k2",
	K3: "k3",
	K4: "k4",
	KernelMatrix: "kernelMatrix",
	KernelUnitLength: "kernelUnitLength",
	KeyPoints: "keyPoints",
	KeySplines: "keySplines",
	KeyTimes: "keyTimes",
	LengthAdjust: "lengthAdjust",
	LetterSpacing: "letterSpacing",
	LightingColor: "lightingColor",
	LimitingConeAngle: "limitingConeAngle",
	MarkerEnd: "markerEnd",
	MarkerMid: "markerMid",
	MarkerStart: "markerStart",
	MarkerHeight: "markerHeight",
	MarkerUnits: "markerUnits",
	MarkerWidth: "markerWidth",
	Mask: "mask",
	MaskContentUnits: "maskContentUnits",
	MaskUnits: "maskUnits",
	Mode: "mode",
	NumOctaves: "numOctaves",
	Opacity: "opacity",
	Operator: "operator",
	Order: "order",
	Orient: "orient",
	Origin: "origin",
	Overflow: "overflow",
	PaintOrder: "paintOrder",
	Path: "path",
	PathLength: "pathLength",
	PatternContentUnits: "patternContentUnits",
	PatternTransform: "patternTransform",
	PatternUnits: "patternUnits",
	PointerEvents: "pointerEvents",
	Points: "points",
	PointsAtX: "pointsAtX",
	PointsAtY: "pointsAtY",
	PointsAtZ: "pointsAtZ",
	PreserveAlpha: "preserveAlpha",
	PreserveAspectRatio: "preserveAspectRatio",
	PrimitiveUnits: "primitiveUnits",
	R: "r",
	Radius: "radius",
	RefX: "refX",
	RefY: "refY",
	RepeatCount: "repeatCount",
	RepeatDur: "repeatDur",
	RequiredExtensions: "requiredExtensions",
	RequiredFeatures: "requiredFeatures",
	Restart: "restart",
	Result: "result",
	Rotate: "rotate",
	Rx: "rx",
	Ry: "ry",
	Scale: "scale",
	Seed: "seed",
	ShapeRendering: "shapeRendering",
	Side: "side",
	Slope: "slope",
	Spacing: "spacing",
	SpecularConstant: "specularConstant",
	SpecularExponent: "specularExponent",
	SpreadMethod: "spreadMethod",
	StartOffset: "startOffset",
	StdDeviation: "stdDeviation",
	StitchTiles: "stitchTiles",
	StopColor: "stopColor",
	StopOpacity: "stopOpacity",
	Stroke: "stroke",
	StrokeDasharray: "strokeDasharray",
	StrokeDashoffset: "strokeDashoffset",
	StrokeLinecap: "strokeLinecap",
	StrokeLinejoin: "strokeLinejoin",
	StrokeMiterlimit: "strokeMiterlimit",
	StrokeOpacity: "strokeOpacity",
	StrokeWidth: "strokeWidth",
	SurfaceScale: "surfaceScale",
	SystemLanguage: "systemLanguage",
	TableValues: "tableValues",
	TargetX: "targetX",
	TargetY: "targetY",
	TextAnchor: "textAnchor",
	TextDecoration: "textDecoration",
	TextOverflow: "textOverflow",
	TextRendering: "textRendering",
	TextLength: "textLength",
	To: "to",
	Transform: "transform",
	TransformOrigin: "transformOrigin",
	UnicodeBidi: "unicodeBidi",
	Values: "values",
	VectorEffect: "vectorEffect",
	Version: "version",
	ViewBox: "viewBox",
	Visibility: "visibility",
	WhiteSpace: "whiteSpace",
	WordSpacing: "wordSpacing",
	WritingMode: "writingMode",
	X: "x",
	X1: "x1",
	X2: "x2",
	XChannelSelector: "xChannelSelector",
	XlinkArcrole: "xlink:arcrole",
	XlinkHref: "xlink:href",
	XlinkShow: "xlink:show",
	XlinkTitle: "xlink:title",
	XlinkType: "xlink:type",
	XmlLang: "xml:lang",
	XmlSpace: "xml:space",
	Y: "y",
	Y1: "y1",
	Y2: "y2",
	YChannelSelector: "yChannelSelector",
	Z: "z",
	ZoomAndPan: "zoomAndPan",
	MaskType: "maskType",

	// MathML attributes
	// https://developer.mozilla.org/en-US/docs/Web/MathML/Reference/Attribute
	Accent: "accent",
	Accentunder: "accentunder",
	Actiontype: "actiontype",
	Close: "close",
	Columnalign: "columnalign",
	Columnlines: "columnlines",
	Columnspacing: "columnspacing",
	Columnspan: "columnspan",
	Denomalign: "denomalign",
	Depth: "depth",
	Displaystyle: "displaystyle",
	Fence: "fence",
	Fontfamily: "fontfamily",
	Fontsize: "fontsize",
	Fontstyle: "fontstyle",
	Fontweight: "fontweight",
	Frame: "frame",
	Framespacing: "framespacing",
	Linethickness: "linethickness",
	Lspace: "lspace",
	Lquote: "lquote",
	Mathbackground: "mathbackground",
	Mathcolor: "mathcolor",
	Mathsize: "mathsize",
	Mathvariant: "mathvariant",
	Maxsize: "maxsize",
	Minsize: "minsize",
	Movablelimits: "movablelimits",
	Notation: "notation",
	Numalign: "numalign",
	Rowalign: "rowalign",
	Rowlines: "rowlines",
	Rowspacing: "rowspacing",
	Rspace: "rspace",
	Rquote: "rquote",
	Scriptlevel: "scriptlevel",
	Scriptminsize: "scriptminsize",
	Scriptsizemultiplier: "scriptsizemultiplier",
	Selection: "selection",
	Separator: "separator",
	Separators: "separators",
	Stretchy: "stretchy",
	Subscriptshift: "subscriptshift",
	Superscriptshift: "superscriptshift",
	Symmetric: "symmetric",
	Voffset: "voffset",
	Xmlns: "xmlns",
}}