diff --git a/Sources/Html/Attributes.swift b/Sources/Html/Attributes.swift
index a04d8f0..5251995 100644
--- a/Sources/Html/Attributes.swift
+++ b/Sources/Html/Attributes.swift
@@ -1,6 +1,6 @@
import Foundation
-public struct Attribute {
+public struct Attribute: Sendable {
public let key: String
public let value: String?
@@ -468,7 +468,7 @@ extension Attribute where Element == Tag.Form {
return .init("action", value)
}
- public struct Enctype: RawRepresentable {
+ public struct Enctype: RawRepresentable, Sendable {
public let rawValue: String
public init(rawValue: String) {
@@ -575,7 +575,7 @@ public enum InputType: String {
case week
}
-public struct Accept: RawRepresentable {
+public struct Accept: RawRepresentable, Sendable {
public let rawValue: String
public init(rawValue: String) {
diff --git a/Sources/Html/DebugRender.swift b/Sources/Html/DebugRender.swift
index 132fe80..f2c4936 100644
--- a/Sources/Html/DebugRender.swift
+++ b/Sources/Html/DebugRender.swift
@@ -1,4 +1,4 @@
-public struct Config {
+public struct Config: Sendable {
public let indentation: String
public let newline: String
diff --git a/Sources/Html/MediaType.swift b/Sources/Html/MediaType.swift
index 06eb8a8..24260ea 100644
--- a/Sources/Html/MediaType.swift
+++ b/Sources/Html/MediaType.swift
@@ -1,4 +1,4 @@
-public enum MediaType: CustomStringConvertible {
+public enum MediaType: CustomStringConvertible, Sendable {
case application(Application)
case audio(Audio)
case font(Font)
@@ -54,7 +54,7 @@ public enum MediaType: CustomStringConvertible {
}
}
-public struct Application: RawRepresentable {
+public struct Application: RawRepresentable, Sendable {
public let rawValue: String
public init(rawValue: String) {
@@ -67,7 +67,7 @@ public struct Application: RawRepresentable {
public static let xWwwFormUrlencoded = Application(rawValue: "x-www-form-url-encoded")
}
-public struct Audio: RawRepresentable {
+public struct Audio: RawRepresentable, Sendable {
public let rawValue: String
public init(rawValue: String) {
@@ -80,7 +80,7 @@ public struct Audio: RawRepresentable {
public static let wav = Audio(rawValue: "wav")
}
-public struct Font: RawRepresentable {
+public struct Font: RawRepresentable, Sendable {
public let rawValue: String
public init(rawValue: String) {
@@ -95,7 +95,7 @@ public struct Font: RawRepresentable {
public static let woff2 = Audio(rawValue: "woff2")
}
-public struct Image: RawRepresentable {
+public struct Image: RawRepresentable, Sendable {
public let rawValue: String
public init(rawValue: String) {
@@ -110,7 +110,7 @@ public struct Image: RawRepresentable {
public static let tiff = Image(rawValue: "tiff")
}
-public struct Multipart: RawRepresentable {
+public struct Multipart: RawRepresentable, Sendable {
public let rawValue: String
public init(rawValue: String) {
@@ -124,7 +124,7 @@ public struct Multipart: RawRepresentable {
public static let formData = Multipart(rawValue: "form-data")
}
-public struct Text: RawRepresentable {
+public struct Text: RawRepresentable, Sendable {
public let rawValue: String
public init(rawValue: String) {
@@ -137,7 +137,7 @@ public struct Text: RawRepresentable {
public static let plain = Text(rawValue: "plain")
}
-public struct Video: RawRepresentable {
+public struct Video: RawRepresentable, Sendable {
public let rawValue: String
public init(rawValue: String) {
@@ -149,7 +149,7 @@ public struct Video: RawRepresentable {
public static let webm = Video(rawValue: "webm")
}
-public struct Charset: RawRepresentable {
+public struct Charset: RawRepresentable, Sendable {
public let rawValue: String
public init(rawValue: String) {
diff --git a/Sources/Html/Node.swift b/Sources/Html/Node.swift
index 1253598..8506e33 100644
--- a/Sources/Html/Node.swift
+++ b/Sources/Html/Node.swift
@@ -1,5 +1,5 @@
/// The basic unit of an HTML tree.
-public enum Node {
+public enum Node: Sendable {
/// Represents a renderable comment.
case comment(String)