Skip to content

Commit b8b17d4

Browse files
committed
v0.1.0
1 parent 52898c8 commit b8b17d4

File tree

4 files changed

+31
-4
lines changed

4 files changed

+31
-4
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
6+
and this project adheres to [Semantic Versioning](http://semver.org/).
7+
8+
## [Unreleased]
9+
10+
## v0.1.0 - 2018-01-17
11+
12+
Initial release
13+
14+
[Unreleased]: https://github.com/japaric/linux-embedded-hal/compare/v0.1.0...HEAD

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
[package]
22
authors = ["Jorge Aparicio <[email protected]>"]
3+
categories = ["embedded", "hardware-support"]
4+
description = "Implementation of the `embedded-hal` traits for Linux devices"
5+
keywords = ["Linux", "hal"]
6+
license = "MIT OR Apache-2.0"
37
name = "linux-embedded-hal"
8+
repository = "https://github.com/japaric/linux-embedded-hal"
49
version = "0.1.0"
510

611
[dependencies]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `linux-embedded-hal`
22

3-
> Implementation of [`embedded-hal`] traits for Linux devices
3+
> Implementation of the [`embedded-hal`] traits for Linux devices
44
55
[`embedded-hal`]: https://crates.io/crates/embedded-hal
66

src/lib.rs

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
//! Implementation of [`embedded-hal`] traits for Linux devices
22
//!
33
//! [`embedded-hal`]: https://docs.rs/embedded-hal
4+
//!
5+
//! # Drivers
6+
//!
7+
//! This crate lets you use a bunch of platform agnostic drivers that are based on the
8+
//! `embedded-hal` traits. You can find them on crates.io by [searching for the embedded-hal
9+
//! keyword][0].
10+
//!
11+
//! [0]: https://crates.io/keywords/embedded-hal
412
513
#![deny(missing_docs)]
614
#![deny(warnings)]
@@ -21,14 +29,14 @@ use spidev::SpidevTransfer;
2129
pub struct Pin(pub sysfs_gpio::Pin);
2230

2331
impl Pin {
24-
/// See [`sysfs_gpio::Pin::new`][0]
32+
/// See [`sysfs_gpio::Pin::new`][0] for details.
2533
///
2634
/// [0]: https://docs.rs/sysfs_gpio/0.5.1/sysfs_gpio/struct.Pin.html#method.new
2735
pub fn new(pin_num: u64) -> Pin {
2836
Pin(sysfs_gpio::Pin::new(pin_num))
2937
}
3038

31-
/// See [`sysfs_gpio::Pin::from_path`][0]
39+
/// See [`sysfs_gpio::Pin::from_path`][0] for details.
3240
///
3341
/// [0]: https://docs.rs/sysfs_gpio/0.5.1/sysfs_gpio/struct.Pin.html#method.from_path
3442
pub fn from_path<P>(path: P) -> sysfs_gpio::Result<Pin>
@@ -77,7 +85,7 @@ impl ops::DerefMut for Pin {
7785
pub struct Spidev(pub spidev::Spidev);
7886

7987
impl Spidev {
80-
/// See [`spidev::Spidev::open`][0]
88+
/// See [`spidev::Spidev::open`][0] for details.
8189
///
8290
/// [0]: https://docs.rs/spidev/0.3.0/spidev/struct.Spidev.html#method.open
8391
pub fn open<P>(path: P) -> io::Result<Self>

0 commit comments

Comments
 (0)