Skip to content

Commit

Permalink
Update docs and bump version to 0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
devashishdxt committed Jan 7, 2020
1 parent e1662a3 commit fe20d9f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "abci-rs"
version = "0.4.1"
version = "0.4.2"
authors = ["Devashish Dixit <devashishdxt@gmail.com>"]
license = "MIT/Apache-2.0"
description = "A Rust crate for creating ABCI applications"
Expand All @@ -16,6 +16,10 @@ edition = "2018"
[lib]
name = "abci"

[package.metadata.docs.rs]
features = ["doc"]
rustdoc-args = ["--cfg", "feature=\"doc\""]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
//!
//! - Tendermint v0.32.0
//! - ABCI v0.16.0
#![cfg_attr(any(docsrs, feature = "doc"), feature(doc_cfg))]
#![cfg_attr(feature = "doc", feature(doc_cfg))]

#[cfg(all(feature = "async-std", feature = "tokio"))]
compile_error!("Features `async-std` and `tokio` are mutually exclusive");
Expand Down
2 changes: 1 addition & 1 deletion src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ pub enum Address {
Tcp(SocketAddr),
/// UDS Address
#[cfg(unix)]
#[cfg_attr(any(docsrs, feature = "doc"), doc(cfg(unix)))]
#[cfg_attr(feature = "doc", doc(cfg(unix)))]
Uds(PathBuf),
}

Expand Down

0 comments on commit fe20d9f

Please sign in to comment.