dioxus-textfx-core 0.1.0-alpha.4

Serializable text animation configuration for Dioxus TextFX.
Documentation

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

[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:

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);
assert!(budget.categories.iter().any(|category| category.name == "config"));
assert!(offload.serializable);
# 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:

Repository: https://github.com/Collin-Budrick/dioxus_template