Skip to content

Commit

Permalink
Merge pull request #17 from lta-rs/0.5.0
Browse files Browse the repository at this point in the history
0.5.0
  • Loading branch information
zeon256 authored Apr 5, 2023
2 parents 50328ce + 7c497b8 commit d3ed7c3
Show file tree
Hide file tree
Showing 19 changed files with 11,348 additions and 284 deletions.
22 changes: 21 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
rust: [stable, nightly]

steps:
- uses: rui314/setup-mold@v1
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
Expand All @@ -26,17 +27,36 @@ jobs:
rust: [stable, nightly]

steps:
- uses: rui314/setup-mold@v1
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- name: Run tests
run: cargo test --verbose

test-fastfloat:
if: "!contains(github.event.head_commit.message, '[SKIP CI]')"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [stable, nightly]

steps:
- uses: rui314/setup-mold@v1
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- name: Run tests
run: cargo test --verbose --features fastfloat

rustdoc:
runs-on: ubuntu-latest

steps:
- uses: rui314/setup-mold@v1
- name: Checkout repository
uses: actions/checkout@v2

Expand All @@ -49,4 +69,4 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./target/doc
force_orphan: true
force_orphan: true
15 changes: 7 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lta_models"
version = "0.4.1"
version = "0.5.0"
authors = ["budinverse <[email protected]>"]
edition = "2021"
license = "MIT"
Expand All @@ -13,14 +13,13 @@ exclude = [
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
serde = { version = "1.0.118", features = ["derive"] }
serde_repr = "0.1.5"
serde_json = "1.0.40"
regex = "1.3.0"
chrono = { version = "0.4.7", features = ["serde"] }
lazy_static = "1.3.0"
serde = { version = "1.0.159", features = ["derive"] }
serde_repr = "0.1.12"
serde_json = "1.0.95"
regex = "1.7.3"
time = { version = "0.3.20", features = ["serde-human-readable"]}
lazy_static = "1.4.0"
fast-float = { version = "0.2", optional = true }
time = "0.3.11"

[dev-dependencies]
serde_json = "1.0.40"
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License

Copyright (c) 2010-2020 Budi Syahiddin
Copyright (c) 2010-2023 Budi Syahiddin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<img src="https://img.shields.io/badge/docs-main--branch-red"/>
</a>
<a href="https://github.com/lta-rs/lta-models/actions">
<img src="https://img.shields.io/github/workflow/status/lta-rs/lta-models/Test%20Rust%20project/main"/>
<img src="https://img.shields.io/github/actions/workflow/status/lta-rs/lta-models/rust.yml?branch=main"/>
</a>
<a href="https://crates.io/crates/lta_models">
<img src="https://img.shields.io/crates/v/lta-models"/>
Expand All @@ -23,7 +23,7 @@ This repository contains the data structures required to interact with LTA's dat
## `Cargo.toml` setup
```toml
# extra features available: fastfloat
lta-models = { version = "0.4.0" }
lta-models = { version = "0.5.0" }
```

## Performance & `fast-float` implementation
Expand Down
Loading

0 comments on commit d3ed7c3

Please sign in to comment.