[package]
edition = "2024"
rust-version = "1.97"
name = "autumn-plugin-react"
version = "0.3.0"
build = false
exclude = [
"examples/",
".github/",
"docs/",
"frontend/",
"js-tests/",
"package.json",
"package-lock.json",
"CLAUDE.md",
"clippy.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Autumn plugin: React islands in Maud + htmx pages."
readme = "README.md"
keywords = [
"autumn",
"react",
"islands",
"htmx",
"plugin",
]
categories = ["web-programming"]
license = "Apache-2.0"
repository = "https://github.com/autumn-foundation/autumn-plugin-react"
[lib]
name = "autumn_plugin_react"
path = "src/lib.rs"
[[test]]
name = "island"
path = "tests/island.rs"
[[test]]
name = "loader_source"
path = "tests/loader_source.rs"
[[test]]
name = "plugin"
path = "tests/plugin.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "props_update"
path = "tests/props_update.rs"
[[test]]
name = "tags"
path = "tests/tags.rs"
[dependencies.autumn-web]
version = "0.10"
features = ["maud"]
default-features = false
[dependencies.maud]
version = "0.27"
[dependencies.serde]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dev-dependencies.autumn-web]
version = "0.10"
features = [
"maud",
"htmx",
]
default-features = false
[dev-dependencies.base64]
version = "0.22"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
features = ["raw_value"]
[dev-dependencies.sha2]
version = "0.10"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
[lints.clippy]
expect_used = "deny"
module_name_repetitions = "allow"
panic = "deny"
redundant_pub_crate = "allow"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"