chore: Rename the crate folders to use dashes instead of underscores

master
Damir Jelić 2021-09-14 15:18:39 +02:00
parent 31b7063e68
commit af74988a83
142 changed files with 27 additions and 27 deletions

View File

@ -83,7 +83,7 @@ jobs:
- name: Check - name: Check
run: | run: |
cd crates/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 crates/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 crates/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 crates/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 crates/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 crates/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 }}

View File

@ -1,11 +1,11 @@
[workspace] [workspace]
members = [ members = [
"crates/matrix_sdk", "crates/matrix-sdk",
"crates/matrix_qrcode", "crates/matrix-qrcode",
"crates/matrix_sdk_base", "crates/matrix-sdk-base",
"crates/matrix_sdk_test", "crates/matrix-sdk-test",
"crates/matrix_sdk_test_macros", "crates/matrix-sdk-test-macros",
"crates/matrix_sdk_crypto", "crates/matrix-sdk-crypto",
"crates/matrix_sdk_common", "crates/matrix-sdk-common",
"crates/matrix_sdk_appservice" "crates/matrix-sdk-appservice"
] ]

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

@ -36,7 +36,7 @@ tracing = "0.1"
url = "2" url = "2"
warp = { git = "https://github.com/seanmonstar/warp.git", rev = "629405", optional = true, default-features = false } warp = { git = "https://github.com/seanmonstar/warp.git", rev = "629405", optional = true, default-features = false }
matrix-sdk = { version = "0.4", path = "../matrix_sdk", default-features = false, features = ["appservice"] } matrix-sdk = { version = "0.4", path = "../matrix-sdk", default-features = false, features = ["appservice"] }
[dependencies.ruma] [dependencies.ruma]
version = "0.4.0" version = "0.4.0"
@ -48,7 +48,7 @@ mockito = "0.30"
tokio = { version = "1", default-features = false, features = ["rt-multi-thread", "macros"] } tokio = { version = "1", default-features = false, features = ["rt-multi-thread", "macros"] }
tracing-subscriber = "0.2" tracing-subscriber = "0.2"
matrix-sdk-test = { version = "0.4", path = "../matrix_sdk_test", features = ["appservice"] } matrix-sdk-test = { version = "0.4", path = "../matrix-sdk-test", features = ["appservice"] }
[[example]] [[example]]
name = "appservice_autojoin" name = "appservice_autojoin"

View File

@ -33,8 +33,8 @@ serde = { version = "1.0.126", features = ["rc"] }
serde_json = "1.0.64" serde_json = "1.0.64"
tracing = "0.1.26" tracing = "0.1.26"
matrix-sdk-common = { version = "0.4.0", path = "../matrix_sdk_common" } matrix-sdk-common = { version = "0.4.0", path = "../matrix-sdk-common" }
matrix-sdk-crypto = { version = "0.4.0", path = "../matrix_sdk_crypto", optional = true } matrix-sdk-crypto = { version = "0.4.0", path = "../matrix-sdk-crypto", optional = true }
# Misc dependencies # Misc dependencies
thiserror = "1.0.25" thiserror = "1.0.25"
@ -55,7 +55,7 @@ default-features = false
features = ["sync", "fs"] features = ["sync", "fs"]
[dev-dependencies] [dev-dependencies]
matrix-sdk-test = { version = "0.4.0", path = "../matrix_sdk_test" } matrix-sdk-test = { version = "0.4.0", path = "../matrix-sdk-test" }
http = "0.2.4" http = "0.2.4"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]

View File

@ -23,8 +23,8 @@ sled_cryptostore = ["sled"]
docs = ["sled_cryptostore"] docs = ["sled_cryptostore"]
[dependencies] [dependencies]
matrix-qrcode = { version = "0.2.0", path = "../matrix_qrcode" , optional = true} matrix-qrcode = { version = "0.2.0", path = "../matrix-qrcode" , optional = true}
matrix-sdk-common = { version = "0.4.0", path = "../matrix_sdk_common" } matrix-sdk-common = { version = "0.4.0", path = "../matrix-sdk-common" }
ruma = { version = "0.4.0", features = ["client-api-c", "unstable-pre-spec"] } ruma = { version = "0.4.0", features = ["client-api-c", "unstable-pre-spec"] }
olm-rs = { version = "2.0.1", features = ["serde"] } olm-rs = { version = "2.0.1", features = ["serde"] }
@ -55,7 +55,7 @@ matches = "0.1.8"
serde_json = "1.0.64" serde_json = "1.0.64"
tempfile = "3.2.0" tempfile = "3.2.0"
http = "0.2.4" http = "0.2.4"
matrix-sdk-test = { version = "0.4.0", path = "../matrix_sdk_test" } matrix-sdk-test = { version = "0.4.0", path = "../matrix-sdk-test" }
indoc = "1.0.3" indoc = "1.0.3"
criterion = { version = "0.3.4", features = ["async", "async_tokio", "html_reports"] } criterion = { version = "0.3.4", features = ["async", "async_tokio", "html_reports"] }

View File

@ -18,8 +18,8 @@ appservice = []
[dependencies] [dependencies]
http = "0.2.4" http = "0.2.4"
lazy_static = "1.4.0" lazy_static = "1.4.0"
matrix-sdk-common = { version = "0.4.0", path = "../matrix_sdk_common" } matrix-sdk-common = { version = "0.4.0", path = "../matrix-sdk-common" }
matrix-sdk-test-macros = { version = "0.1.0", path = "../matrix_sdk_test_macros" } matrix-sdk-test-macros = { version = "0.1.0", path = "../matrix-sdk-test-macros" }
ruma = { version = "0.4.0", features = ["client-api-c"] } ruma = { version = "0.4.0", features = ["client-api-c"] }
serde = "1.0.126" serde = "1.0.126"
serde_json = "1.0.64" serde_json = "1.0.64"

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