Bump crate versions and add changelog for sdk-test (#66)

This commit is contained in:
Valery Antopol 2021-10-05 16:17:53 +03:00 committed by GitHub
parent 631c6d9885
commit 60cc4fbd9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 21 additions and 12 deletions

6
Cargo.lock generated
View File

@ -879,7 +879,7 @@ dependencies = [
[[package]]
name = "marine-rs-sdk-test"
version = "0.2.0"
version = "0.3.0"
dependencies = [
"fluence-app-service",
"marine-test-macro",
@ -921,7 +921,7 @@ dependencies = [
[[package]]
name = "marine-test-macro"
version = "0.2.0"
version = "0.3.0"
dependencies = [
"marine-test-macro-impl",
"proc-macro-error",
@ -932,7 +932,7 @@ dependencies = [
[[package]]
name = "marine-test-macro-impl"
version = "0.2.0"
version = "0.3.0"
dependencies = [
"darling",
"fluence-app-service",

View File

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

View File

@ -119,7 +119,7 @@ pub(super) fn generate_test_glue_code(
) -> TResult<TokenStream> {
match attrs {
MTestAttributes::MultipleServices(services) => {
generate_test_glue_code_multiple_eservices(func_item, services, test_file_path)
generate_test_glue_code_multiple_services(func_item, services, test_file_path)
}
MTestAttributes::SingleService(service) => {
generate_test_glue_code_single_service(func_item, service, test_file_path)
@ -184,7 +184,7 @@ fn generate_test_glue_code_single_service(
Ok(glue_code)
}
fn generate_test_glue_code_multiple_eservices(
fn generate_test_glue_code_multiple_services(
func_item: syn::ItemFn,
services: HashMap<String, ServiceDescription>,
test_file_path: PathBuf,

View File

@ -1,6 +1,6 @@
[package]
name = "marine-test-macro"
version = "0.2.0" # remember to update html_root_url
version = "0.3.0" # remember to update html_root_url
edition = "2018"
description = "Definition of the `#[marine_test]` macro"
documentation = "https://docs.rs/fluence/marine-test-macro"
@ -18,7 +18,7 @@ proc-macro = true
doctest = false
[dependencies]
marine-test-macro-impl = { path = "../marine-test-macro-impl", version = "=0.2.0" }
marine-test-macro-impl = { path = "../marine-test-macro-impl", version = "=0.3.0" }
quote = "1.0.9"
proc-macro2 = "1.0.24"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
#![doc(html_root_url = "https://docs.rs/sdk-test-macro/0.2.0")]
#![doc(html_root_url = "https://docs.rs/sdk-test-macro/0.3.0")]
#![deny(
dead_code,
nonstandard_style,

9
sdk-test/CHANGELOG.md Normal file
View File

@ -0,0 +1,9 @@
## Version 0.3.0 (2021-10-04)
[PR 61](https://github.com/fluencelabs/marine-rs-sdk/pull/61):
Implemented the first part of [Issue 57](https://github.com/fluencelabs/marine-rs-sdk/issues/57): `marine_test` now can take several named services in attributes, then define interface to the services in `marine_test_env`.
## Version 0.2.0 (2021-09-01)
[PR 54](https://github.com/fluencelabs/marine-rs-sdk/pull/54):
- previously test function accessed module interfaces through externally defined variables, now module interfaces are passed as arguments.
- introduced generated module `marine_test_env` which provides interface for generated structs and functions.

View File

@ -1,6 +1,6 @@
[package]
name = "marine-rs-sdk-test"
version = "0.2.0" # remember to update html_root_url
version = "0.3.0" # remember to update html_root_url
description = "Backend SDK that allows testing modules for the Marine runtime"
documentation = "https://docs.rs/marine-rs-sdk-test"
repository = "https://github.com/fluencelabs/marine-rs-sdk/tree/master/fluence-test"
@ -21,7 +21,7 @@ doctest = false
trybuild = "1.0"
[dependencies]
marine-test-macro = { path = "../crates/marine-test-macro", version = "=0.2.0" }
marine-test-macro = { path = "../crates/marine-test-macro", version = "=0.3.0" }
fluence-app-service = { version = "0.9.0", features = ["raw-module-api"] }
serde = { version = "1.0.118", features = ["derive"] }

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
#![doc(html_root_url = "https://docs.rs/sdk-test/0.2.0")]
#![doc(html_root_url = "https://docs.rs/sdk-test/0.3.0")]
#![deny(
dead_code,
nonstandard_style,