Johannes Hofmann 8 anni fa
parent
commit
4288e6ccd8
2 ha cambiato i file con 0 aggiunte e 19 eliminazioni
  1. 0
    4
      Cargo.toml
  2. 0
    15
      build.rs

+ 0
- 4
Cargo.toml Vedi File

@@ -5,7 +5,6 @@ authors = ["Johannes Hofmann <mail@b-r-u.org>"]
5 5
 readme = "README.md"
6 6
 repository = "https://github.com/b-r-u/osmpbf"
7 7
 homepage = "https://github.com/b-r-u/osmpbf"
8
-build = "build.rs"
9 8
 description = """
10 9
 A reader for the OpenStreetMap PBF file format (*.osm.pbf).
11 10
 """
@@ -25,6 +24,3 @@ inflate = "0.3"
25 24
 error-chain = "0.11"
26 25
 memmap = "0.6"
27 26
 rayon = "0.8.2"
28
-
29
-[build-dependencies]
30
-protoc-rust = "1.4"

+ 0
- 15
build.rs Vedi File

@@ -1,15 +0,0 @@
1
-extern crate protoc_rust;
2
-
3
-fn main() {
4
-    let proto_files = ["src/proto/fileformat.proto", "src/proto/osmformat.proto"];
5
-
6
-    for path in &proto_files {
7
-        println!("cargo:rerun-if-changed={}", path);
8
-    }
9
-
10
-    protoc_rust::run(protoc_rust::Args {
11
-        out_dir: "src/proto",
12
-        input: &proto_files,
13
-        includes: &[],
14
-    }).expect("protoc");
15
-}