From 4701a17bc6256a0c1096f3130cb89088893ead7e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 17:19:32 +0000 Subject: [PATCH 1/2] 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](https://github.com/seanmonstar/reqwest/compare/v0.11.18...v0.12.2) --- updated-dependencies: - dependency-name: reqwest dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c60eeaf..e4ededb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" From 114b8cdf82afb1ca675739825e4c5639210086b5 Mon Sep 17 00:00:00 2001 From: vvillait88 Date: Tue, 2 Apr 2024 19:47:48 -0700 Subject: [PATCH 2/2] chore: Upgrade crate to v2.0.0 and update Person model fields --- .github/workflows/publish.yaml | 4 ++-- .github/workflows/rust-clippy.yml | 2 +- .github/workflows/test.yml | 2 +- Cargo.toml | 2 +- src/models/person.rs | 4 +++- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 3573080..4f340ee 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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: @@ -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 diff --git a/.github/workflows/rust-clippy.yml b/.github/workflows/rust-clippy.yml index 660ff6e..7849537 100644 --- a/.github/workflows/rust-clippy.yml +++ b/.github/workflows/rust-clippy.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b3bb5f2..fb013e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: diff --git a/Cargo.toml b/Cargo.toml index e4ededb..4aad6ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/models/person.rs b/src/models/person.rs index 7509647..7e548af 100644 --- a/src/models/person.rs +++ b/src/models/person.rs @@ -382,7 +382,7 @@ pub struct Person { pub middle_name: Option, pub last_initial: Option, pub last_name: Option, - pub gender: Option, + pub sex: Option, pub birth_year: Option, pub birth_date: Option, pub linkedin_url: Option, @@ -425,6 +425,8 @@ pub struct Person { pub job_company_location_country: Option, pub job_company_location_continent: Option, pub job_last_updated: Option, + pub job_last_changed: Option, + pub job_last_verified: Option, pub job_start_date: Option, pub location_name: Option, pub location_locality: Option,