Re-export most useful items from js_int

Using `#[doc(no_inline)]` to make it obvious in docs that these are
from a crate separate from Ruma.
This commit is contained in:
Jonas Platte 2020-09-24 15:13:31 +02:00
parent eeb5df2c95
commit 4e34079c2f
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67
2 changed files with 5 additions and 0 deletions

View File

@ -32,6 +32,8 @@ identity-service-api = ["ruma-api", "ruma-identity-service-api"]
push-gateway-api = ["ruma-api", "ruma-push-gateway-api"]
[dependencies]
js_int = "0.1.9"
ruma-common = { version = "0.2.0", path = "../ruma-common" }
ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers", features = ["serde"] }
ruma-serde = { version = "0.2.3", path = "../ruma-serde" }

View File

@ -13,6 +13,9 @@
#![deny(missing_docs)]
#[doc(no_inline)]
pub use js_int::{int, uint, Int, UInt};
pub use ruma_common::*;
#[doc(inline)]
pub use ruma_identifiers as identifiers;