Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .claude/skills/rustmotion
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ jobs:
# pouvait donc jamais reussir, et la release 0.6.0 s'est arretee la — apres
# avoir publie rustmotion-core, definitivement.
#
# studio et cli portent `publish = false` : cargo les saute tout seul.
# rustmotion-studio porte `publish = false` : cargo la saute tout seul.
- name: Publish all crates
run: cargo publish --workspace --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
230 changes: 0 additions & 230 deletions CLAUDE.md

This file was deleted.

1 change: 1 addition & 0 deletions CLAUDE.md
24 changes: 5 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ members = [
"crates/rustmotion-core",
"crates/rustmotion-components",
"crates/rustmotion",
"crates/rustmotion-cli",
"crates/rustmotion-studio",
"crates/rustmotion-html",
]

# Les six crates avancent ensemble. La version se change ici, et nulle part
# Les cinq crates avancent ensemble. La version se change ici, et nulle part
# ailleurs : elle était auparavant répétée dix fois — une par manifeste, plus une
# par dépendance interne — et une seule oubliée fait échouer la publication après
# que les précédentes soient parties, ce qui ne se rattrape pas.
Expand Down
27 changes: 0 additions & 27 deletions crates/rustmotion-cli/Cargo.toml

This file was deleted.

4 changes: 2 additions & 2 deletions crates/rustmotion-components/src/intrinsic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ pub struct TextIntrinsic {
impl TextIntrinsic {
/// M1: `white-space: nowrap|pre` disables wrapping — the geometry
/// validator's `unwrappable_text_overflow`/`ContentOverflowsBox` checks
/// (crates/rustmotion-cli/src/commands/geometry.rs) already branch on
/// (crates/rustmotion/src/cli/commands/geometry.rs) already branch on
/// exactly this pair of variants and re-measure via this same
/// `TextIntrinsic`, so the wrap decision here must match theirs exactly
/// or the validator's assumption about what the renderer produces is
Expand Down Expand Up @@ -164,7 +164,7 @@ impl TextIntrinsic {
// No *real* `LengthContext` (real viewport, real parent width) is
// reachable here without changing this constructor's signature —
// its only callers are `box_builder.rs` and
// `rustmotion-cli/src/commands/geometry.rs`, both outside this
// `rustmotion/src/cli/commands/geometry.rs`, both outside this
// workstream's scope (box_builder.rs is a sibling's live file this
// wave; the geometry validator re-measures via this exact type and
// must keep agreeing with it byte-for-byte, so changing what it
Expand Down
2 changes: 1 addition & 1 deletion crates/rustmotion-components/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ pub struct ChildComponent {
/// `style` property — `CssStyle` is `deny_unknown_fields` and belongs to
/// no one this wave. Defaults to `false`: no existing scenario changes
/// behaviour. Exempts only `viewport_overflow` and `animated_text_overflow`
/// (see `crates/rustmotion-cli/src/commands/geometry.rs`); it does NOT
/// (see `crates/rustmotion/src/cli/commands/geometry.rs`); it does NOT
/// exempt `content_overflows_box` — content larger than its own box stays
/// a reported defect regardless of `bleed`. Applies to this component
/// only: a bled container does not suppress checks on its children, since
Expand Down
8 changes: 4 additions & 4 deletions crates/rustmotion-core/src/css/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ use super::units::{Length, LengthContext, LengthPercentage, ParsedLength};
// shape either way — a css-local mirror would only duplicate the struct.
use crate::schema::{deserialize_animation_effects, AnimationEffect, GradientBorder, InnerShadow};

// ─── Legibility floor (relocated from `rustmotion-cli/src/commands/
// ─── Legibility floor (relocated from `rustmotion/src/cli/commands/
// geometry.rs`'s `check_legibility`, issue #110/#102 — moved here, not
// duplicated, so `text-autofit` below can shrink down to the exact same
// calibrated threshold instead of inventing a second one; `rustmotion-cli`
// calibrated threshold instead of inventing a second one; `rustmotion`
// depends on `rustmotion-core`, never the other way around, so the shared
// value has to live on this side of that boundary) ─────────────────────────
//
Expand Down Expand Up @@ -124,7 +124,7 @@ pub struct CssStyle {
/// instead of overflowing it. This is what lets an author declare "this
/// text must fit here" and closes `ContentOverflowsBox` as a possible
/// validator failure for that node — see `apply_fixes`
/// (`rustmotion-cli/src/commands/validate.rs`)'s comment on why it
/// (`rustmotion/src/cli/commands/validate.rs`)'s comment on why it
/// deliberately refuses to auto-fix that violation today: growing the
/// box, shrinking the font, and shortening the copy are all legitimate
/// fixes, and picking one was never this tool's call to make silently.
Expand Down Expand Up @@ -163,7 +163,7 @@ pub struct CssStyle {
///
/// **The floor.** Never shrinks below [`TEXT_AUTOFIT_MIN_FONT_PX`] — the
/// same calibrated legibility ratio `check_legibility`
/// (`rustmotion-cli/src/commands/geometry.rs`) already enforces, not a
/// (`rustmotion/src/cli/commands/geometry.rs`) already enforces, not a
/// new threshold. If the content still doesn't fit at the floor, the
/// floor size is used anyway (illegible-but-smallest beats an even
/// larger overflow) and the geometry validator's `ContentOverflowsBox`
Expand Down
4 changes: 2 additions & 2 deletions crates/rustmotion-core/src/engine/animator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ fn spring_settle_time(damping: f64, stiffness: f64, mass: f64, threshold: f64, m
/// set, else `DEFAULT_SPRING_REST_THRESHOLD`, floored so `spring_settle_time`
/// always has a well-defined (nonzero) target — the same belt-and-suspenders
/// pattern `spring_value` already applies to `damping`/`stiffness`/`mass`.
/// `rustmotion-cli`'s `check_spring_config` rejects non-positive or absurd
/// the CLI's `check_spring_config` rejects non-positive or absurd
/// (`>= 1.0`) values at the author-facing layer; this floor is the
/// solver-side backstop.
fn spring_rest_threshold(config: &SpringConfig) -> f64 {
Expand Down Expand Up @@ -1369,7 +1369,7 @@ fn motion_path_sample(cfg: &MotionPathConfig, time: f64) -> MotionPathSample {
/// apply_animated_props` already bridges into `css.transform`'s
/// `translate`/`rotate` functions. That bridge — not a new one — is what
/// makes a `motion_path` excursion past the viewport visible to
/// `--strict-anim` (`rustmotion-cli::commands::geometry::
/// `--strict-anim` (`rustmotion::cli::commands::geometry::
/// apply_static_node_transform`, which folds `css.transform` to detect
/// overflow): this function must never write position/orientation anywhere
/// else, or that detection silently stops seeing it.
Expand Down
2 changes: 1 addition & 1 deletion crates/rustmotion-core/src/engine/renderer/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ pub fn extract_video_frame(src: &str, time: f64, width: u32, height: u32) -> Res
// ─── Media metadata probing ────────────────────────────────────────────────
//
// "How long is this audio file? What are the dimensions of this image?" —
// `rustmotion info` (`crates/rustmotion-cli/src/commands/info.rs`) answers
// `rustmotion info` (`crates/rustmotion/src/cli/commands/info.rs`) answers
// these by calling the functions below, one per asset kind. Two rules tie
// them together:
//
Expand Down
2 changes: 1 addition & 1 deletion crates/rustmotion-core/tests/spring_duration.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Issue #167 lot E: `SpringConfig::duration`/`rest_threshold` and
//! `engine::animator::spring_rest_time` are meant to be used from outside
//! `rustmotion-core` (by `rustmotion-cli`'s `info` command, in particular).
//! `rustmotion-core` (by `rustmotion`'s `info` command, in particular).
//! This is a black-box check that the public surface actually works end to
//! end — the white-box coverage (settle-time correctness against a
//! brute-force reference, over/under-damped edge cases, shape preservation)
Expand Down
Loading
Loading