Skip to content

Commit

Permalink
Merge pull request #70 from virtualritz/main
Browse files Browse the repository at this point in the history
Added `Database::iter()`, docs, DB update, deps bump.
  • Loading branch information
gferon authored May 13, 2024
2 parents 210d8df + 570f807 commit 728ee56
Show file tree
Hide file tree
Showing 26 changed files with 191 additions and 31,821 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Check
on:
pull_request:
paths:
- assets/**

jobs:
check_database_update:
name: Check libphonenumber database update
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Update assets
run: ./assets/update.sh
- name: Check git status
run: |
if [[ -n "$(git status --porcelain=v2)" ]];
then
echo "Found untracked or uncommitted files after updating the libphonenumber database, failing."
exit 1
fi
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "phonenumber"
version = "0.3.4+8.13.34"
version = "0.3.5+8.13.36"
edition = "2021"
rust-version = "1.58.0"

Expand All @@ -14,17 +14,17 @@ readme = "README.md"

[dependencies]
bincode = "1.3"
either = "1.8"
fnv = "1.0"
lazy_static = "1.4"
either = "1.11"
fnv = "1"
itertools = ">=0.10, <= 0.12"
lazy_static = "1.4"
nom = "7.1"
quick-xml = ">=0.28, <= 0.31"
regex = "1.7"
regex-cache = "0.2"
serde = "1.0"
serde_derive = "1.0"
strum = { version = ">=0.24, <=0.25", features = ["derive"] }
strum = { version = ">=0.24, <=0.26", features = ["derive"] }
thiserror = "1.0"

[build-dependencies]
Expand All @@ -36,11 +36,11 @@ serde_derive = "1.0"
thiserror = "1.0"

[dev-dependencies]
doc-comment = "0.3"
rstest = ">= 0.13, <=0.18"
rstest_reuse = "0.6"
anyhow = "1"
criterion = ">=0.4, <=0.5"
doc-comment = "0.3"
rstest = ">= 0.13, <=0.19"
rstest_reuse = "0.6"

[[bench]]
name = "parsing"
Expand Down
Loading

0 comments on commit 728ee56

Please sign in to comment.