Comments (4)
@01mf02 I'd also love to use jaq-core
as a library in one of my own projects for jq-like filters and transformations. I tried integrating jq-rs
but it's magnitudes slower on large inputs than just shelling out to jq
(which I do atm).
from jaq.
Hello @tjbell and @martinohmann, it is indeed possible to use jaq-core
as crate in your own programs. I have just added some documentation in the development version how to do that, you can see it after running cargo doc --open
and navigating to the docs of jaq-core
. If you have any problems / questions, feel free to ask them here.
from jaq.
Thanks, will give that a try!
from jaq.
@tjbell, perhaps you were not able to import jaq_core::Ctx
because this was only available in the development version, not in the version on crates.io. I just released a new version of jaq / jaq_core, so perhaps this solves your issue. :)
from jaq.
Related Issues (20)
- Parsing zero-padded numbers HOT 6
- Using JAQ with a custom type HOT 12
- Build failure for v1.3.0 on macos & linux, but building from latest main (1699a7d1fc7ede) works HOT 5
- Problem on console without support of color. HOT 7
- Build failure on 1.80 nightly and Windows HOT 3
- `--argjson` not supported HOT 5
- jaq for Apple Silicon HOT 2
- Bug using | more HOT 6
- Compile error on Windows HOT 6
- Consider creating easy-to-use library version/crate HOT 3
- Feature request: NO_COLOR standard implementation HOT 1
- Different behavior with 'add' filter HOT 3
- [bug] `map_values(@base64d)` results in `undefined filter` HOT 3
- Invalid link in README.md HOT 4
- `halt` and `halt_error` filters HOT 2
- JSON with Comments (jsonc) support HOT 12
- rustc 1.80 fails building --locked from crates.io HOT 4
- Why `ParseCtx.compile` doesn't return a Result? HOT 1
- jaq ignores multiline (`m`) flag in regex operations HOT 4
- reminder re add/1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jaq.