From 620cd0e3d82f6420771e4edf023bf7c86626358d Mon Sep 17 00:00:00 2001 From: marcelbuesing Date: Fri, 25 May 2018 22:38:24 +0200 Subject: [PATCH] Rename bme680-rs to bme680 --- Cargo.lock | 2 +- Cargo.toml | 3 ++- examples/reading_temperature.rs | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) 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;