chore: Move the crates into a subfolder

master
Damir Jelić 2021-09-14 09:58:22 +02:00
parent b3bbcd1729
commit 041ef66c01
138 changed files with 15 additions and 32 deletions

View File

@ -83,7 +83,7 @@ jobs:
- name: Check
run: |
cd matrix_sdk/examples/wasm_command_bot
cd crates/matrix_sdk/examples/wasm_command_bot
cargo check --target wasm32-unknown-unknown
test-appservice:
@ -121,19 +121,19 @@ jobs:
uses: actions-rs/cargo@v1
with:
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
uses: actions-rs/cargo@v1
with:
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
uses: actions-rs/cargo@v1
with:
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:
name: ${{ matrix.name }}
@ -197,13 +197,13 @@ jobs:
uses: actions-rs/cargo@v1
with:
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
uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path matrix_sdk/Cargo.toml ${{ matrix.cargo_args }}
args: --manifest-path crates/matrix_sdk/Cargo.toml ${{ matrix.cargo_args }}
test:
name: ${{ matrix.name }}

View File

@ -1,11 +1,11 @@
[workspace]
members = [
"matrix_sdk",
"matrix_qrcode",
"matrix_sdk_base",
"matrix_sdk_test",
"matrix_sdk_test_macros",
"matrix_sdk_crypto",
"matrix_sdk_common",
"matrix_sdk_appservice"
"crates/matrix_sdk",
"crates/matrix_qrcode",
"crates/matrix_sdk_base",
"crates/matrix_sdk_test",
"crates/matrix_sdk_test_macros",
"crates/matrix_sdk_crypto",
"crates/matrix_sdk_common",
"crates/matrix_sdk_appservice"
]

View File

@ -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

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -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
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

Some files were not shown because too many files have changed in this diff Show More