Skip to content

Commit

Permalink
Merge pull request #7 from turboladen/feature/gh-6
Browse files Browse the repository at this point in the history
Rename crates to use underscores
  • Loading branch information
turboladen authored Dec 9, 2021
2 parents 6df7f5d + ce18550 commit 2c11411
Show file tree
Hide file tree
Showing 47 changed files with 23 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --package nvim-api --package overkill-nvim --features lua_test
args: --package nvim_api --package overkill_nvim --features lua_test

- name: View files in target/
run: ls -R target/
Expand Down
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
[workspace]
members = ["neovim-sys", "nvim-api", "overkill-nvim"]
resolver = "2"
members = ["neovim_sys", "nvim_api", "overkill_nvim"]
2 changes: 1 addition & 1 deletion neovim-sys/Cargo.toml → neovim_sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "neovim-sys"
name = "neovim_sys"
version = "0.1.0"
authors = ["Steve Loveless <[email protected]>"]
edition = "2021"
Expand Down
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.
4 changes: 2 additions & 2 deletions nvim-api/Cargo.toml → nvim_api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "nvim-api"
name = "nvim_api"
version = "0.1.0"
authors = ["Steve Loveless <[email protected]>"]
edition = "2021"
Expand All @@ -9,7 +9,7 @@ crate-type = ["cdylib", "rlib"]

[dependencies]
approx = { version = "0.5", optional = true }
neovim-sys = { path = "../neovim-sys" }
neovim_sys = { path = "../neovim_sys" }
thiserror = "1.0"

[features]
Expand Down
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.
8 changes: 8 additions & 0 deletions nvim_test-proc_macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "nvim_test-proc_macro"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
8 changes: 8 additions & 0 deletions nvim_test-proc_macro/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
let result = 2 + 2;
assert_eq!(result, 4);
}
}
4 changes: 2 additions & 2 deletions overkill-nvim/Cargo.toml → overkill_nvim/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "overkill-nvim"
name = "overkill_nvim"
version = "0.1.0"
authors = ["Steve Loveless <[email protected]>"]
edition = "2021"
Expand All @@ -10,7 +10,7 @@ crate-type = ["cdylib", "rlib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
nvim-api = { path = "../nvim-api/" }
nvim_api = { path = "../nvim_api/" }
thiserror = "1.0"

[features]
Expand Down
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 comments on commit 2c11411

Please sign in to comment.