Skip to content

Phase 2d: Port project init and sketch detection to Rust #21

Closed

Description

@zackees

Part of #14
Depends on Phase 2a (#18)

Goal

Replace project_init.py and sketch detection logic with Rust.

Tasks

  • Port GitHub archive download and example extraction
  • Port sketch directory detection (find .ino files, filter patterns)
  • Port fuzzy sketch name matching (strsim crate)
  • Expose via PyO3: fastled._native.init(example), fastled._native.find_sketches(path)
  • Add Rust unit tests
  • Remove Python modules and update imports

Acceptance criteria

  • fastled --init works from Rust
  • Sketch detection matches current Python behavior
  • Fuzzy matching works correctly

Activity

  1. added a commit that references this issue on Apr 12, 2026
    db36a22
  2. zackees commented on Apr 12, 2026

    @zackees
    MemberAuthor

    Completed in PR #33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions