# dioxus-textfx-core
Serializable text animation configuration for Dioxus TextFX
This crate is part of the Dioxus SSR package workspace. The APIs are pre-1.0 and may change between releases while the package family stabilizes.
## Release Status
- Current crate version: `0.1.0-alpha.4`.
- Release wave: June 8, 2026 workspace integration update.
- Publish status: Prepared as a crates.io update for this package.
- Scope: Serializable text animation configuration for Dioxus TextFX.
- The README install examples and local workspace dependency requirements are aligned with this publish wave.
## Install
```toml
[dependencies]
dioxus-textfx-core = "0.1.0-alpha.4"
```
## What It Provides
- Serializable configuration and data models for the companion runtime crates.
- Stable contracts shared between browser, SSR, CLI, and native adapters.
## Feature Flags
This crate does not define additional feature flags.
## Integration Recipes
Route-level integrations can serialize batches once and then feed the same
metadata to SSR, Strata, WorkerTown, asset-budget, and optimizer tooling:
```rust
use dioxus_textfx_core::prelude::*;
let title = textfx("title", "Launch ready").scramble();
let policy = textfx_route_policy()
.route("/launch")
.diagnostics(TextFxDiagnosticVerbosity::Summary);
let manifest = textfx_manifest_fragment([&title], &policy);
let batch = textfx_serialize_batch([&title], policy.clone(), TextFxBatchOptions::default())?;
let budget = textfx_asset_budget_bridge(&textfx_output_report([&title], &policy));
let offload = textfx_workertown_offload_plan([&title], &policy);
assert_eq!(manifest.package, "dioxus-textfx");
assert!(batch.total_bytes > 0);
# Ok::<(), serde_json::Error>(())
```
For deterministic build output, set `TextFxBatchOptions::deterministic_parallel`
to `true`. `TextFxRuntimeIds` guards duplicate runtime/style ids,
`textfx_optimizer_artifacts` returns content-hashable optimizer artifacts, and
`textfx_strata_migration_plan` lists the standalone-to-Strata route metadata
steps.
## License
Licensed under either of:
- MIT license ([LICENSE-MIT](https://github.com/Collin-Budrick/dioxus_template/blob/main/LICENSE-MIT))
- Apache License, Version 2.0 ([LICENSE-APACHE](https://github.com/Collin-Budrick/dioxus_template/blob/main/LICENSE-APACHE))
Repository: <https://github.com/Collin-Budrick/dioxus_template>