Skip to content

Commit

Permalink
Updates for v26 release (#27)
Browse files Browse the repository at this point in the history
* Update reqwest requirement from 0.11.18 to 0.12.2

Updates the requirements on [reqwest](https://github.com/seanmonstar/reqwest) to permit the latest version.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](seanmonstar/reqwest@v0.11.18...v0.12.2)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: Upgrade crate to v2.0.0 and update Person model fields

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: vvillait88 <vvillait88@yahoo.com>
  • Loading branch information
dependabot[bot] and vvillait88 authored Apr 3, 2024
1 parent 32b0a45 commit 7e6f52f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: cargo build --verbose
- run: cargo test --verbose
env:
Expand All @@ -25,7 +25,7 @@ jobs:
packages: write
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: cargo build --verbose
- run: cargo test --verbose
env:
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "peopledatalabs"
version = "1.1.1"
version = "2.0.0"
edition = "2021"
description = "A Rust client for the People Data Labs API"
documentation = "https://docs.peopledatalabs.com/docs/rust-sdk"
Expand All @@ -14,7 +14,7 @@ categories = ["api-bindings"]
[dependencies]
hyper = { version = "1.0.1", features = ["client", "http1"] }
hyper-tls = "0.6.0"
reqwest = { version = "0.11.18", features = ["json", "blocking"] }
reqwest = { version = "0.12.2", features = ["json", "blocking"] }
serde = { version = "1.0.180", features = ["derive"] }
serde_json = "1.0.104"
serde_urlencoded = "0.7.1"
4 changes: 3 additions & 1 deletion src/models/person.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ pub struct Person {
pub middle_name: Option<String>,
pub last_initial: Option<String>,
pub last_name: Option<String>,
pub gender: Option<String>,
pub sex: Option<String>,
pub birth_year: Option<i32>,
pub birth_date: Option<String>,
pub linkedin_url: Option<String>,
Expand Down Expand Up @@ -425,6 +425,8 @@ pub struct Person {
pub job_company_location_country: Option<String>,
pub job_company_location_continent: Option<String>,
pub job_last_updated: Option<String>,
pub job_last_changed: Option<String>,
pub job_last_verified: Option<String>,
pub job_start_date: Option<String>,
pub location_name: Option<String>,
pub location_locality: Option<String>,
Expand Down

0 comments on commit 7e6f52f

Please sign in to comment.