chiark / gitweb /
zcoord rename file
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 9 Oct 2020 21:07:48 +0000 (22:07 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 9 Oct 2020 21:07:48 +0000 (22:07 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/imports.rs
zcoord/Cargo.toml
zcoord/zcoord.rs [moved from zcoord/src/lib.rs with 100% similarity]

index 8173b201cb8211ab5bcb64b7bfad5ec89bf37e4a..9f7e935c362ff407383eee017d8e09d96eba27d4 100644 (file)
@@ -112,8 +112,7 @@ pub use crate::spec::*;
 pub use crate::debugreader::DebugReader;
 pub use crate::shapelib;
 
-pub use otter_zcoord as zcoord;
-pub use zcoord::ZCoord;
+pub use zcoord::{self, ZCoord};
 
 pub use nix::unistd::Uid;
 
index d23b6ce39bfab93d436eea9dfbe256e376ed806d..5fd7b63574bd4a3e812f584248a2fbfa3a668e1a 100644 (file)
@@ -7,6 +7,10 @@ license = "AGPL-3.0-or-later"
 version = "0.0.1"
 edition = "2018"
 
+[lib]
+name = "zcoord"
+path = "zcoord.rs"
+
 [dependencies]
 
 serde = { version = "1", features = ["derive","rc"] }
similarity index 100%
rename from zcoord/src/lib.rs
rename to zcoord/zcoord.rs