Skip to content

Commit ec2a919

Browse files
author
Hui Zhu
authored
Merge pull request #46 from Tim-Zhang/fix-docs
Fix doc.rs
2 parents 0997a9c + 98eb436 commit ec2a919

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ttrpc"
3-
version = "0.4.1"
3+
version = "0.4.2"
44
authors = ["The AntFin Kata Team <[email protected]>"]
55
edition = "2018"
66
license = "Apache-2.0"

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
//! - `sync`: Enables traditional sync server and client (default enabled).
2727
//! - `protobuf-codec`: Includes rust-protobuf (default enabled).
2828
29+
#![cfg_attr(docsrs, feature(doc_cfg))]
30+
2931
#[macro_use]
3032
extern crate log;
3133

0 commit comments

Comments
 (0)