Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
This commit is contained in:
slinkydeveloper 2020-10-30 09:53:49 +01:00 committed by Francesco Guardiani
parent c253dfe06d
commit 30367b7e54
13 changed files with 47 additions and 2 deletions

View File

@ -37,6 +37,7 @@ uuid = { version = "^0.8", features = ["v4", "wasm-bindgen"] }
[dev-dependencies] [dev-dependencies]
rstest = "0.6" rstest = "0.6"
claim = "0.3.1" claim = "0.3.1"
version-sync = "^0.9"
[workspace] [workspace]
members = [ members = [

View File

@ -30,6 +30,7 @@ Note: This project is WIP under active development, hence all APIs are considere
To get started, add the dependency to `Cargo.toml`: To get started, add the dependency to `Cargo.toml`:
```toml ```toml
[dependencies]
cloudevents-sdk = "0.2.0" cloudevents-sdk = "0.2.0"
``` ```

View File

@ -25,3 +25,4 @@ futures = "^0.3"
url = { version = "^2.1", features = ["serde"] } url = { version = "^2.1", features = ["serde"] }
serde_json = "^1.0" serde_json = "^1.0"
chrono = { version = "^0.4", features = ["serde"] } chrono = { version = "^0.4", features = ["serde"] }
version-sync = "^0.9"

View File

@ -41,6 +41,7 @@
//! //!
//! Check out the [cloudevents-sdk](https://docs.rs/cloudevents-sdk) docs for more details on how to use [`cloudevents::Event`] //! Check out the [cloudevents-sdk](https://docs.rs/cloudevents-sdk) docs for more details on how to use [`cloudevents::Event`]
#![doc(html_root_url = "https://docs.rs/cloudevents-sdk-actix-web/0.2.0")]
#![deny(broken_intra_doc_links)] #![deny(broken_intra_doc_links)]
#[macro_use] #[macro_use]

View File

@ -0,0 +1,9 @@
#[test]
fn test_readme_deps() {
version_sync::assert_markdown_deps_updated!("README.md");
}
#[test]
fn test_html_root_url() {
version_sync::assert_html_root_url_updated!("src/lib.rs");
}

View File

@ -24,3 +24,4 @@ serde_json = "^1.0"
chrono = { version = "^0.4", features = ["serde"] } chrono = { version = "^0.4", features = ["serde"] }
futures = "0.3.5" futures = "0.3.5"
rdkafka = { version = "^0.24" } rdkafka = { version = "^0.24" }
version-sync = "^0.9"

View File

@ -48,6 +48,7 @@
//! # } //! # }
//! ``` //! ```
#![doc(html_root_url = "https://docs.rs/cloudevents-sdk-rdkafka/0.2.0")]
#![deny(broken_intra_doc_links)] #![deny(broken_intra_doc_links)]
#[macro_use] #[macro_use]

View File

@ -0,0 +1,9 @@
#[test]
fn test_readme_deps() {
version_sync::assert_markdown_deps_updated!("README.md");
}
#[test]
fn test_html_root_url() {
version_sync::assert_html_root_url_updated!("src/lib.rs");
}

View File

@ -29,3 +29,4 @@ tokio = { version = "^0.2", features = ["full"] }
url = { version = "^2.1" } url = { version = "^2.1" }
serde_json = "^1.0" serde_json = "^1.0"
chrono = { version = "^0.4", features = ["serde"] } chrono = { version = "^0.4", features = ["serde"] }
version-sync = "^0.9"

View File

@ -29,6 +29,7 @@
//! //!
//! Check out the [cloudevents-sdk](https://docs.rs/cloudevents-sdk) docs for more details on how to use [`cloudevents::Event`]. //! Check out the [cloudevents-sdk](https://docs.rs/cloudevents-sdk) docs for more details on how to use [`cloudevents::Event`].
#![doc(html_root_url = "https://docs.rs/cloudevents-sdk-reqwest/0.2.0")]
#![deny(broken_intra_doc_links)] #![deny(broken_intra_doc_links)]
#[macro_use] #[macro_use]

View File

@ -0,0 +1,9 @@
#[test]
fn test_readme_deps() {
version_sync::assert_markdown_deps_updated!("README.md");
}
#[test]
fn test_html_root_url() {
version_sync::assert_html_root_url_updated!("src/lib.rs");
}

View File

@ -37,6 +37,7 @@
//! * [cloudevents-sdk-rdkafka](https://docs.rs/cloudevents-sdk-rdkafka): Integration with [rdkafka](https://fede1024.github.io/rust-rdkafka) //! * [cloudevents-sdk-rdkafka](https://docs.rs/cloudevents-sdk-rdkafka): Integration with [rdkafka](https://fede1024.github.io/rust-rdkafka)
//! //!
#![doc(html_root_url = "https://docs.rs/cloudevents-sdk/0.2.0")]
#![deny(broken_intra_doc_links)] #![deny(broken_intra_doc_links)]
pub mod event; pub mod event;

9
tests/version_number.rs Normal file
View File

@ -0,0 +1,9 @@
#[test]
fn test_readme_deps() {
version_sync::assert_markdown_deps_updated!("README.md");
}
#[test]
fn test_html_root_url() {
version_sync::assert_html_root_url_updated!("src/lib.rs");
}