Use underscores for crate names.

This commit is contained in:
Richard Newman 2017-01-06 17:31:01 -08:00
parent a665926fe6
commit b9c439bd00
4 changed files with 7 additions and 7 deletions

View file

@ -6,13 +6,13 @@ authors = ["Richard Newman <rnewman@twinql.com>", "Nicholas Alexander <nalexande
[dependencies]
rusqlite = "0.8.0"
[dependencies.mentat-query-parser]
[dependencies.mentat_query_parser]
path = "query-parser"
[dev-dependencies]
[dev-dependencies.mentat-cli]
[dev-dependencies.mentat_cli]
path = "cli"
[[bin]]
name = "mentat-cli"
name = "mentat_cli"
path = "cli/src/main.rs"

View file

@ -78,7 +78,7 @@ To run tests use:
cargo test
# Run tests for the query-parser folder
cargo test -p mentat-query-parser
cargo test -p mentat_query_parser
````
To start the cli use:
@ -87,7 +87,7 @@ To start the cli use:
cargo run
````
For most `cargo` commands you can pass the `-p` argument to run the command just on that package. By convention, the package name will be "mentat-directory-name". So, `cargo build -p mentat-cli` will build just the "cli" folder.
For most `cargo` commands you can pass the `-p` argument to run the command just on that package. By convention, the package name will be "mentat_package_name". So, `cargo build -p mentat_cli` will build just the "cli" folder.
## License

View file

@ -1,5 +1,5 @@
[package]
name = "mentat-cli"
name = "mentat_cli"
version = "0.0.1"
[dependencies]

View file

@ -1,3 +1,3 @@
[package]
name = "mentat-query-parser"
name = "mentat_query_parser"
version = "0.0.1"