use doc(hidden) on internal api (#62)

This commit is contained in:
Valery Antopol 2021-09-28 15:44:12 +03:00 committed by GitHub
parent 7cad957fe7
commit 17eb14aa48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 25 additions and 24 deletions

20
Cargo.lock generated
View File

@ -756,9 +756,9 @@ dependencies = [
[[package]]
name = "marine-macro"
version = "0.6.12"
version = "0.6.13"
dependencies = [
"marine-macro-impl 0.6.12",
"marine-macro-impl 0.6.13",
]
[[package]]
@ -777,7 +777,7 @@ dependencies = [
[[package]]
name = "marine-macro-impl"
version = "0.6.12"
version = "0.6.13"
dependencies = [
"marine-macro-testing-utils",
"pretty_assertions",
@ -846,11 +846,11 @@ dependencies = [
[[package]]
name = "marine-rs-sdk"
version = "0.6.12"
version = "0.6.13"
dependencies = [
"marine-macro 0.6.12",
"marine-rs-sdk-main 0.6.12",
"marine-timestamp-macro 0.6.12",
"marine-macro 0.6.13",
"marine-rs-sdk-main 0.6.13",
"marine-timestamp-macro 0.6.13",
"serde",
"trybuild",
]
@ -868,11 +868,11 @@ dependencies = [
[[package]]
name = "marine-rs-sdk-main"
version = "0.6.12"
version = "0.6.13"
dependencies = [
"lazy_static",
"log",
"marine-macro 0.6.12",
"marine-macro 0.6.13",
"serde",
"simple_logger",
]
@ -959,7 +959,7 @@ dependencies = [
[[package]]
name = "marine-timestamp-macro"
version = "0.6.12"
version = "0.6.13"
dependencies = [
"chrono",
"quote",

View File

@ -1,6 +1,6 @@
[package]
name = "marine-rs-sdk-main"
version = "0.6.12" # remember to update html_root_url
version = "0.6.13" # remember to update html_root_url
edition = "2018"
description = "Contains logger, allocators and several other modules for marine-rs-sdk"
documentation = "https://docs.rs/marine-rs-sdk-main"
@ -19,7 +19,7 @@ crate-type = ["rlib"]
doctest = false
[dependencies]
marine-macro = { path = "../marine-macro", version = "=0.6.12" }
marine-macro = { path = "../marine-macro", version = "=0.6.13" }
log = { version = "0.4.8", features = ["std"] }
serde = "1.0.118"

View File

@ -19,7 +19,7 @@
#![allow(clippy::missing_safety_doc)]
#![allow(clippy::needless_doctest_main)]
#![doc(html_root_url = "https://docs.rs/marine-rs-sdk-main/0.6.12")]
#![doc(html_root_url = "https://docs.rs/marine-rs-sdk-main/0.6.13")]
#![deny(
dead_code,
nonstandard_style,

View File

@ -1,6 +1,6 @@
[package]
name = "marine-macro-impl"
version = "0.6.12" # remember to update html_root_url
version = "0.6.13" # remember to update html_root_url
edition = "2018"
description = "Implementation of the `#[marine]` macro"
documentation = "https://docs.rs/fluence/marine-macro-impl"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
#![doc(html_root_url = "https://docs.rs/marine-macro-impl/0.6.12")]
#![doc(html_root_url = "https://docs.rs/marine-macro-impl/0.6.13")]
#![deny(
dead_code,
nonstandard_style,

View File

@ -1,6 +1,6 @@
[package]
name = "marine-macro"
version = "0.6.12" # remember to update html_root_url
version = "0.6.13" # remember to update html_root_url
edition = "2018"
description = "Definition of the `#[marine]` macro"
documentation = "https://docs.rs/fluence/marine-macro"
@ -18,4 +18,4 @@ proc-macro = true
doctest = false
[dependencies]
marine-macro-impl = { path = "../marine-macro-impl", version = "=0.6.12" }
marine-macro-impl = { path = "../marine-macro-impl", version = "=0.6.13" }

View File

@ -50,7 +50,7 @@
//!
//! ```
#![doc(html_root_url = "https://docs.rs/marine-macro/0.6.12")]
#![doc(html_root_url = "https://docs.rs/marine-macro/0.6.13")]
#![deny(
dead_code,
nonstandard_style,

View File

@ -1,6 +1,6 @@
[package]
name = "marine-timestamp-macro"
version = "0.6.12" # remember to update html_root_url
version = "0.6.13" # remember to update html_root_url
edition = "2018"
description = "Definition of the `#[build_timestamp]` macro"
documentation = "https://docs.rs/fluence/marine-timestamp-macro"

View File

@ -1,6 +1,6 @@
[package]
name = "marine-rs-sdk"
version = "0.6.12" # remember to update html_root_url
version = "0.6.13" # remember to update html_root_url
description = "Fluence backend SDK for developing backend applications for the Fluence network"
documentation = "https://docs.rs/fluence"
repository = "https://github.com/fluencelabs/marine-rs-sdk"
@ -18,9 +18,9 @@ path = "src/lib.rs"
doctest = false
[dependencies]
marine-macro = { path = "../crates/marine-macro", version = "=0.6.12" }
marine-rs-sdk-main = { path = "../crates/main", version = "=0.6.12" }
marine-timestamp-macro = { path = "../crates/timestamp-macro", version = "=0.6.12" }
marine-macro = { path = "../crates/marine-macro", version = "=0.6.13" }
marine-rs-sdk-main = { path = "../crates/main", version = "=0.6.13" }
marine-timestamp-macro = { path = "../crates/timestamp-macro", version = "=0.6.13" }
serde = { version = "1.0.118", features = ["derive"]}

View File

@ -55,7 +55,7 @@
//! pub fn curl_get(url: String) -> String;
//! }
//! ```
#![doc(html_root_url = "https://docs.rs/sdk/0.6.12")]
#![doc(html_root_url = "https://docs.rs/sdk/0.6.13")]
#![deny(
dead_code,
nonstandard_style,
@ -94,6 +94,7 @@ pub use marine_rs_sdk_main::module_manifest;
/// These API functions are intended for internal usage in generated code.
/// Normally, you shouldn't use them.
#[doc(hidden)]
pub mod internal {
pub use marine_rs_sdk_main::get_result_ptr;
pub use marine_rs_sdk_main::get_result_size;