We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da268c0 commit 0bfd401Copy full SHA for 0bfd401
Cargo.toml
@@ -9,7 +9,7 @@ homepage = "hhttps://github.com/crossdb-org/crossdb-rust"
9
repository = "https://github.com/crossdb-org/crossdb-rust.git"
10
11
[dependencies]
12
-serde = { version = "1.0.210", features = ["derive"] }
+serde = "1.0"
13
thiserror = "1.0"
14
15
[build-dependencies]
build.rs
@@ -17,8 +17,13 @@ fn main() {
17
.include("crossdb/include")
18
.flag("-fPIC")
19
.opt_level(2)
20
- .static_flag(true)
21
- .compile("crossdb");
+ .static_flag(true);
+
22
+ // TODO: Potentially unsafe
23
+ builder.cargo_warnings(false);
24
25
+ builder.compile("crossdb");
26
27
println!("cargo:rustc-link-lib=static=crossdb");
28
println!("cargo:rustc-link-lib=pthread");
29
0 commit comments