diff --git a/Makefile b/Makefile index af5b2908..b778ea53 100644 --- a/Makefile +++ b/Makefile @@ -3,20 +3,20 @@ nalgebra_lib_path=lib nalgebra_doc_path=doc all: mkdir -p $(nalgebra_lib_path) - rustc src/nalgebra.rs --out-dir $(nalgebra_lib_path) --opt-level 3 + rustc src/lib.rs --out-dir $(nalgebra_lib_path) --opt-level 3 test: mkdir -p $(nalgebra_lib_path) - rustc --test src/nalgebra.rs --opt-level 3 -o test~ && ./test~ + rustc --test src/lib.rs --opt-level 3 -o test~ && ./test~ rm test~ bench: - rustc --test src/nalgebra.rs --opt-level 3 -o bench~ && ./bench~ --bench + rustc --test src/lib.rs --opt-level 3 -o bench~ && ./bench~ --bench rm bench~ doc: mkdir -p $(nalgebra_doc_path) - rustdoc src/nalgebra.rs + rustdoc src/lib.rs distcheck: rm -rf $(tmp) diff --git a/src/nalgebra.rs b/src/lib.rs similarity index 96% rename from src/nalgebra.rs rename to src/lib.rs index 11726249..da504986 100644 --- a/src/nalgebra.rs +++ b/src/lib.rs @@ -108,10 +108,11 @@ Feel free to add your project to this list if you happen to use **nalgebra**! */ #[link(name = "nalgebra" - , package_id = "nalgebra" , vers = "0.1" , author = "Sébastien Crozet" - , uuid = "1e96070f-4778-4ec1-b080-bf69f7048216")]; + , uuid = "1e96070f-4778-4ec1-b080-bf69f7048216" + , url = "https://gitub.com/sebcrozet/nalgebra.git")]; +#[pkgid = "github.com/sebcrozet/nalgebra"]; #[crate_type = "lib"]; #[deny(non_camel_case_types)]; #[deny(non_uppercase_statics)];