Skip to content

Commit

Permalink
feat: replaced 7.2 with 7.2a (7.2 no longer available for download fr…
Browse files Browse the repository at this point in the history
…om RDFox website)
  • Loading branch information
jgeluk committed Nov 6, 2024
1 parent 49b40c9 commit ffc6a9e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -23,19 +23,19 @@ 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"

[package.metadata.docs.rs]
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`
#
Expand All @@ -45,4 +45,4 @@ rdfox-static = []
# Select one version
#
rdfox-7-0a = []
rdfox-7-2 = []
rdfox-7-2a = []
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,15 @@ 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! {
static ref RDFOX_VERSION_EXPECTED: &'static str = option_env!("RDFOX_VERSION_EXPECTED")
.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")
Expand Down
12 changes: 5 additions & 7 deletions cog.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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]

0 comments on commit ffc6a9e

Please sign in to comment.