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 2323
2424 - name : Install FoundationDB
2525 uses : Clikengo/foundationdb-actions-install@v1
26+ with :
27+ version : " 6.3.15"
2628
2729 - name : Install Clang
2830 if : matrix.os == 'windows-latest'
6365 command : test
6466 args : --manifest-path foundationdb/Cargo.toml --features num-bigint --tests
6567
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+
6674 - name : Test 6.2
6775 uses : actions-rs/cargo@v1
6876 with :
@@ -115,6 +123,8 @@ jobs:
115123
116124 - name : Install FoundationDB
117125 uses : Clikengo/foundationdb-actions-install@v1
126+ with :
127+ version : " 6.3.15"
118128
119129 - name : Install Rust toolchain
120130 uses : actions-rs/toolchain@v1
@@ -143,6 +153,8 @@ jobs:
143153
144154 - name : Install FoundationDB
145155 uses : Clikengo/foundationdb-actions-install@v1
156+ with :
157+ version : " 6.3.15"
146158
147159 - uses : actions-rs/toolchain@v1
148160 with :
@@ -175,6 +187,8 @@ jobs:
175187
176188 - name : Install FoundationDB
177189 uses : Clikengo/foundationdb-actions-install@v1
190+ with :
191+ version : " 6.3.15"
178192
179193 - uses : actions-rs/toolchain@v1
180194 with :
Original file line number Diff line number Diff line change 1616
1717 - name : Install FoundationDB
1818 uses : Clikengo/foundationdb-actions-install@v1
19+ with :
20+ version : " 6.3.15"
1921
2022 - name : Install Rust toolchain
2123 uses : actions-rs/toolchain@v1
Original file line number Diff line number Diff line change @@ -20,14 +20,15 @@ categories = ["database"]
2020license = " MIT/Apache-2.0"
2121
2222[features ]
23- default = [" fdb-6_2 " ]
23+ default = [" fdb-6_3 " ]
2424# Use the locally embedded foundationdb fdb_c.h and fdb.options files
2525embedded-fdb-include = [" foundationdb/embedded-fdb-include" ]
2626fdb-5_1 = [" foundationdb/fdb-5_1" ]
2727fdb-5_2 = [" foundationdb/fdb-5_2" ]
2828fdb-6_0 = [" foundationdb/fdb-6_0" ]
2929fdb-6_1 = [" foundationdb/fdb-6_1" ]
3030fdb-6_2 = [" foundationdb/fdb-6_2" ]
31+ fdb-6_3 = [" foundationdb/fdb-6_3" ]
3132
3233[dependencies ]
3334env_logger = " 0.7.1"
Original file line number Diff line number Diff line change @@ -26,14 +26,15 @@ features = ["embedded-fdb-include"]
2626codecov = { repository = " Clikengo/foundationdb-rs" , branch = " master" , service = " github" }
2727
2828[features ]
29- default = [" fdb-6_2 " ]
29+ default = [" fdb-6_3 " ]
3030# Use the locally embedded foundationdb fdb.options file
3131embedded-fdb-include = []
3232fdb-5_1 = []
3333fdb-5_2 = []
3434fdb-6_0 = []
3535fdb-6_1 = []
3636fdb-6_2 = []
37+ fdb-6_3 = []
3738
3839[dependencies ]
3940xml-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");
366366const OPTIONS_DATA : & [ u8 ] = include_bytes ! ( "../include/610/fdb.options" ) ;
367367#[ cfg( all( feature = "embedded-fdb-include" , feature = "fdb-6_2" ) ) ]
368368const 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" ) ;
369371
370372pub fn emit ( w : & mut impl fmt:: Write ) -> fmt:: Result {
371373 let mut reader = OPTIONS_DATA ;
Original file line number Diff line number Diff line change @@ -27,14 +27,15 @@ features = ["embedded-fdb-include"]
2727codecov = { repository = " Clikengo/foundationdb-rs" , branch = " master" , service = " github" }
2828
2929[features ]
30- default = [" fdb-6_2 " ]
30+ default = [" fdb-6_3 " ]
3131# Use the locally embedded foundationdb fdb_c.h file
3232embedded-fdb-include = []
3333fdb-5_1 = []
3434fdb-5_2 = []
3535fdb-6_0 = []
3636fdb-6_1 = []
3737fdb-6_2 = []
38+ fdb-6_3 = []
3839
3940[dependencies ]
4041
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ const INCLUDE_PATH: &str = "-I./include/600";
2424const INCLUDE_PATH : & str = "-I./include/610" ;
2525#[ cfg( all( feature = "embedded-fdb-include" , feature = "fdb-6_2" ) ) ]
2626const 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" ;
2729
2830fn main ( ) {
2931 // Link against fdb_c.
@@ -63,6 +65,10 @@ fn main() {
6365 {
6466 api_version = 620 ;
6567 }
68+ #[ cfg( feature = "fdb-6_3" ) ]
69+ {
70+ api_version = 630 ;
71+ }
6672
6773 // Sigh, bindgen only takes a String for its header path, but that's UTF-8 while
6874 // PathBuf is OS-native...
You can’t perform that action at this time.
0 commit comments