You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,15 +76,15 @@ print(captured)
76
76
77
77
This project uses a multi-crate Rust workspace structure to maintain clean separation of concerns:
78
78
79
-
### Crate Structure
79
+
### Crate structure
80
80
81
81
-**`djc-html-transformer`**: Pure Rust library for HTML transformation
82
82
-**`djc-template-parser`**: Pure Rust library for Django template parsing
83
-
-**`djc-core`**: Python bindings that combine all other libraries
83
+
-**`djc-core`**: Python bindings that combines all other libraries
84
84
85
-
### Design Philosophy
85
+
### Design philosophy
86
86
87
-
To make sense of the code and keep it clean, the Python API and Rust logic are defined separately:
87
+
To make sense of the code, the Python API and Rust logic are defined separately:
88
88
89
89
1. Each crate (AKA Rust package) has `lib.rs` (which is like Python's `__init__.py`). These files do not define the main logic, but only the public API of the crate. So the API that's to be used by other crates.
0 commit comments