A web browser engine written in Rust, designed to be fast, efficient, and modular.
grob/
├── browser/ # Browser application
├── engine/ # Core browser engine
│ ├── dom/ # Document Object Model implementation
│ ├── font/ # Font handling and rendering
│ ├── js/ # JavaScript engine integration
│ ├── layout/ # Layout calculation engine
│ ├── net/ # Network and HTTP handling
│ ├── paint/ # Rendering and painting
│ ├── parser/ # HTML and CSS parsing
│ ├── platform/ # Platform-specific implementations
│ └── style/ # CSS style processing
└── target/ # Build artifacts
To build the project, ensure you have Rust installed, then run:
cargo buildFor a release build with optimizations:
cargo build --releaseTo run the browser:
cargo run -p grob_browser- Browser: The main application entry point
- Engine: The core rendering engine that handles:
- HTML parsing and DOM construction
- CSS parsing and style calculation
- Layout computation
- Text rendering with font support
- Network requests and HTTP handling
- JavaScript integration
- Platform-specific rendering
- Rust 1.56 or later
- Standard development tools (C compiler, etc.) for native dependencies
To run tests:
cargo testTo check code:
cargo check