Skip to content

Commit 2771e83

Browse files
committed
Rename folder lib/ to packages/
1 parent 3318718 commit 2771e83

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+19
-19
lines changed

.circleci/config.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
- cargocache-std-rust:1.40.0-{{ checksum "Cargo.lock" }}
2929
- run:
3030
name: Build standard library
31-
working_directory: ~/project/lib/std
31+
working_directory: ~/project/packages/std
3232
command: cargo build --locked
3333
- run:
3434
name: Run standard library tests
35-
working_directory: ~/project/lib/std
35+
working_directory: ~/project/packages/std
3636
command: cargo test --locked
3737
- save_cache:
3838
paths:
@@ -58,11 +58,11 @@ jobs:
5858
- cargocache-singlepass-rust:nightly-{{ checksum "Cargo.lock" }}
5959
- run:
6060
name: Build all targets (including workspaces)
61-
working_directory: ~/project/lib/vm
61+
working_directory: ~/project/packages/vm
6262
command: cargo build --locked
6363
- run:
6464
name: Run all tests (including workspaces)
65-
working_directory: ~/project/lib/vm
65+
working_directory: ~/project/packages/vm
6666
command: cargo test --locked
6767
- save_cache:
6868
paths:
@@ -88,11 +88,11 @@ jobs:
8888
- cargocache-cranelift-rust:1.40.0-{{ checksum "Cargo.lock" }}
8989
- run:
9090
name: Build all targets (including workspaces)
91-
working_directory: ~/project/lib/vm
91+
working_directory: ~/project/packages/vm
9292
command: cargo build --locked --no-default-features --features default-cranelift
9393
- run:
9494
name: Run all tests (including workspaces)
95-
working_directory: ~/project/lib/vm
95+
working_directory: ~/project/packages/vm
9696
command: cargo test --locked --no-default-features --features default-cranelift
9797
- save_cache:
9898
paths:
@@ -236,11 +236,11 @@ jobs:
236236
command: rustup component add clippy
237237
- run:
238238
name: Clippy linting on std
239-
working_directory: ~/project/lib/std
239+
working_directory: ~/project/packages/std
240240
command: cargo clippy -- -D warnings
241241
- run:
242242
name: Clippy linting on vm (use flags for Rust stable support)
243-
working_directory: ~/project/lib/vm
243+
working_directory: ~/project/packages/vm
244244
command: cargo clippy --no-default-features --features default-cranelift
245245
- run:
246246
name: Clippy linting on hackatom

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
members = [
3-
"lib/std",
4-
"lib/vm",
3+
"packages/std",
4+
"packages/vm",
55
]
66
exclude = ["contracts"]

README.md

+3-3

contracts/hackatom/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ cranelift = ["cosmwasm-vm/default-cranelift"]
2828
singlepass = ["cosmwasm-vm/default-singlepass"]
2929

3030
[dependencies]
31-
cosmwasm = { path = "../../lib/std", version = "0.7.1" }
31+
cosmwasm = { path = "../../packages/std", version = "0.7.1" }
3232
schemars = "0.5"
3333
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
3434
snafu = { version = "0.5.0", default-features = false, features = ["rust_1_30"] }
3535

3636
[dev-dependencies]
37-
cosmwasm-vm = { path = "../../lib/vm", version = "0.7.1", default-features = false }
37+
cosmwasm-vm = { path = "../../packages/vm", version = "0.7.1", default-features = false }
3838
serde_json = "1.0"
File renamed without changes.

lib/std/API.md packages/std/API.md

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

lib/vm/Cargo.toml packages/vm/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.7.1"
44
authors = ["Ethan Frey <[email protected]>"]
55
edition = "2018"
66
description = "VM bindings to run cosmwams contracts"
7-
repository = "https://github.com/CosmWasm/cosmwasm/tree/master/lib/vm"
7+
repository = "https://github.com/CosmWasm/cosmwasm/tree/master/packages/vm"
88
license = "Apache-2.0"
99

1010
[badges]

lib/vm/LICENSE packages/vm/LICENSE

File renamed without changes.

lib/vm/README.md packages/vm/README.md

+3-3
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)