From 7d49a7c29a96ac6e4ae1c40713f99dc3be683ad0 Mon Sep 17 00:00:00 2001 From: Alan Jeffrey Date: Wed, 8 Nov 2017 11:05:15 -0600 Subject: [PATCH] Metadata for publishing josephine to crates.io. --- Cargo.toml | 6 +++--- README.md | 2 +- examples/minidom/main.rs | 2 +- src/lib.rs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e2cdadf2..7e75c15f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "josephine" -version = "0.1.0" +version = "0.1.1" authors = ["ajeffrey@mozilla.com"] license = "MPL-2.0" description = "Josephine: using JavaScript to safely manage the lifetimes of Rust data" @@ -10,8 +10,8 @@ build = "build.rs" [lib] [dependencies] -josephine_derive = { path = "josephine-derive" } -js = { git = "https://github.com/servo/rust-mozjs" } +josephine_derive = "0.1.0" +mozjs = "0.1.7" libc = "0.2.30" log = "0.3" diff --git a/README.md b/README.md index 5f35b16c..c8373db8 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ which uses nightly features, so `josephine` also requires nightly. In your `Cargo.toml`: ``` [dependencies] -josephine = { git = "https://github.com/asajeffrey/josephine" } +josephine = "0.1" ``` Build with `cargo +nightly build`. diff --git a/examples/minidom/main.rs b/examples/minidom/main.rs index 4cf2a1b3..29d403f4 100644 --- a/examples/minidom/main.rs +++ b/examples/minidom/main.rs @@ -8,7 +8,7 @@ #![deny(unsafe_code)] extern crate env_logger; -extern crate js; +extern crate mozjs as js; extern crate libc; #[macro_use] extern crate josephine; #[macro_use] extern crate log; diff --git a/src/lib.rs b/src/lib.rs index 587a1095..ab5fd5eb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -570,7 +570,7 @@ #![feature(generic_param_attrs)] #![feature(dropck_eyepatch)] -extern crate js; +extern crate mozjs as js; extern crate libc; #[macro_use] extern crate log;