mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
tokio-fs: Bump version to 0.1.2 (#469)
* Add a couple of missing full stops in the documentation
This commit is contained in:
committed by
Carl Lerche
parent
78b6bd4ca5
commit
39c95d6206
@@ -1,4 +1,4 @@
|
|||||||
# 0.1.2 (Unreleased)
|
# 0.1.2 (July 11, 2018)
|
||||||
|
|
||||||
* Add `metadata` and `File::metadata` ([#433](https://github.com/tokio-rs/tokio/pull/433), [#385](https://github.com/tokio-rs/tokio/pull/385))
|
* Add `metadata` and `File::metadata` ([#433](https://github.com/tokio-rs/tokio/pull/433), [#385](https://github.com/tokio-rs/tokio/pull/385))
|
||||||
* Add `File::seek` ([#434](https://github.com/tokio-rs/tokio/pull/434))
|
* Add `File::seek` ([#434](https://github.com/tokio-rs/tokio/pull/434))
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ name = "tokio-fs"
|
|||||||
# - Update html_root_url.
|
# - Update html_root_url.
|
||||||
# - Update CHANGELOG.md.
|
# - Update CHANGELOG.md.
|
||||||
# - Create "v0.1.x" git tag.
|
# - Create "v0.1.x" git tag.
|
||||||
version = "0.1.1"
|
version = "0.1.2"
|
||||||
authors = ["Carl Lerche <[email protected]>"]
|
authors = ["Carl Lerche <[email protected]>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ use futures::{Future, Poll};
|
|||||||
|
|
||||||
use std::io;
|
use std::io;
|
||||||
|
|
||||||
/// Future returned by `File::seek`
|
/// Future returned by `File::seek`.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct SeekFuture {
|
pub struct SeekFuture {
|
||||||
inner: Option<File>,
|
inner: Option<File>,
|
||||||
|
|||||||
+1
-1
@@ -26,7 +26,7 @@
|
|||||||
//! [tokio-threadpool]: https://docs.rs/tokio-threadpool/0.1/tokio_threadpool
|
//! [tokio-threadpool]: https://docs.rs/tokio-threadpool/0.1/tokio_threadpool
|
||||||
|
|
||||||
#![deny(missing_docs, missing_debug_implementations, warnings)]
|
#![deny(missing_docs, missing_debug_implementations, warnings)]
|
||||||
#![doc(html_root_url = "https://docs.rs/tokio-fs/0.1.1")]
|
#![doc(html_root_url = "https://docs.rs/tokio-fs/0.1.2")]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate futures;
|
extern crate futures;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ use std::fs::{self, Metadata};
|
|||||||
use std::io;
|
use std::io;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
/// Queries the file system metadata for a path
|
/// Queries the file system metadata for a path.
|
||||||
pub fn metadata<P>(path: P) -> MetadataFuture<P>
|
pub fn metadata<P>(path: P) -> MetadataFuture<P>
|
||||||
where
|
where
|
||||||
P: AsRef<Path> + Send + 'static,
|
P: AsRef<Path> + Send + 'static,
|
||||||
@@ -14,7 +14,7 @@ where
|
|||||||
MetadataFuture::new(path)
|
MetadataFuture::new(path)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Future returned by `metadata`
|
/// Future returned by `metadata`.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct MetadataFuture<P>
|
pub struct MetadataFuture<P>
|
||||||
where
|
where
|
||||||
|
|||||||
Reference in New Issue
Block a user