File tree 13 files changed +32
-15
lines changed
snips-nlu-ontology-export
13 files changed +32
-15
lines changed Original file line number Diff line number Diff line change 1
- language : rust
2
-
3
1
env :
4
2
global :
5
3
- RUST_BACKTRACE=1
6
4
7
- matrix :
5
+ jobs :
8
6
include :
9
- - rust : stable
7
+ - language : java
8
+ jdk : openjdk8
10
9
env : KOTLIN_TESTS=true
11
- - rust : beta
12
- - rust : nightly
10
+ - language : rust
11
+ rust : beta
12
+ - language : rust
13
+ rust : nightly
13
14
allow_failures :
14
- - rust : nightly
15
+ - language : rust
16
+ rust : nightly
15
17
16
18
script : " .travis/travis.sh"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -ev
3
3
4
+ # Install Rust
5
+ if [[ -z ${TRAVIS_RUST_VERSION+w} ]]; then
6
+ curl https://sh.rustup.rs -sSf | bash -s -- -y
7
+ fi
8
+
9
+ export PATH=" $HOME /.cargo/bin:$PATH "
10
+
4
11
cargo build --all
5
12
cargo test --all
6
13
Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
All notable changes to this project will be documented in this file.
3
3
4
+ ## [ 0.64.8] - 2019-07-10
5
+ ### Fixed
6
+ - Fix issue with libc and ` Send ` trait
7
+
4
8
## [ 0.64.7] - 2019-06-18
5
9
### Fixed
6
10
- Portuguese builtin entity examples
@@ -175,6 +179,7 @@ All notable changes to this project will be documented in this file.
175
179
### Changed
176
180
- Updated Rustling ontology to ` 0.16.4 `
177
181
182
+ [ 0.64.8 ] : https://github.com/snipsco/snips-nlu-ontology/compare/0.64.7...0.64.8
178
183
[ 0.64.7 ] : https://github.com/snipsco/snips-nlu-ontology/compare/0.64.6...0.64.7
179
184
[ 0.64.6 ] : https://github.com/snipsco/snips-nlu-ontology/compare/0.64.5...0.64.6
180
185
[ 0.64.5 ] : https://github.com/snipsco/snips-nlu-ontology/compare/0.64.4...0.64.5
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " snips-nlu-ontology"
3
- version = " 0.64.7 "
3
+ version = " 0.64.8 "
4
4
authors = [
5
5
" Adrien Ball <adrien.ball@snips.ai>" ,
6
6
" Thibaut Lorrain <thibaut.lorrain@snips.ai>" ,
Original file line number Diff line number Diff line change 1
1
Snips NLU Ontology
2
2
==================
3
3
4
- .. image :: https://travis-ci.org/snipsco/snips-nlu-ontology.svg?branch=develop
4
+ .. image :: https://travis-ci.org/snipsco/snips-nlu-ontology.svg?branch=master
5
5
:target: https://travis-ci.org/snipsco/snips-nlu-ontology
6
6
7
7
Ontology of the Snips NLU library API which describes supported languages and builtin entities.
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " snips-nlu-ontology-doc"
3
- version = " 0.64.7 "
3
+ version = " 0.64.8 "
4
4
authors = [" Adrien Ball <adrien.ball@snips.ai>" ]
5
5
edition = " 2018"
6
6
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ fn add_header(readme: &mut String) {
27
27
readme. push_str ( "\n " ) ;
28
28
29
29
readme. push_str (
30
- ".. image:: https://travis-ci.org/snipsco/snips-nlu-ontology.svg?branch=develop \n " ,
30
+ ".. image:: https://travis-ci.org/snipsco/snips-nlu-ontology.svg?branch=master \n " ,
31
31
) ;
32
32
readme. push_str ( " :target: https://travis-ci.org/snipsco/snips-nlu-ontology\n " ) ;
33
33
readme. push_str ( "\n " ) ;
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " snips-nlu-ontology-ffi"
3
- version = " 0.64.7 "
3
+ version = " 0.64.8 "
4
4
authors = [" Kevin Lefevre <kevin.lefevre@snips.ai>" ]
5
5
edition = " 2018"
6
6
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " snips-nlu-ontology-ffi-macros"
3
- version = " 0.64.7 "
3
+ version = " 0.64.8 "
4
4
authors = [
5
5
" Kevin Lefevre <kevin.lefevre@snips.ai>" ,
6
6
" Thibaut Lorrain <thibaut.lorrain@snips.ai>" ,
Original file line number Diff line number Diff line change @@ -78,8 +78,10 @@ impl Drop for CBuiltinEntityArray {
78
78
// ffi's type `*const libc::c_char` isn't
79
79
struct DummyWrapper ( Box < [ * const libc:: c_char ] > ) ;
80
80
81
+ unsafe impl Send for DummyWrapper { }
81
82
unsafe impl Sync for DummyWrapper { }
82
83
84
+
83
85
pub fn all_builtin_entities ( ) -> CStringArray {
84
86
lazy_static ! {
85
87
static ref ALL : DummyWrapper = {
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ use snips_nlu_ontology::Language;
9
9
// ffi's type `*const libc::c_char` isn't
10
10
struct DummyWrapper ( Box < [ * const libc:: c_char ] > ) ;
11
11
12
+ unsafe impl Send for DummyWrapper { }
12
13
unsafe impl Sync for DummyWrapper { }
13
14
14
15
pub fn supported_languages ( ) -> CStringArray {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ buildscript {
8
8
}
9
9
}
10
10
11
- version = " 0.64.7 "
11
+ version = " 0.64.8 "
12
12
group = " ai.snips"
13
13
14
14
Original file line number Diff line number Diff line change 1
- version = " 0.64.7 "
1
+ version = " 0.64.8 "
2
2
group = " ai.snips"
3
3
4
4
You can’t perform that action at this time.
0 commit comments