From c643369d72d82c58179655e41e8228d85738a0b2 Mon Sep 17 00:00:00 2001 From: yoshidan Date: Thu, 6 Feb 2025 19:26:31 +0900 Subject: [PATCH] suppress doctest --- artifact-registry/Cargo.toml | 3 +++ bigquery/Cargo.toml | 3 +++ foundation/auth/Cargo.toml | 3 +++ foundation/gax/Cargo.toml | 3 +++ foundation/longrunning/Cargo.toml | 3 +++ foundation/metadata/Cargo.toml | 3 +++ foundation/token/Cargo.toml | 3 +++ googleapis/Cargo.toml | 3 ++- kms/Cargo.toml | 3 +++ pubsub/Cargo.toml | 3 +++ spanner-derive/Cargo.toml | 1 + spanner/Cargo.toml | 3 +++ storage/Cargo.toml | 3 +++ 13 files changed, 36 insertions(+), 1 deletion(-) diff --git a/artifact-registry/Cargo.toml b/artifact-registry/Cargo.toml index 7de23a36..90273913 100644 --- a/artifact-registry/Cargo.toml +++ b/artifact-registry/Cargo.toml @@ -10,6 +10,9 @@ readme = "README.md" description = "Google Cloud Platform Artifact Registry client library." documentation = "https://docs.rs/gcloud-artifact-registry/latest/gcloud_artifact_registry/" +[lib] +doctest = false + [dependencies] google-cloud-token = { package = "gcloud-token", version = "1.0.0", path = "../foundation/token" } google-cloud-auth = { package = "gcloud-auth", optional = true, version = "1.0.0", path="../foundation/auth", default-features=false } diff --git a/bigquery/Cargo.toml b/bigquery/Cargo.toml index d7e750d0..5db1f229 100644 --- a/bigquery/Cargo.toml +++ b/bigquery/Cargo.toml @@ -10,6 +10,9 @@ readme = "README.md" description = "Google Cloud Platform bigquery client library." documentation = "https://docs.rs/gcloud-bigquery/latest/gcloud_bigquery/" +[lib] +doctest = false + [dependencies] async-trait = "0.1" google-cloud-token = { package = "gcloud-token", version = "1.0.0", path = "../foundation/token" } diff --git a/foundation/auth/Cargo.toml b/foundation/auth/Cargo.toml index 105b0a92..fbf1905c 100644 --- a/foundation/auth/Cargo.toml +++ b/foundation/auth/Cargo.toml @@ -9,6 +9,9 @@ license = "MIT" readme = "README.md" description = "Google Cloud Platform server application authentication library." +[lib] +doctest = false + [dependencies] tracing = "0.1" reqwest = { version = "0.12.4", features = ["json", "charset"], default-features = false } diff --git a/foundation/gax/Cargo.toml b/foundation/gax/Cargo.toml index 174e08a2..c1f0a2ac 100644 --- a/foundation/gax/Cargo.toml +++ b/foundation/gax/Cargo.toml @@ -9,6 +9,9 @@ license = "MIT" readme = "README.md" description = "Google Cloud Platform gRPC retry library." +[lib] +doctest = false + [dependencies] tracing = "0.1" tokio = { version = "1.32", features = ["macros"] } diff --git a/foundation/longrunning/Cargo.toml b/foundation/longrunning/Cargo.toml index 3b3403c0..ad073d9e 100644 --- a/foundation/longrunning/Cargo.toml +++ b/foundation/longrunning/Cargo.toml @@ -9,6 +9,9 @@ license = "MIT" readme = "README.md" description = "Google Cloud Platform longrunning library." +[lib] +doctest = false + [dependencies] google-cloud-googleapis = { package = "gcloud-googleapis", version = "1.0.0", path = "../../googleapis" } google-cloud-gax = { package = "gcloud-gax", version = "1.0.0", path = "../gax" } diff --git a/foundation/metadata/Cargo.toml b/foundation/metadata/Cargo.toml index 07b6bb4a..2c761a8d 100644 --- a/foundation/metadata/Cargo.toml +++ b/foundation/metadata/Cargo.toml @@ -9,6 +9,9 @@ license = "MIT" readme = "README.md" description = "Google Cloud Platform rust client." +[lib] +doctest = false + [dependencies] tokio = { version = "1.32", features = ["sync", "net", "parking_lot"] } # this crate uses http only diff --git a/foundation/token/Cargo.toml b/foundation/token/Cargo.toml index 375c29d0..033f8ff8 100644 --- a/foundation/token/Cargo.toml +++ b/foundation/token/Cargo.toml @@ -9,5 +9,8 @@ license = "MIT" readme = "README.md" description = "Google Cloud Platform token spec." +[lib] +doctest = false + [dependencies] async-trait = "0.1" \ No newline at end of file diff --git a/googleapis/Cargo.toml b/googleapis/Cargo.toml index 2c971ba4..7014d194 100644 --- a/googleapis/Cargo.toml +++ b/googleapis/Cargo.toml @@ -9,7 +9,8 @@ license = "MIT" readme = "README.md" description = "Google Cloud Platform rust client." -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[lib] +doctest = false [dependencies] tonic = { version = "0.12", default-features = false, features = ["channel", "prost", "codegen", "gzip"] } diff --git a/kms/Cargo.toml b/kms/Cargo.toml index fc56d0de..781aa0ba 100644 --- a/kms/Cargo.toml +++ b/kms/Cargo.toml @@ -10,6 +10,9 @@ readme = "README.md" description = "Google Cloud Platform Key Management Service client library." documentation = "https://docs.rs/gcloud-kms/latest/gcloud_kms/" +[lib] +doctest = false + [dependencies] google-cloud-token = { package = "gcloud-token", version = "1.0.0", path = "../foundation/token" } google-cloud-auth = { package = "gcloud-auth", optional = true, version = "1.0.0", path="../foundation/auth", default-features=false } diff --git a/pubsub/Cargo.toml b/pubsub/Cargo.toml index 476fa799..ebf626eb 100644 --- a/pubsub/Cargo.toml +++ b/pubsub/Cargo.toml @@ -10,6 +10,9 @@ readme = "README.md" description = "Google Cloud Platform pubsub client library." documentation = "https://docs.rs/gcloud-pubsub/latest/gcloud_pubsub/" +[lib] +doctest = false + [dependencies] tracing = "0.1" prost-types = "0.13" diff --git a/spanner-derive/Cargo.toml b/spanner-derive/Cargo.toml index e819fd58..d5354926 100644 --- a/spanner-derive/Cargo.toml +++ b/spanner-derive/Cargo.toml @@ -11,6 +11,7 @@ description = "Google Cloud Platform spanner client library macro derive." documentation = "https://docs.rs/gcloud-spanner/latest/gcloud_spanner_derive/" [lib] +doctest = false proc-macro = true [dependencies] diff --git a/spanner/Cargo.toml b/spanner/Cargo.toml index ada8c4f7..7e4343c2 100644 --- a/spanner/Cargo.toml +++ b/spanner/Cargo.toml @@ -10,6 +10,9 @@ readme = "README.md" description = "Google Cloud Platform spanner client library." documentation = "https://docs.rs/gcloud-spanner/latest/gcloud_spanner/" +[lib] +doctest = false + [dependencies] tracing = "0.1" prost-types = "0.13" diff --git a/storage/Cargo.toml b/storage/Cargo.toml index 9eae5895..3d81a1bd 100644 --- a/storage/Cargo.toml +++ b/storage/Cargo.toml @@ -10,6 +10,9 @@ readme = "README.md" repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/storage" version = "1.0.0" +[lib] +doctest = false + [dependencies] anyhow = "1.0" base64 = "0.21"