Skip to content

Commit 6c937b9

Browse files
authored
Merge pull request #46 from jonas-schievink/readme
Replace the `description` field with the readme
2 parents 73f17a9 + c1cab44 commit 6c937b9

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

Cargo.toml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,8 @@ license = "MIT/Apache-2.0"
66
repository = "https://github.com/rust-embedded/rust-sysfs-gpio"
77
homepage = "https://github.com/rust-embedded/rust-sysfs-gpio"
88
documentation = "http://rust-embedded.github.io/rust-sysfs-gpio/"
9-
description = """
10-
Provides access to the Linux sysfs interface to GPIOs.
11-
Via the `sysfs_gpio` crate you can export, unexport,
12-
set the direction, read, write, and poll (using
13-
interrupts) GPIOs from userspace.
14-
15-
See https://www.kernel.org/doc/Documentation/gpio/sysfs.txt
16-
"""
9+
description = "Provides access to GPIOs using the Linux sysfs interface."
10+
readme = "README.md"
1711

1812
[features]
1913
mio-evented = ["mio"]

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
rust-sysfs-gpio
2-
===============
1+
sysfs_gpio
2+
==========
33

44
[![Build Status](https://travis-ci.org/rust-embedded/rust-sysfs-gpio.svg?branch=master)](https://travis-ci.org/rust-embedded/rust-sysfs-gpio)
55
[![Version](https://img.shields.io/crates/v/sysfs-gpio.svg)](https://crates.io/crates/sysfs-gpio)
66
[![License](https://img.shields.io/crates/l/sysfs-gpio.svg)](https://github.com/rust-embedded/rust-sysfs-gpio/blob/master/README.md#license)
77

88
- [API Documentation](https://docs.rs/sysfs_gpio)
99

10-
rust-sysfs-gpio is a rust library/crate providing access to the Linux
11-
sysfs GPIO interface (https://www.kernel.org/doc/Documentation). It
12-
seeks to provide an API that is safe, convenient, and efficient.
10+
The `sysfs_gpio` crate provides access to the Linux sysfs GPIO interface
11+
(https://www.kernel.org/doc/Documentation/gpio/sysfs.txt). It seeks to provide
12+
an API that is safe, convenient, and efficient and supports exporting,
13+
unexporting, reading, writing and waiting for interrupts on pins.
1314

1415
Many devices such as the Raspberry Pi or Beaglebone Black provide
1516
userspace access to a number of GPIO peripherals. The standard kernel

0 commit comments

Comments
 (0)