Skip to content

Commit

Permalink
Add metadata for docs.rs and break dependency cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
oxalica committed Feb 17, 2023
1 parent 910deed commit 319f62f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ macros = { version = "=0.4.1", package = "async-ffi-macros", path = "./macros",
tokio = { version = "1.4.0", features = ["macros", "rt-multi-thread", "sync", "time"] }

[workspace]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
2 changes: 1 addition & 1 deletion macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ quote = "1.0"
syn = { version = "1.0", features = ["full"] }

[dev-dependencies]
async-ffi = { path = ".." }
async-ffi = { version = "0.4", path = ".." }
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
//!
//! [`abi-stable`]: https://github.com/rodrimati1992/abi_stable_crates/
#![deny(missing_docs)]
#![cfg_attr(docsrs, feature(doc_cfg))]
use std::{
convert::{TryFrom, TryInto},
fmt,
Expand Down

0 comments on commit 319f62f

Please sign in to comment.