diff options
author | Aaditya Dhruv <[email protected]> | 2025-06-26 16:02:05 +0530 |
---|---|---|
committer | Aaditya Dhruv <[email protected]> | 2025-06-26 16:02:47 +0530 |
commit | 348e190427c28d3985ad4c8453eeb2fdee5d4d22 (patch) | |
tree | 256f1cde49ab75fde05cc425ae9ea47ba30dfdd5 /src | |
parent | 46d22e77d458b1e5cd9a9b17df67c63849574a95 (diff) |
Add package details in Cargo.toml
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 1 | ||||
-rw-r--r-- | src/parser/mod.rs | 1 | ||||
-rw-r--r-- | src/parser/parser.rs | 10 |
3 files changed, 12 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 585eff6..5d2610d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,5 @@ mod types; +mod parser; use std::fs::File; use std::io::prelude::*; diff --git a/src/parser/mod.rs b/src/parser/mod.rs new file mode 100644 index 0000000..67c567f --- /dev/null +++ b/src/parser/mod.rs @@ -0,0 +1 @@ +pub mod parser; diff --git a/src/parser/parser.rs b/src/parser/parser.rs new file mode 100644 index 0000000..017ec83 --- /dev/null +++ b/src/parser/parser.rs @@ -0,0 +1,10 @@ +pub struct Parser { +} + +pub struct Text { + value: String, +} +pub struct Heading { + size: u8, + value: Text, +} |