Skip to content

Commit

Permalink
Merge pull request #9 from Swoorup/sj-upgrade-arrow
Browse files Browse the repository at this point in the history
Upgrade dependencies
  • Loading branch information
Swoorup authored Sep 29, 2024
2 parents 9d90aef + 6386225 commit 8895362
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 18 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release-plz

permissions:
pull-requests: write
contents: write

on:
push:
branches:
- main

jobs:
release-plz:
name: Release-plz
runs-on: ubuntu-latest
environment: crates.io

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@nightly
- name: Run release-plz
uses: MarcoIeni/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
17 changes: 7 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,30 @@
[workspace]
resolver = "2"
members = [
"arrow_convert",
"arrow_convert_derive",
"examples/simple"
]
members = ["arrow_convert", "arrow_convert_derive", "examples/simple"]

[workspace.package]
authors = [
"Swoorup Joshi <[email protected]>",
"Jorge Leitao <[email protected]>",
"Chandra Penke <[email protected]>",
]
version = "0.7.0"
edition = "2021"
license = "Apache-2.0 OR MIT"
keywords = ["Arrow", "arrow"]
repository = "https://github.com/Swoorup/arrow-convert"

[workspace.dependencies]
# workspace crates
arrow_convert = { path = "arrow_convert", version = "0.6.5" }
arrow_convert_derive = { path = "arrow_convert_derive", version = "0.6.5" }
arrow_convert = { path = "arrow_convert", version = "0.7.0" }
arrow_convert_derive = { path = "arrow_convert_derive", version = "0.7.0" }

arrow = "52.0"
arrow = "53.0"
chrono = { version = "0.4", default-features = false }
criterion = "0.5"
err-derive = "0.3"
half = { version = "2.1", default-features = false }
proc-macro-error = "1"
half = { version = "2.4", default-features = false }
proc-macro-error2 = "2"
proc-macro2 = "1"
quote = "1"
syn = "2"
Expand Down
2 changes: 1 addition & 1 deletion arrow_convert/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "arrow_convert"
version= "0.6.8"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions arrow_convert_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "arrow_convert_derive"
version= "0.6.8"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand All @@ -15,4 +15,4 @@ proc-macro = true
syn = { workspace = true, features = ["full"] }
quote = { workspace = true }
proc-macro2 = { workspace = true }
proc-macro-error = { workspace = true }
proc-macro-error2 = { workspace = true }
2 changes: 1 addition & 1 deletion arrow_convert_derive/src/attr.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use proc_macro_error::{abort, ResultExt};
use proc_macro_error2::{abort, ResultExt};
use syn::spanned::Spanned;
use syn::{Lit, Meta, MetaNameValue};

Expand Down
2 changes: 1 addition & 1 deletion arrow_convert_derive/src/derive_enum.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use proc_macro2::TokenStream;
use proc_macro_error::abort;
use proc_macro_error2::abort;
use quote::{quote, quote_spanned};
use syn::spanned::Spanned;

Expand Down
2 changes: 1 addition & 1 deletion arrow_convert_derive/src/derive_struct.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use proc_macro2::TokenStream;
use proc_macro_error::abort;
use proc_macro_error2::abort;
use quote::{format_ident, quote, quote_spanned};
use syn::spanned::Spanned;

Expand Down
2 changes: 1 addition & 1 deletion arrow_convert_derive/src/input.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use proc_macro2::Span;
use proc_macro_error::abort;
use proc_macro_error2::abort;

use syn::spanned::Spanned;
use syn::{DeriveInput, Ident, Lit, Meta, Visibility};
Expand Down
2 changes: 1 addition & 1 deletion arrow_convert_derive/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use proc_macro_error::{abort, proc_macro_error};
use proc_macro_error2::{abort, proc_macro_error};

mod derive_enum;
mod derive_struct;
Expand Down

0 comments on commit 8895362

Please sign in to comment.