File tree Expand file tree Collapse file tree 4 files changed +31
-4
lines changed Expand file tree Collapse file tree 4 files changed +31
-4
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
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"
3
7
name = " linux-embedded-hal"
8
+ repository = " https://github.com/japaric/linux-embedded-hal"
4
9
version = " 0.1.0"
5
10
6
11
[dependencies ]
Original file line number Diff line number Diff line change 1
1
# ` linux-embedded-hal `
2
2
3
- > Implementation of [ ` embedded-hal ` ] traits for Linux devices
3
+ > Implementation of the [ ` embedded-hal ` ] traits for Linux devices
4
4
5
5
[ `embedded-hal` ] : https://crates.io/crates/embedded-hal
6
6
Original file line number Diff line number Diff line change 1
1
//! Implementation of [`embedded-hal`] traits for Linux devices
2
2
//!
3
3
//! [`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
4
12
5
13
#![ deny( missing_docs) ]
6
14
#![ deny( warnings) ]
@@ -21,14 +29,14 @@ use spidev::SpidevTransfer;
21
29
pub struct Pin ( pub sysfs_gpio:: Pin ) ;
22
30
23
31
impl Pin {
24
- /// See [`sysfs_gpio::Pin::new`][0]
32
+ /// See [`sysfs_gpio::Pin::new`][0] for details.
25
33
///
26
34
/// [0]: https://docs.rs/sysfs_gpio/0.5.1/sysfs_gpio/struct.Pin.html#method.new
27
35
pub fn new ( pin_num : u64 ) -> Pin {
28
36
Pin ( sysfs_gpio:: Pin :: new ( pin_num) )
29
37
}
30
38
31
- /// See [`sysfs_gpio::Pin::from_path`][0]
39
+ /// See [`sysfs_gpio::Pin::from_path`][0] for details.
32
40
///
33
41
/// [0]: https://docs.rs/sysfs_gpio/0.5.1/sysfs_gpio/struct.Pin.html#method.from_path
34
42
pub fn from_path < P > ( path : P ) -> sysfs_gpio:: Result < Pin >
@@ -77,7 +85,7 @@ impl ops::DerefMut for Pin {
77
85
pub struct Spidev ( pub spidev:: Spidev ) ;
78
86
79
87
impl Spidev {
80
- /// See [`spidev::Spidev::open`][0]
88
+ /// See [`spidev::Spidev::open`][0] for details.
81
89
///
82
90
/// [0]: https://docs.rs/spidev/0.3.0/spidev/struct.Spidev.html#method.open
83
91
pub fn open < P > ( path : P ) -> io:: Result < Self >
You can’t perform that action at this time.
0 commit comments