We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Change the template project so the log reader and its dependencies are behind a use flag.
It is annoying when you want to cross compile and it drags in Python... here an example of a Cargo.toml that works:
[package] name = "drone" version = "0.1.0" edition = "2021" default-run = "drone" # The main executable of your application [[bin]] name = "drone" path = "src/main.rs" [[bin]] name = "drone-logreader" path = "src/logreader.rs" required-features = ["logreader"] [dependencies] cu29 = { version = "*" } bincode = { version = "2.0.0-rc.3", features = ["derive"] } cu29-helpers = { version = "*" } [features] default = [] logreader = ["Cu29-export"] [dependencies.cu29-export] version = "*" optional = true
see templates/README.md to see what I am talking about.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Change the template project so the log reader and its dependencies are behind a use flag.
It is annoying when you want to cross compile and it drags in Python... here an example of a Cargo.toml that works:
see templates/README.md to see what I am talking about.
The text was updated successfully, but these errors were encountered: