Skip to content

Commit

Permalink
open pr: bill
Browse files Browse the repository at this point in the history
Start of bill module
  • Loading branch information
ariyan-eghbal committed Dec 19, 2023
1 parent 137e9c8 commit 3242df0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ include = ["src/**/*.rs", "Cargo.toml", "LICENSE", "README.md"]
regex = "1.10.2"
urlencoding = { version = "2.1.3", optional = true }
serde = { version = "1.0.193", features = ["derive"], optional = true }
thiserror = {version = "1.0.48", optional = true}
thiserror = { version = "1.0.48", optional = true }
num = { version = "0.4", optional = true }
num-derive = { version = "0.4", optional = true }
num-traits = { version = "0.2", optional = true }


# Edit `Makefile` and `src/lib.src` after making changes in this section:
Expand All @@ -38,6 +41,7 @@ full = [
"url-fix",
"verity-card-number",
"phone-number",
"bill",
]
add-ordinal-suffix = []
commas = []
Expand All @@ -51,6 +55,7 @@ url-fix = ["dep:urlencoding"]
verity-card-number = []
phone-number = []
serde = ["dep:serde"]
bill = ["dep:num", "dep:num-derive", "dep:num-traits"]

[package.metadata.docs.rs]
all-features = true
Expand Down
7 changes: 7 additions & 0 deletions src/bill/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#[cfg(test)]
mod tests {
#[test]
fn bill_test() {
assert_eq!(1, 1);
}
}
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ pub mod verity_card_number;

#[cfg(feature = "phone-number")]
pub mod phone_number;

#[cfg(feature = "bill")]
pub mod bill;

0 comments on commit 3242df0

Please sign in to comment.