From ffc6a9e155cf8ac9394544cc14d72a23a71910a4 Mon Sep 17 00:00:00 2001 From: Jacobus Geluk Date: Wed, 6 Nov 2024 03:20:55 +0000 Subject: [PATCH] feat: replaced 7.2 with 7.2a (7.2 no longer available for download from RDFox website) --- Cargo.toml | 12 ++++++------ build.rs | 4 ++-- cog.toml | 12 +++++------- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ac2e467..a8a55fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ repository = "https://github.com/EKGF/rdfox-sys" keywords = ["rdf", "sparql", "database", "graph-database", "datalog"] categories = ["database", "api-bindings"] license-file = "LICENSE" -rust-version = "1.70" +rust-version = "1.82" readme = "README.md" documentation = "https://docs.rs/crate/rdfox-sys/" exclude = [".github/*", ".idea/*", "rust-toolchain.toml", "cog.toml"] @@ -23,11 +23,11 @@ crate-type = ["rlib"] bench = false [dependencies] -thiserror = "1.0.56" +thiserror = "1.0.68" [build-dependencies] -curl = "0.4.44" -lazy_static = "1.4.0" +curl = "0.4.47" +lazy_static = "1.5.0" zip = "2.2.0" bindgen = "0.70.1" @@ -35,7 +35,7 @@ bindgen = "0.70.1" rustc-args = ["--cfg", "docsrs"] [features] -default = ["rdfox-7-2", "rdfox-dylib"] +default = ["rdfox-7-2a", "rdfox-dylib"] # # Switch on if you want to link to `libRDFox.dylib` rather than `libRDFox.a` # @@ -45,4 +45,4 @@ rdfox-static = [] # Select one version # rdfox-7-0a = [] -rdfox-7-2 = [] +rdfox-7-2a = [] diff --git a/build.rs b/build.rs index 8d41742..fce2430 100644 --- a/build.rs +++ b/build.rs @@ -127,7 +127,7 @@ lazy_static! { .unwrap_or("https://rdfox-distribution.s3.eu-west-2.amazonaws.com/release"); } -#[cfg(not(any(feature = "rdfox-7-0a", feature = "rdfox-7-2",)))] +#[cfg(not(any(feature = "rdfox-7-0a", feature = "rdfox-7-2a",)))] compile_error!("You have to at least specify one of the rdfox-X-Y version number features"); lazy_static! { @@ -135,7 +135,7 @@ lazy_static! { .unwrap_or( if cfg!(feature = "rdfox-7-0a") { "7.0a" - } else if cfg!(feature = "rdfox-7-2") { + } else if cfg!(feature = "rdfox-7-2a") { "7.2" } else { panic!("Unknown RDFOX version") diff --git a/cog.toml b/cog.toml index d1b01d6..9274f20 100644 --- a/cog.toml +++ b/cog.toml @@ -2,12 +2,12 @@ tag_prefix = "" ignore_merge_commits = true branch_whitelist = ["main"] pre_bump_hooks = [ - "cargo set-version --locked --workspace {{version}}", + "cargo set-version --locked --workspace {{version}}", ] post_bump_hooks = [ - "git push --no-verify", - "git push origin {{version}} --no-verify", - "cargo publish" + "git push --no-verify", + "git push origin {{version}} --no-verify", + "cargo publish" ] [changelog] @@ -17,9 +17,7 @@ remote = "github.com" repository = "rdfox-sys" owner = "EKGF" authors = [ - { username = "jgeluk", signature = "Jacobus Geluk" }, - { username = "gisellecole", signature = "Giselle Cole" }, - { username = "mbarbieri77", signature = "Marcelo Barbieri" } + { username = "jgeluk", signature = "Jacobus Geluk" }, ] [bump_profiles]