Skip to content

Commit 98488f6

Browse files
committed
feat: add feature docs
1 parent cc75843 commit 98488f6

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ name = "tako"
7474
path = "src/lib.rs"
7575
doctest = false
7676

77+
[package.metadata.docs.rs]
78+
all-features = true
79+
rustdoc-args = ["--cfg", "docsrs"]
80+
7781
[[example]]
7882
name = "auth"
7983
path = "examples/auth/src/main.rs"

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
2+
13
//! A lightweight and modular web framework for building async applications in Rust.
24
//!
35
//! Tako provides core components for routing, middleware, request handling, and response

0 commit comments

Comments
 (0)