Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for v26 release #27

Merged
merged 2 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading