File tree Expand file tree Collapse file tree 12 files changed +866
-6
lines changed
foundationdb-bindingtester Expand file tree Collapse file tree 12 files changed +866
-6
lines changed Original file line number Diff line number Diff line change 23
23
24
24
- name : Install FoundationDB
25
25
uses : Clikengo/foundationdb-actions-install@v1
26
+ with :
27
+ version : " 6.3.15"
26
28
27
29
- name : Install Clang
28
30
if : matrix.os == 'windows-latest'
63
65
command : test
64
66
args : --manifest-path foundationdb/Cargo.toml --features num-bigint --tests
65
67
68
+ - name : Test 6.3
69
+ uses : actions-rs/cargo@v1
70
+ with :
71
+ command : test
72
+ args : --manifest-path foundationdb/Cargo.toml --no-default-features --features fdb-6_3 --tests
73
+
66
74
- name : Test 6.2
67
75
uses : actions-rs/cargo@v1
68
76
with :
@@ -115,6 +123,8 @@ jobs:
115
123
116
124
- name : Install FoundationDB
117
125
uses : Clikengo/foundationdb-actions-install@v1
126
+ with :
127
+ version : " 6.3.15"
118
128
119
129
- name : Install Rust toolchain
120
130
uses : actions-rs/toolchain@v1
@@ -143,6 +153,8 @@ jobs:
143
153
144
154
- name : Install FoundationDB
145
155
uses : Clikengo/foundationdb-actions-install@v1
156
+ with :
157
+ version : " 6.3.15"
146
158
147
159
- uses : actions-rs/toolchain@v1
148
160
with :
@@ -175,6 +187,8 @@ jobs:
175
187
176
188
- name : Install FoundationDB
177
189
uses : Clikengo/foundationdb-actions-install@v1
190
+ with :
191
+ version : " 6.3.15"
178
192
179
193
- uses : actions-rs/toolchain@v1
180
194
with :
Original file line number Diff line number Diff line change 16
16
17
17
- name : Install FoundationDB
18
18
uses : Clikengo/foundationdb-actions-install@v1
19
+ with :
20
+ version : " 6.3.15"
19
21
20
22
- name : Install Rust toolchain
21
23
uses : actions-rs/toolchain@v1
Original file line number Diff line number Diff line change @@ -20,14 +20,15 @@ categories = ["database"]
20
20
license = " MIT/Apache-2.0"
21
21
22
22
[features ]
23
- default = [" fdb-6_2 " ]
23
+ default = [" fdb-6_3 " ]
24
24
# Use the locally embedded foundationdb fdb_c.h and fdb.options files
25
25
embedded-fdb-include = [" foundationdb/embedded-fdb-include" ]
26
26
fdb-5_1 = [" foundationdb/fdb-5_1" ]
27
27
fdb-5_2 = [" foundationdb/fdb-5_2" ]
28
28
fdb-6_0 = [" foundationdb/fdb-6_0" ]
29
29
fdb-6_1 = [" foundationdb/fdb-6_1" ]
30
30
fdb-6_2 = [" foundationdb/fdb-6_2" ]
31
+ fdb-6_3 = [" foundationdb/fdb-6_3" ]
31
32
32
33
[dependencies ]
33
34
env_logger = " 0.7.1"
Original file line number Diff line number Diff line change @@ -26,14 +26,15 @@ features = ["embedded-fdb-include"]
26
26
codecov = { repository = " Clikengo/foundationdb-rs" , branch = " master" , service = " github" }
27
27
28
28
[features ]
29
- default = [" fdb-6_2 " ]
29
+ default = [" fdb-6_3 " ]
30
30
# Use the locally embedded foundationdb fdb.options file
31
31
embedded-fdb-include = []
32
32
fdb-5_1 = []
33
33
fdb-5_2 = []
34
34
fdb-6_0 = []
35
35
fdb-6_1 = []
36
36
fdb-6_2 = []
37
+ fdb-6_3 = []
37
38
38
39
[dependencies ]
39
40
xml-rs = " 0.8.0"
Original file line number Diff line number Diff line change @@ -366,6 +366,8 @@ const OPTIONS_DATA: &[u8] = include_bytes!("../include/600/fdb.options");
366
366
const OPTIONS_DATA : & [ u8 ] = include_bytes ! ( "../include/610/fdb.options" ) ;
367
367
#[ cfg( all( feature = "embedded-fdb-include" , feature = "fdb-6_2" ) ) ]
368
368
const OPTIONS_DATA : & [ u8 ] = include_bytes ! ( "../include/620/fdb.options" ) ;
369
+ #[ cfg( all( feature = "embedded-fdb-include" , feature = "fdb-6_3" ) ) ]
370
+ const OPTIONS_DATA : & [ u8 ] = include_bytes ! ( "../include/630/fdb.options" ) ;
369
371
370
372
pub fn emit ( w : & mut impl fmt:: Write ) -> fmt:: Result {
371
373
let mut reader = OPTIONS_DATA ;
Original file line number Diff line number Diff line change @@ -27,14 +27,15 @@ features = ["embedded-fdb-include"]
27
27
codecov = { repository = " Clikengo/foundationdb-rs" , branch = " master" , service = " github" }
28
28
29
29
[features ]
30
- default = [" fdb-6_2 " ]
30
+ default = [" fdb-6_3 " ]
31
31
# Use the locally embedded foundationdb fdb_c.h file
32
32
embedded-fdb-include = []
33
33
fdb-5_1 = []
34
34
fdb-5_2 = []
35
35
fdb-6_0 = []
36
36
fdb-6_1 = []
37
37
fdb-6_2 = []
38
+ fdb-6_3 = []
38
39
39
40
[dependencies ]
40
41
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ const INCLUDE_PATH: &str = "-I./include/600";
24
24
const INCLUDE_PATH : & str = "-I./include/610" ;
25
25
#[ cfg( all( feature = "embedded-fdb-include" , feature = "fdb-6_2" ) ) ]
26
26
const INCLUDE_PATH : & str = "-I./include/620" ;
27
+ #[ cfg( all( feature = "embedded-fdb-include" , feature = "fdb-6_3" ) ) ]
28
+ const INCLUDE_PATH : & str = "-I./include/630" ;
27
29
28
30
fn main ( ) {
29
31
// Link against fdb_c.
@@ -63,6 +65,10 @@ fn main() {
63
65
{
64
66
api_version = 620 ;
65
67
}
68
+ #[ cfg( feature = "fdb-6_3" ) ]
69
+ {
70
+ api_version = 630 ;
71
+ }
66
72
67
73
// Sigh, bindgen only takes a String for its header path, but that's UTF-8 while
68
74
// PathBuf is OS-native...
You can’t perform that action at this time.
0 commit comments