-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diesel_cli install fails on master #1683
Comments
Thank you for the issue. Installing from git is not expected to work, as cargo does not provide the tools we would need to make it work. You can install the latest master version by cloning the repo locally, and running |
I can |
I am able to confirm this issue. |
It looks like the inability to install a local clone was due to a recent change in behavior w/ Cargo when installing a package in a workspace. I could not install on diff --git a/diesel_cli/Cargo.toml b/diesel_cli/Cargo.toml
index 2ebe774..c397a6d 100644
--- a/diesel_cli/Cargo.toml
+++ b/diesel_cli/Cargo.toml
@@ -20,7 +20,7 @@ clap = "2.27"
clippy = { optional = true, version = "=0.0.195" }
diesel = { version = "~1.2.0", default-features = false }
dotenv = ">=0.8, <0.11"
-infer_schema_internals = { version = "~1.2.0", features = ["serde"] }
+infer_schema_internals = { version = "~1.2.0", path = "../diesel_infer_schema/infer_schema_internals", features = ["serde"] }
migrations_internals = "~1.2.0"
serde = { version = "1.0.0", features = ["derive"] }
tempfile = "3.0.0" |
I'm heading out for the rest of the day. I do not think this is a bug in Diesel. If you have more issues, others can help you at https://gitter.im/diesel-rs/diesel |
Setup
Versions
Feature Flags
Problem Description
diesel_cli fails to compile (see message below)
What are you trying to accomplish?
install diesel_cli
What is the expected output?
Should install properly
What is the actual output?
Are you seeing any additional errors?
Steps to reproduce
cargo install diesel_cli --git https://github.com/diesel-rs/diesel
Checklist
The text was updated successfully, but these errors were encountered: