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

Update dependencies and remove examples + benches #46

Merged
merged 3 commits into from
Apr 29, 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
64 changes: 64 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: CI

on:
pull_request:
push:
branches:
- 'main'
schedule:
- cron: '0 9 * * *'

jobs:
fmt:
name: Rust fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.74.0
components: rustfmt
- name: Cargo fmt check
run: cargo fmt --all -- --check

clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.74.0
components: clippy
- name: Cargo Clippy
run: cargo clippy -- -D warnings

build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.74.0
- name: Cargo build
run: cargo build

test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.74.0
- name: Cargo test
run: cargo test




14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

22 changes: 4 additions & 18 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,10 @@ debug = true

[dependencies]
failure = "0.1"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
rmp-serde = "0.13"
fnv = "1.0"
serde_json = "1"
serde = { version = "1", features = ["derive"] }
rmp-serde = "1"
fnv = "1"

[dev-dependencies]
criterion = "0.2"
dinghy-test = "0.4"
rand = "0.7"
tempfile = "3"
clap = "2"

[[bench]]
name = "bench_parser"
harness = false

[[example]]
name = "interactive_parsing_cli"

[[example]]
name = "entity_parsing_from_scratch"
3 changes: 1 addition & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
Gazetteer Entity Parser
=======================

.. image:: https://travis-ci.org/snipsco/gazetteer-entity-parser.svg?branch=master
:target: https://travis-ci.org/snipsco/gazetteer-entity-parser
**THIS LIBRARY IS NOT ACTIVELY MAINTAINED ANYMORE**

This Rust library allows to parse and resolve entity values based on a gazetteer, in the context of
an `Information Extraction <https://en.wikipedia.org/wiki/Information_extraction>`_ task.
Expand Down
157 changes: 0 additions & 157 deletions benches/bench_parser.rs

This file was deleted.

1 change: 0 additions & 1 deletion data/benches/.gitignore

This file was deleted.

47 changes: 0 additions & 47 deletions examples/entity_parsing_from_scratch.rs

This file was deleted.

Loading