spin-sdk 2.1.0

The Spin Rust SDK makes it easy to build Spin components in Rust.
Documentation
[package]
name = "spin-sdk"
version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
documentation = "https://docs.rs/spin-sdk"
readme = "README.md"
rust-version = { workspace = true }

description = """
The Spin Rust SDK makes it easy to build Spin components in Rust.
"""

[lib]
name = "spin_sdk"

[dependencies]
anyhow = "1"
async-trait = "0.1.74"
form_urlencoded = "1.0"
spin-macro = { version = "2.1.0", path = "macro" }
thiserror = "1.0.37"
wit-bindgen = "0.13.0"
routefinder = "0.5.3"
once_cell = "1.18.0"
futures = "0.3.28"
bytes = "1"
hyperium = { package = "http", version = "0.2" }
serde_json = { version = "1.0.96", optional = true }
serde = { version = "1.0.163", optional = true }

[features]
default = ["export-sdk-language", "json"]
experimental = []
export-sdk-language = []
json = ["dep:serde", "dep:serde_json"]
# This was a default feature in the 2.0.0 release but couldn't be disabled
# without breakage. Retained here for backward compat and future reuse.
# TODO: Consider removing in a future release if it remains unused.
http = []