chore: Move the crates into a subfolder
parent
b3bbcd1729
commit
041ef66c01
|
@ -83,7 +83,7 @@ jobs:
|
||||||
|
|
||||||
- name: Check
|
- name: Check
|
||||||
run: |
|
run: |
|
||||||
cd matrix_sdk/examples/wasm_command_bot
|
cd crates/matrix_sdk/examples/wasm_command_bot
|
||||||
cargo check --target wasm32-unknown-unknown
|
cargo check --target wasm32-unknown-unknown
|
||||||
|
|
||||||
test-appservice:
|
test-appservice:
|
||||||
|
@ -121,19 +121,19 @@ jobs:
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: clippy
|
command: clippy
|
||||||
args: --manifest-path matrix_sdk_appservice/Cargo.toml ${{ matrix.cargo_args }} -- -D warnings
|
args: --manifest-path crates/matrix_sdk_appservice/Cargo.toml ${{ matrix.cargo_args }} -- -D warnings
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
args: --manifest-path matrix_sdk_appservice/Cargo.toml ${{ matrix.cargo_args }}
|
args: --manifest-path crates/matrix_sdk_appservice/Cargo.toml ${{ matrix.cargo_args }}
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
args: --manifest-path matrix_sdk_appservice/Cargo.toml ${{ matrix.cargo_args }}
|
args: --manifest-path crates/matrix_sdk_appservice/Cargo.toml ${{ matrix.cargo_args }}
|
||||||
|
|
||||||
test-features:
|
test-features:
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
|
@ -197,13 +197,13 @@ jobs:
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
args: --manifest-path matrix_sdk/Cargo.toml ${{ matrix.cargo_args }}
|
args: --manifest-path crates/matrix_sdk/Cargo.toml ${{ matrix.cargo_args }}
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
args: --manifest-path matrix_sdk/Cargo.toml ${{ matrix.cargo_args }}
|
args: --manifest-path crates/matrix_sdk/Cargo.toml ${{ matrix.cargo_args }}
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
|
|
16
Cargo.toml
16
Cargo.toml
|
@ -1,11 +1,11 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = [
|
||||||
"matrix_sdk",
|
"crates/matrix_sdk",
|
||||||
"matrix_qrcode",
|
"crates/matrix_qrcode",
|
||||||
"matrix_sdk_base",
|
"crates/matrix_sdk_base",
|
||||||
"matrix_sdk_test",
|
"crates/matrix_sdk_test",
|
||||||
"matrix_sdk_test_macros",
|
"crates/matrix_sdk_test_macros",
|
||||||
"matrix_sdk_crypto",
|
"crates/matrix_sdk_crypto",
|
||||||
"matrix_sdk_common",
|
"crates/matrix_sdk_common",
|
||||||
"matrix_sdk_appservice"
|
"crates/matrix_sdk_appservice"
|
||||||
]
|
]
|
||||||
|
|
17
Makefile
17
Makefile
|
@ -1,17 +0,0 @@
|
||||||
all: build
|
|
||||||
|
|
||||||
build:
|
|
||||||
cargo build
|
|
||||||
test:
|
|
||||||
cargo test
|
|
||||||
|
|
||||||
coverage:
|
|
||||||
cargo tarpaulin -v
|
|
||||||
|
|
||||||
clean:
|
|
||||||
cargo clean
|
|
||||||
|
|
||||||
format:
|
|
||||||
cargo fmt
|
|
||||||
|
|
||||||
.PHONY: clean test coverage
|
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
|
@ -80,5 +80,5 @@ The `RUST_LOG` variable also supports a more advanced syntax for filtering
|
||||||
log output more precisely, for instance with crate-level granularity. For
|
log output more precisely, for instance with crate-level granularity. For
|
||||||
more information on this, check out the [tracing_subscriber documentation].
|
more information on this, check out the [tracing_subscriber documentation].
|
||||||
|
|
||||||
[examples]: https://github.com/matrix-org/matrix-rust-sdk/tree/master/matrix_sdk/examples
|
[examples]: https://github.com/matrix-org/matrix-rust-sdk/tree/master/crates/matrix_sdk/examples
|
||||||
[tracing_subscriber documentation]: https://tracing.rs/tracing_subscriber/filter/struct.envfilter
|
[tracing_subscriber documentation]: https://tracing.rs/tracing_subscriber/filter/struct.envfilter
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue