Skip to content

Commit ef842a8

Browse files
CommanderStormDDtKeymdelapenya
authored
docs: document 28 of the existing rust community modules (#142)
* document 28 of the existing rust community modules * fix having surrealdb twice * test if a different linting thing works * remove unnessesarily specific examples * fix typo Co-authored-by: Artem Medvedev <[email protected]> * fix typo Co-authored-by: Artem Medvedev <[email protected]> --------- Co-authored-by: Artem Medvedev <[email protected]> Co-authored-by: Manuel de la Peña <[email protected]>
1 parent c72eab3 commit ef842a8

File tree

28 files changed

+307
-6
lines changed

28 files changed

+307
-6
lines changed

modules/azurite/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,17 @@ docs:
7272
```bash
7373
npm install @testcontainers/azurite --save-dev
7474
```
75+
- id: rust
76+
url: https://docs.rs/testcontainers-modules/latest/testcontainers_modules/index.html
77+
maintainer: community
78+
example: |
79+
```rust
80+
testcontainers_modules::azurite::Azurite::default().start()
81+
```
82+
installation: |
83+
```bash
84+
cargo add -F azurite --dev testcontainers-modules
85+
```
7586
description: |
7687
A lightweight server clone of Azure Storage.
7788
---

modules/clickhouse/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@ docs:
5858
```bash
5959
pip install testcontainers[clickhouse]
6060
```
61+
- id: rust
62+
url: https://docs.rs/testcontainers-modules/latest/testcontainers_modules/clickhouse/struct.ClickHouse.html
63+
maintainer: community
64+
example: |
65+
```rust
66+
testcontainers_modules::clickhouse::ClickHouse::default().start()
67+
```
68+
installation: |
69+
```bash
70+
cargo add -F clickhouse --dev testcontainers-modules
6171
- id: nodejs
6272
url: https://node.testcontainers.org/modules/clickhouse/
6373
maintainer: core

modules/cockroachdb/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,17 @@ docs:
7474
```bash
7575
pip install testcontainers[cockroachdb]
7676
```
77+
- id: rust
78+
url: https://docs.rs/testcontainers-modules/latest/testcontainers_modules/cockroach_db/struct.CockroachDb.html
79+
maintainer: community
80+
example: |
81+
```rust
82+
testcontainers_modules::cockroach_db::CockroachDb::default().start()
83+
```
84+
installation: |
85+
```bash
86+
cargo add -F clicockroach_db --dev testcontainers-modules
87+
```
7788
description: |
7889
CockroachDB is an open-source, cloud-native, resilient, distributed SQL database.
7990
---

modules/consul/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@ docs:
4545
```bash
4646
dotnet add package Testcontainers.Consul
4747
```
48+
- id: rust
49+
url: https://docs.rs/testcontainers-modules/latest/testcontainers_modules/consul/struct.Consul.html
50+
maintainer: community
51+
example: |
52+
```rust
53+
testcontainers_modules::consul::Consul::default().start()
54+
```
55+
installation: |
56+
```bash
57+
cargo add -F consul --dev testcontainers-modules
58+
```
4859
description: |
4960
Consul is a service mesh and distributed key-value store.
5061

modules/databend/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ docs:
3232
go get github.com/testcontainers/testcontainers-go/modules/databend
3333
```
3434
- id: rust
35-
url: https://github.com/testcontainers/testcontainers-rs-modules-community
35+
url: https://docs.rs/testcontainers-modules/latest/testcontainers_modules/databend/struct.Databend.html
3636
maintainer: community
3737
example: |
3838
```rust
39-
let databend = DatabendImage::default().start().await.unwrap();
39+
testcontainers_modules::databend::Databend::default().start()
4040
```
4141
installation: |
4242
```bash
43-
cargo add -F surrealdb --dev testcontainers-modules
43+
cargo add -F databend --dev testcontainers-modules
4444
```
4545
description: |
4646
Databend, built in Rust, is an open-source cloud data warehouse.

modules/dynamodb/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ docs:
2828
```bash
2929
dotnet add package Testcontainers.DynamoDb
3030
```
31+
- id: rust
32+
url: https://docs.rs/testcontainers-modules/latest/testcontainers_modules/dynamodb_local/struct.DynamoDb.html
33+
maintainer: community
34+
example: |
35+
```rust
36+
testcontainers_modules::dynamodb_local::DynamoDb::default().start()
37+
```
38+
installation: |
39+
```bash
40+
cargo add -F dynamodb --dev testcontainers-modules
41+
```
3142
description: |
3243
Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability.
3344

modules/elasticsearch/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,17 @@ docs:
6969
```bash
7070
pip install testcontainers[elasticsearch]
7171
```
72+
- id: rust
73+
url: https://docs.rs/testcontainers-modules/latest/testcontainers_modules/elastic_search/struct.ElasticSearch.html
74+
maintainer: community
75+
example: |
76+
```rust
77+
testcontainers_modules::elastic_search::ElasticSearch::default().start()
78+
```
79+
installation: |
80+
```bash
81+
cargo add -F elastic_search --dev testcontainers-modules
82+
```
7283
description: |
7384
Elasticsearch is a search and analytics engine based on Apache Lucene. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents.
7485
---

modules/k3s/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,17 @@ docs:
6767
```bash
6868
npm install @testcontainers/k3s --save-dev
6969
```
70+
- id: rust
71+
url: https://docs.rs/testcontainers-modules/latest/testcontainers_modules/k3s/struct.K3s.html
72+
maintainer: community
73+
example: |
74+
```rust
75+
testcontainers_modules::k3s::K3s::default().start()
76+
```
77+
installation: |
78+
```bash
79+
cargo add -F k3s --dev testcontainers-modules
80+
```
7081
description: |
7182
K3s is a highly available, certified Kubernetes distribution designed for production workloads in unattended, resource-constrained, remote locations or inside IoT appliances.
7283
---

modules/kafka/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,18 @@ docs:
6868
```bash
6969
pip install testcontainers[kafka]
7070
```
71+
- id: rust
72+
url: https://docs.rs/testcontainers-modules/latest/testcontainers_modules/kafka/index.html
73+
maintainer: community
74+
example: |
75+
```rust
76+
testcontainers_modules::kafka::confluent::Kafka::default().start()
77+
// or also: testcontainers_modules::kafka::apache::Kafka::default().start()
78+
```
79+
installation: |
80+
```bash
81+
cargo add -F kafka --dev testcontainers-modules
82+
```
7183
description: |
7284
Kafka is an open-source distributed event streaming platform for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications.
7385
---

modules/mariadb/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,17 @@ docs:
5656
```bash
5757
npm install @testcontainers/mariadb --save-dev
5858
```
59+
- id: rust
60+
url: https://docs.rs/testcontainers-modules/latest/testcontainers_modules/mariadb/struct.Mariadb.html
61+
maintainer: community
62+
example: |
63+
```rust
64+
testcontainers_modules::mariadb::Mariadb::default().start()
65+
```
66+
installation: |
67+
```bash
68+
cargo add -F mariadb --dev testcontainers-modules
69+
```
5970
description: |
6071
MariaDB is a community-developed, commercially supported fork of the MySQL relational database management system.
6172
---

0 commit comments

Comments
 (0)