This repository was archived by the owner on Dec 8, 2024. It is now read-only.
Compatibility with latest libfyaml#4
Open
vaab wants to merge 11 commits into
Open
Conversation
This helps to smoothly compile between different version of ``libfyaml``.
f931ff2 to
94c92e2
Compare
We can enable back ``fy_library_version``.
Add ``libc::iovec`` import required by v0.9.3's new ``sys/uio.h`` dependency. Update version to 0.2.7+fy0.9.3. Add CHANGELOG.md documenting upstream changes including new composer and document builder APIs, bug fixes, and performance improvements.
- Remove redundant ``.to_string()`` in format args - Remove needless borrow in regex match - Simplify closure to function reference for ``PathBuf::from`` - Allow ``unnecessary_transmutes`` in bindgen-generated code
- Rename crate from ``libfyaml-sys`` to ``fyaml-sys`` as maintained fork - Flatten repo structure: crate now at root instead of subdirectory - Move ``libfyaml`` submodule to root level - Update all metadata to credit dtolnay as original author - Update repository URL to ``0k/fyaml-sys`` This creates a clean separation from the archived upstream while preserving proper attribution.
- Update ``libfyaml`` submodule 16 commits past v0.9.3 - Bump version to ``0.1.1-alpha.1+fy0.9.3-16-ged4720d`` - Add David Tolnay as co-author in crate metadata - Restructure ``CHANGELOG.md`` with separate fyaml-sys / libfyaml-sys sections and document upstream changes
- Remove ``ci.yml`` (depended on ``dtolnay/.github`` infra) - Remove ``FUNDING.yml`` (credited ``dtolnay``) - Add copyright header to ``LICENSE-MIT`` - Add ``exclude`` in ``Cargo.toml`` for non-release files - Fix ``rust-version`` from 1.63 to 1.70 (``bindgen`` 0.69 requires it) - Add ``.pkg`` to ``.gitignore``
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm unsure if you are interested in these changes. Here they are:
libfyamlfy_library_version()binding using VERSIONlibfyamlto latest mastercargo:rerun-if-changed=..on C files to allow for seamless hacking onlibfyaml's codeThe aim here is to facilitate integration of future changes in
libfyaml. I felt the need also to be able to go back and forth between the current version you had (v0.8) and the last official version (v0.9) and also be able to test with latestmaster. All 3 of these versions are compiling on my side.Also, I'm pretty new to Rust, and am very happy of any feedbacks.
Many thanks for the bindings. They are already in use in my projects.