Skip to content

Conversation

@DeathWish5
Copy link

Summary

  • Add crate-level and module-level documentation with usage examples for all four crates
  • Document public structs, enums, functions, and their fields/methods
  • Update README files with improved structure and examples

Changes

ostool

  • Fix Cargo.toml categories to use valid crates.io categories
  • Add documentation for build, ctx, run, sterm, menuconfig, and utils modules

jkconfig

  • Add crate-level documentation with usage examples
  • Document data module including app_data, item, menu, oneof, schema, and types

fitimage

  • Improve README.md with better structure and examples
  • Document compression module (gzip, traits) and FIT image modules (config, fdt_header)

uboot-shell

  • Update README.md with improved examples
  • Document UbootShell struct, YMODEM protocol implementation, and CRC utilities

- Fix Cargo.toml categories to use valid crates.io categories
- Add module-level documentation for all public modules
- Add documentation for public structs, enums, and functions
- Add usage examples in doc comments where appropriate

Modules documented:
- build/mod.rs, cargo_builder.rs, config.rs
- ctx.rs
- run/mod.rs, qemu.rs, tftp.rs
- sterm/mod.rs
- menuconfig.rs
- utils.rs
- Add crate-level documentation with usage examples
- Add module-level documentation for data module
- Document public structs, enums, and functions
- Add field-level documentation for configuration types

Modules documented:
- lib.rs
- run.rs
- data/mod.rs, app_data.rs, item.rs, menu.rs, oneof.rs, schema.rs, types.rs
- Add crate-level documentation with usage examples
- Improve README.md with better structure and examples
- Document public structs, enums, and functions
- Add documentation for compression and FIT image modules

Modules documented:
- lib.rs
- compression/mod.rs, gzip.rs, traits.rs
- fit/mod.rs, config.rs, fdt_header.rs
- error.rs
- Add crate-level documentation with usage examples
- Update README.md with improved examples
- Document public structs and methods for UbootShell
- Add documentation for YMODEM protocol implementation
- Document CRC utilities

Modules documented:
- lib.rs
- ymodem.rs
- crc.rs
Add comprehensive .gitignore for Rust projects including:
- Cargo build artifacts (target/, debug/)
- IDE directories (.idea/, .vscode/)
- OS generated files (.DS_Store, Thumbs.db)
- Coverage and profiling files
- Environment files
Restore the original .gitignore that includes project-specific entries
like .qemu.toml, .uboot.toml, and schema files that were accidentally
removed in 4ab467c.

Restored entries:
- /.vscode
- /.project*
- .spec-workflow
- .claude
- .*-schema.json
- .qemu.toml
- .uboot.toml
@ZR233
Copy link
Member

ZR233 commented Jan 24, 2026

please fix ci err

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants