jamesmunns / tomlq Goto Github PK
View Code? Open in Web Editor NEWA tool for getting data from TOML files on the command line
License: MIT License
A tool for getting data from TOML files on the command line
License: MIT License
The tomlq package on crates.io doesn't appear to include the Cargo.lock file in this repository, so it isn't possible to use the --locked
flag to cargo install
to make Cargo build the tool with the particular versions of the dependencies specified in that file. Per https://doc.rust-lang.org/cargo/commands/cargo-install.html:
The --locked flag can be used to force Cargo to use the packaged Cargo.lock file if it is available. This may be useful for ensuring reproducible builds, to use the exact same set of dependencies that were available when the package was published. It may also be useful if a newer version of a dependency is published that no longer builds on your system, or has other problems.
This came up for me recently when I tried to build an old release branch of some software that uses tomlq and is pinned to Rust 1.43.1. tomlq depends on clap, and the Cargo.lock file in this repo specifies clap version 2.26.0, but cargo install tomlq
tries to use clap-2.33.3, which isn't compatible with Rust 1.43.1.
If I was able to cargo install --locked tomlq
, then I'd be able to build it with Rust 1.43.1 when building the old release.
I think this just requires publishing a new version of this crate with a modern version of Cargo, as https://doc.rust-lang.org/cargo/commands/cargo-install.html notes:
Cargo did not start publishing Cargo.lock files until version 1.37, which means packages published with prior versions will not have a Cargo.lock file available.
Hi! Thanks for your great project. It would be nice if it accepts an input from stdin, so that we may pipe outputs from, say, curl
. There's no rush though!
The project has been sitting untouched for some while now.
Could use a fresh fork, and brushing away any CVE's that may have silently crept in from std or crate dependencies over the years.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.