diff --git a/Cargo.lock b/Cargo.lock index aa010e0..e2e3f52 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -58,7 +58,7 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] -name = "bme680-rs" +name = "bme680" version = "0.1.0" dependencies = [ "bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index e43cdbf..ecebb8b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,8 @@ [package] -name = "bme680-rs" +name = "bme680" version = "0.1.0" authors = ["marcelbuesing "] +repository = "https://github.com/marcelbuesing/bme680-hal" [dependencies] bitflags = "1.0" diff --git a/examples/reading_temperature.rs b/examples/reading_temperature.rs index 0805f36..f891fd4 100644 --- a/examples/reading_temperature.rs +++ b/examples/reading_temperature.rs @@ -1,11 +1,11 @@ +extern crate bme680; extern crate embedded_hal; extern crate env_logger; extern crate linux_embedded_hal as hal; #[macro_use] extern crate log; -extern crate bme680_rs; -use bme680_rs::*; +use bme680::*; use embedded_hal::blocking::i2c; use hal::*; use std::result;