File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ homepage = "hhttps://github.com/crossdb-org/crossdb-rust"
9
9
repository = " https://github.com/crossdb-org/crossdb-rust.git"
10
10
11
11
[dependencies ]
12
- serde = { version = " 1.0.210 " , features = [ " derive " ] }
12
+ serde = " 1.0"
13
13
thiserror = " 1.0"
14
14
15
15
[build-dependencies ]
Original file line number Diff line number Diff line change @@ -17,8 +17,13 @@ fn main() {
17
17
. include ( "crossdb/include" )
18
18
. flag ( "-fPIC" )
19
19
. opt_level ( 2 )
20
- . static_flag ( true )
21
- . compile ( "crossdb" ) ;
20
+ . static_flag ( true ) ;
21
+
22
+ // TODO: Potentially unsafe
23
+ builder. cargo_warnings ( false ) ;
24
+
25
+ builder. compile ( "crossdb" ) ;
26
+
22
27
println ! ( "cargo:rustc-link-lib=static=crossdb" ) ;
23
28
println ! ( "cargo:rustc-link-lib=pthread" ) ;
24
29
You can’t perform that action at this time.
0 commit comments