Skip to content

Conversation

@duyet
Copy link
Member

@duyet duyet commented Oct 21, 2025

This commit adds detailed Vietnamese content to 6 previously empty pages:

Trait Documentation:

  • src/basic/trait/display.md (330 lines): Complete Display trait guide
    • Display vs Debug comparison
    • Implementation examples for structs and enums
    • Format options and customization
    • Error handling integration
    • Best practices

Crates Documentation:

  • src/crates/actix-web.md (448 lines): Actix-web framework guide

    • Basic routing and handlers
    • JSON request/response
    • State management
    • Middleware
    • Database integration with sqlx
    • WebSocket support
    • Testing
    • Performance tips
  • src/crates/clap.md (467 lines): CLI argument parsing guide

    • Derive API examples
    • Arguments, flags, and options
    • Subcommands
    • Value validation
    • Enum arguments
    • Environment variables
    • Best practices
  • src/crates/config.md (432 lines): Configuration management guide

    • Multi-format support (JSON, TOML, YAML)
    • Layered configs and environments
    • Environment variable overrides
    • Validation
    • Web application integration
    • Best practices

Rust Idioms:

  • src/idioms/functional-programming.md (438 lines): FP in Rust

    • Immutability and pure functions
    • Higher-order functions
    • Iterators and lazy evaluation
    • Combinators (map, filter, fold)
    • Pattern matching
    • Functional error handling
    • Best practices
  • src/idioms/borrowed-types.md (505 lines): Borrowed types idiom

    • &str vs String
    • &[T] vs Vec
    • &Path vs PathBuf
    • Performance benefits
    • Deref coercion
    • Generic bounds (AsRef, Borrow)
    • Best practices

Other Changes:

  • Removed "Who is using?" page from SUMMARY.md
  • Updated all SUMMARY.md links to point to new content

Total: 2,620 lines of new Vietnamese content added

Generated with Claude Code

@github-actions
Copy link

Build book successfully!

Update tokio dependency from 1.38.0 to 1.48.0 in tokio-example to match
the latest version merged in PR #76.

Co-Authored-By: Claude <[email protected]>
Add detailed Vietnamese content for pattern matching:
- literals.md (160 lines): Matching literal values with examples
- multiple.md (211 lines): OR patterns and multiple value matching
- named-vars.md (261 lines): Named variables and @ binding

Includes practical examples, comparisons with other languages,
and best practices for each pattern type.

Co-Authored-By: Claude <[email protected]>
Add comprehensive Vietnamese guides for data engineering:
- first-data-pipeline.md (366 lines): Building high-performance pipelines with Polars
- data-driven.md (541 lines): Scalable data-driven applications architecture
- rust-as-alternative-python.md (514 lines): Rust vs Python comparison with benchmarks

Covers DataFusion vs Spark, Polars vs Pandas, Meilisearch, ETL pipelines,
and migration strategies from Python to Rust.

Co-Authored-By: Claude <[email protected]>
@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Oct 21, 2025
- Remove duplicate doc-comment.md reference (was in both Code Comment and Viết Docs sections)
- Remove duplicate crate references (polars, serde) from Data Engineering section
- Remove 'Who is using?' page link
- Update all empty links to point to new content pages

This fixes mdbook build errors caused by duplicate file references.

Co-Authored-By: Claude <[email protected]>
Add comprehensive Vietnamese guides for popular crates:
- actix-web.md (484 lines): Web framework with routing, middleware, WebSocket, and database integration
- clap.md (619 lines): CLI argument parsing with derive API, subcommands, and validation
- config.md (567 lines): Configuration management with multi-format and environment support

Each guide includes installation, examples, comparisons with other languages,
and best practices.

Co-Authored-By: Claude <[email protected]>
Add comprehensive Vietnamese guide for the Display trait (398 lines):
- Display vs Debug comparison
- Implementation examples for structs and enums
- Format options and customization
- Nested types and collections
- Error handling integration
- Comparisons with toString in other languages
- Best practices for user-facing output

Co-Authored-By: Claude <[email protected]>
Add comprehensive Vietnamese guides for Rust idioms:
- functional-programming.md (481 lines): FP concepts in Rust including immutability,
  higher-order functions, iterators, combinators, and pattern matching
- borrowed-types.md (511 lines): Using borrowed types for function arguments
  (&str vs String, &[T] vs Vec<T>, &Path vs PathBuf) with performance benefits

Includes practical examples, comparisons with imperative style,
and best practices for idiomatic Rust code.

Co-Authored-By: Claude <[email protected]>
@duyet duyet force-pushed the claude/update-content-pages-011CULRESPubffdRFHtEnwrR branch from 66baeff to f273061 Compare October 21, 2025 17:39
@github-actions
Copy link

Build book successfully!

@dosubot dosubot bot added the documentation Improvements or additions to documentation label Oct 21, 2025
@duyet duyet merged commit 074fd73 into main Oct 26, 2025
1 check passed
@duyet duyet deleted the claude/update-content-pages-011CULRESPubffdRFHtEnwrR branch October 26, 2025 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants