diff --git a/Makefile b/Makefile index 58dfcbf..ebd6003 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ TARGET = lmath ROOT_DIR = . SRC_DIR = $(ROOT_DIR)/src -SRC_CRATE = $(TARGET).rc +SRC_CRATE = $(TARGET).rs BUILD_DIR = $(ROOT_DIR)/lib TEST = $(TARGET) diff --git a/pkg.rs b/pkg.rs new file mode 100644 index 0000000..187940a --- /dev/null +++ b/pkg.rs @@ -0,0 +1,3 @@ +#[pkg_crate(file = "src/lmath.rs")]; +#[pkg(id = "lmath", vers = "0.1.0")]; +#[pkg_dep(url = "git://github.com/bjz/numeric-rs")]; \ No newline at end of file diff --git a/src/lmath.rc b/src/lmath.rs similarity index 96% rename from src/lmath.rc rename to src/lmath.rs index 4c369a3..819b804 100644 --- a/src/lmath.rc +++ b/src/lmath.rs @@ -1,5 +1,5 @@ #[link(name = "lmath", - vers = "0.1", + vers = "0.1.0", uuid = "A2DEEB53-EB35-4B44-B247-9044B57E3BA5", author = "Brendan Zabarauskas", url = "https://github.com/bjz/lmath-rs")];