Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

Commit e6426de

Browse files
feat: parsing debug
Co-authored-by: Jeffrey Johnston <Coffee-Nerd@users.noreply.github.com>
1 parent 4741df6 commit e6426de

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ rand = { version = "0.8.5", optional = true }
3535
hex = { version = "0.4.3", optional = true }
3636
displaydoc = "0.2.4"
3737
thiserror = "1.0.58"
38+
url = "2.5.0"
3839

3940
[dev-dependencies]
4041
dotenv = { version = "0.15.0" }

src/custom/oauth.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ fn parse_info(data: &[u8]) -> Result<Info, OAuthError> {
110110
// For demonstration, let's assume the data is a JSON string
111111
let data_str = std::str::from_utf8(data)
112112
.map_err(|_| OAuthError::ParseError("Invalid UTF-8".to_string()))?;
113+
println!("Data: {} \n", data_str);
113114
serde_json::from_str::<Info>(data_str)
114115
.map_err(|_| OAuthError::ParseError("Failed to parse Info".to_string()))
115116
}

0 commit comments

Comments
 (0)