summaryrefslogtreecommitdiff
path: root/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* (#956): Rename rsvg-convert directory to rsvg_convert to avoid clashing with ↵Federico Mena Quintero2023-05-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | the rsvg-convert binary When building with autotools and srcdir==builddir, ./target/.../rsvg-convert gets moved into ./rsvg-convert. But since ./rsvg-convert is already a directory, we get an ./rsvg-convert/rsvg-convert binary. Later, "make install" finds that ./rsvg-convert is a directory, not a file, and fails to install the binary. This renames the rsvg-convert directory to rsvg_convert, but makes Cargo keep the name of the binary as rsvg-convert. Another option would be to let Cargo use rsvg_convert per the package/directory name, and rename the resulting binary. Thanks to Abderrahim Kitouni for figuring this out! Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/956 Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/829>
* Bump the minimum Rust version to 1.65.0Federico Mena Quintero2023-05-031-1/+1
| | | | | | Sigh, assert_cmd requires this now. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/825>
* meta: Separate C API from rust crateSophie Herold2023-04-011-0/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/822>
* meta: Naive move of c_api to own crateSophie Herold2023-04-011-1/+2
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/822>
* meta: Move lib and bins into separate cratesSophie Herold2023-03-311-135/+11
| | | | | | Closes #950 Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/822>
* Remove unused chrono wasmbind featureKalev Lember2023-03-241-2/+2
| | | | | | | This helps with building librsvg on Fedora where the rust-chrono package is built with the wasmbind feature disabled. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/819>
* xml: Replace unmaitained encoding crate by encoding_rsLukáš Tyrychtr2023-03-231-1/+1
| | | | | | | | This replaces unmaintained encoding crate by encoding_rs. The indirect reference through lopdf still remains, but this is a start. This fixes the direct part of #949. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/818>
* Bump version to 2.56.0Federico Mena Quintero2023-03-161-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/814>
* Bump the chrono crate to a patched versionFederico Mena Quintero2023-03-081-2/+2
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/808>
* Use an explicit version of regex in the build-dependenciesFederico Mena Quintero2023-03-081-1/+1
| | | | | | So that deps.rs won't mark regex="1" as vulnerable. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/808>
* Fix documentation links now that the crate is called 'rsvg'Federico Mena Quintero2023-03-081-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/807>
* Bump version to 2.55.92Federico Mena Quintero2023-03-081-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/806>
* (#644): Rename Rust crate to "rsvg"Federico Mena Quintero2023-03-071-1/+1
| | | | | | | | | This is more in line with the conventions for Rust crate names, instead of "librsvg". Thanks to Stefan Lau for ceding the name, which was previously used by the rsvg-rs bindings before librsvg itself provided a Rust API. Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/644
* cargo: Avoid pulling time 0.1 via chronoSophie Herold2023-03-021-2/+2
| | | | | | | The time 0.1 crate has a CVE attached to it. The newly specified features will be the default for chrono 0.5. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/802>
* (#925): Cargo.toml: Update to selectors-0.24.0 and cssparser-0.29.0 togetherFederico Mena Quintero2023-02-201-2/+2
| | | | | | css.rs: Update for changes in the AtRuleParser trait's API Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/799>
* Explicitly update to regex 1.7.1 or laterFederico Mena Quintero2023-02-131-1/+1
| | | | | | Mainly to shut up deps.rs, which flags "1" as vulnerable. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/795>
* Bump nalgebra to 0.32.1Federico Mena Quintero2023-02-131-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/795>
* Bump version to 2.55.91Federico Mena Quintero2023-02-101-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/794>
* CI: Add a lint for the various MSRVs we mention in the source treeFederico Mena Quintero2023-02-081-1/+1
| | | | | | | | | | | ci/check_rust_versions.py is a script that checks that all the mentioned *minimum* Rust versions (configure.ac, Cargo.toml, etc.) are the same. I don't think we mention the "stable" Rust version anywhere but ci/container_builds.yml, so we don't need a check for that one. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/792>
* Bump the MSRV to 1.64.0Federico Mena Quintero2023-02-081-1/+1
| | | | | | The new glib-macros requires it. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/792>
* Bump gtk-rs crates to 0.17.0Bilal Elmoussaoui2023-02-081-10/+10
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/792>
* rsvg-bench.rs: Port from the failure crate to anyhow/thiserrorFederico Mena Quintero2023-01-301-0/+2
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/789>
* Update data-url to 0.2.0Federico Mena Quintero2022-11-291-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/778>
* Update nalgebra to 0.31.4Federico Mena Quintero2022-11-291-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/778>
* Update rctree to 0.5.0Federico Mena Quintero2022-11-291-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/778>
* Use the same version of the regex crate for the library and for build.rsFederico Mena Quintero2022-11-291-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/778>
* Update criterion to 0.4Federico Mena Quintero2022-11-281-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/777>
* Update the xml5ever and markup5ever cratesFederico Mena Quintero2022-11-281-2/+2
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/777>
* (#924): Remove the test-generator dependencyFederico Mena Quintero2022-11-281-1/+0
| | | | | | | | | | | | | The test-generator crate seems unmaintained since about two years ago, and it is pulling in old versions of crates like syn (which takes a long time to compile). We now enumerate the test files by hand in the tests/src/*.rs sources; this is made a bit easier with some helper macros. Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/924 Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/776>
* Bump version to 2.55.90Federico Mena Quintero2022-11-251-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/775>
* Update the lopdf crate to 0.29.0Kalev Lember2022-11-251-1/+1
| | | | | | | ... and adapt tests/src/predicates/pdf.rs for lopdf API change from f64 floats to f32. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/774>
* Update the yeslogic-fontconfig-sys crate to 4.0.1Kalev Lember2022-11-241-1/+1
| | | | | | | ... and adapt tests/src/utils.rs for changed fontconfig_sys import paths. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/773>
* (#878): Add tab-completion for rsvg-convertSimental Magana, Marcos2022-11-211-0/+1
| | | | | | | | | | | | | | This commit introduces tab-completion for the rsvg-convert binary via a --completion option. It uses the shell completion generation for the clap crate. An example of how to use it to generate bash completion file: $ rsvg-convert --completion=bash > rsvg-convert.bash Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/878 Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/771>
* Update the lopdf crate to 0.27.0Kalev Lember2022-11-091-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/767>
* Update to clap 4Lukáš Tyrychtr2022-11-041-1/+1
| | | | | | Fixes #908 Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/765>
* Add profile = overflow to benchmark overflow-checksNeetu Mehta2022-10-311-0/+4
| | | | | | | | overflow-checks is disabled by default in release builds. To test its impact on how performance, add a profile.overflow and benchmark it during cargo_bench job. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/764>
* Bump the minimum Rust version to 1.63Federico Mena Quintero2022-10-251-1/+1
| | | | | | The gtk-rs update requires this. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/760>
* misc: Bump gtk-rs crates to 0.16.0Bilal Elmoussaoui2022-10-251-10/+10
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/760>
* WIP: Update clap to 3.2.22Federico Mena Quintero2022-09-191-1/+1
| | | | | | | | | | | | | | | | | | | | | - Bump version in Cargo.toml; use the "cargo" feature since the crate_version!() macro is now gated. - short("x") -> short('x') - takes a char now - Add a Resolution newtype and a parser/validator. - Add a ZoomFactor newtype and a parser/validator. - arg_enum! -> #[derive(ValueEnum)] - value_t!() -> ArgMatches::get_one() - matches.is_present() -> matches.contains_id() This compiles, but the tests fail. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/748>
* Update the nalgebra crateKalev Lember2022-09-091-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/744>
* Add the minimum rust-version to Cargo.tomlFederico Mena Quintero2022-08-251-0/+1
| | | | | | This is supported since Rust 1.56. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/735>
* Cargo.toml: define most metadataGuillaume Desmottes2022-08-241-1/+6
| | | | | | Cherry-picked from https://gitlab.gnome.org/federico/librsvg/-/commit/2fa60213da4bdde03b6e707d5f519acf29eadfc0 Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/732>
* Bump version to 2.55.0Federico Mena Quintero2022-06-101-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/708>
* Bump version number to 2.54.4Federico Mena Quintero2022-06-101-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/706>
* (#870): Revert "Require Pango 1.48.11"Kleis Auke Wolthuizen2022-05-271-3/+3
| | | | | | This reverts commit 5ff60c13939ada253eb94b6e63c5d1519b2e526e. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/704>
* Bump version to 2.54.3Federico Mena Quintero2022-05-131-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/702>
* Bump version to 2.54.2Federico Mena Quintero2022-05-101-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/699>
* Add the anyhow crate for the testsFederico Mena Quintero2022-05-061-0/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/697>
* Add serde/serde_json for the testsFederico Mena Quintero2022-05-061-0/+2
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/697>
* Bump version to 2.54.1Federico Mena Quintero2022-04-221-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/690>