Cargo.toml: share some common fields in the workspace

pull/612/head
Tpt 1 year ago committed by Thomas Tanon
parent d2306cea52
commit 570f21748d
  1. 3
      .github/workflows/tests.yml
  2. 2
      Cargo.lock
  3. 8
      Cargo.toml
  4. 10
      js/Cargo.toml
  5. 12
      lib/Cargo.toml
  6. 10
      lib/oxrdf/Cargo.toml
  7. 10
      lib/oxrdfio/Cargo.toml
  8. 10
      lib/oxrdfxml/Cargo.toml
  9. 10
      lib/oxsdatatypes/Cargo.toml
  10. 10
      lib/oxttl/Cargo.toml
  11. 10
      lib/sparesults/Cargo.toml
  12. 10
      lib/spargebra/Cargo.toml
  13. 10
      lib/sparopt/Cargo.toml
  14. 9
      lib/sparql-smith/Cargo.toml
  15. 8
      oxrocksdb-sys/Cargo.toml
  16. 10
      python/Cargo.toml
  17. 10
      server/Cargo.toml
  18. 11
      testsuite/Cargo.toml

@ -156,6 +156,7 @@ jobs:
semver_checks: semver_checks:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: false
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
@ -163,7 +164,7 @@ jobs:
- run: rustup update - run: rustup update
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- run: cargo install cargo-semver-checks || true - run: cargo install cargo-semver-checks || true
- run: cargo semver-checks check-release --exclude oxrocksdb-sys --exclude oxigraph_js --exclude pyoxigraph --exclude oxigraph_testsuite --exclude oxigraph_server --exclude oxrdfxml --exclude oxttl --exclude oxrdfio --exclude sparopt - run: cargo semver-checks check-release --exclude oxrocksdb-sys --exclude oxigraph_js --exclude pyoxigraph --exclude oxigraph_testsuite --exclude oxigraph_server
test_linux: test_linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest

2
Cargo.lock generated

@ -1000,7 +1000,7 @@ dependencies = [
[[package]] [[package]]
name = "oxigraph_testsuite" name = "oxigraph_testsuite"
version = "0.0.0" version = "0.4.0-alpha.1-dev"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",

@ -18,6 +18,14 @@ members = [
] ]
resolver = "2" resolver = "2"
[workspace.package]
version = "0.4.0-alpha.1-dev"
authors = ["Tpt <thomas@pellissier-tanon.fr>"]
license = "MIT OR Apache-2.0"
homepage = "https://oxigraph.org/"
edition = "2021"
rust-version = "1.65"
[profile.release] [profile.release]
lto = true lto = true
codegen-units = 1 codegen-units = 1

@ -1,13 +1,15 @@
[package] [package]
name = "oxigraph_js" name = "oxigraph_js"
version = "0.4.0-alpha.1-dev" version.workspace = true
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
keywords = ["RDF", "N-Triples", "Turtle", "RDF/XML", "SPARQL"] keywords = ["RDF", "N-Triples", "Turtle", "RDF/XML", "SPARQL"]
repository = "https://github.com/oxigraph/oxigraph/tree/main/js" repository = "https://github.com/oxigraph/oxigraph/tree/main/js"
description = "JavaScript bindings of Oxigraph" description = "JavaScript bindings of Oxigraph"
edition = "2021" edition.workspace = true
rust-version.workspace = true
publish = false
[lib] [lib]
crate-type = ["cdylib"] crate-type = ["cdylib"]

@ -1,19 +1,19 @@
[package] [package]
name = "oxigraph" name = "oxigraph"
version = "0.4.0-alpha.1-dev" version.workspace = true
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
keywords = ["RDF", "SPARQL", "graph-database", "database"] keywords = ["RDF", "SPARQL", "graph-database", "database"]
categories = ["database-implementations"] categories = ["database-implementations"]
repository = "https://github.com/oxigraph/oxigraph/tree/main/lib" repository = "https://github.com/oxigraph/oxigraph/tree/main/lib"
homepage = "https://oxigraph.org/" homepage.workspace = true
documentation = "https://docs.rs/oxigraph" documentation = "https://docs.rs/oxigraph"
description = """ description = """
a SPARQL database and RDF toolkit a SPARQL database and RDF toolkit
""" """
edition = "2021" edition.workspace = true
rust-version = "1.65" rust-version.workspace = true
[features] [features]
default = [] default = []

@ -1,18 +1,18 @@
[package] [package]
name = "oxrdf" name = "oxrdf"
version = "0.2.0-alpha.1-dev" version = "0.2.0-alpha.1-dev"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
keywords = ["RDF"] keywords = ["RDF"]
repository = "https://github.com/oxigraph/oxigraph/tree/main/lib/oxrdf" repository = "https://github.com/oxigraph/oxigraph/tree/main/lib/oxrdf"
homepage = "https://oxigraph.org/" homepage.workspace = true
description = """ description = """
A library providing basic data structures related to RDF A library providing basic data structures related to RDF
""" """
documentation = "https://docs.rs/oxrdf" documentation = "https://docs.rs/oxrdf"
edition = "2021" edition.workspace = true
rust-version = "1.65" rust-version.workspace = true
[features] [features]
default = [] default = []

@ -1,18 +1,18 @@
[package] [package]
name = "oxrdfio" name = "oxrdfio"
version = "0.1.0-alpha.1-dev" version = "0.1.0-alpha.1-dev"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
keywords = ["RDF"] keywords = ["RDF"]
repository = "https://github.com/oxigraph/oxigraph/tree/master/lib/oxrdfxml" repository = "https://github.com/oxigraph/oxigraph/tree/master/lib/oxrdfxml"
homepage = "https://oxigraph.org/" homepage.workspace = true
documentation = "https://docs.rs/oxrdfio" documentation = "https://docs.rs/oxrdfio"
description = """ description = """
Parser for various RDF serializations Parser for various RDF serializations
""" """
edition = "2021" edition.workspace = true
rust-version = "1.65" rust-version.workspace = true
[features] [features]
default = [] default = []

@ -1,18 +1,18 @@
[package] [package]
name = "oxrdfxml" name = "oxrdfxml"
version = "0.1.0-alpha.1-dev" version = "0.1.0-alpha.1-dev"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
keywords = ["RDF/XML", "RDF"] keywords = ["RDF/XML", "RDF"]
repository = "https://github.com/oxigraph/oxigraph/tree/master/lib/oxrdfxml" repository = "https://github.com/oxigraph/oxigraph/tree/master/lib/oxrdfxml"
homepage = "https://oxigraph.org/" homepage.workspace = true
description = """ description = """
Parser for the RDF/XML language Parser for the RDF/XML language
""" """
documentation = "https://docs.rs/oxrdfxml" documentation = "https://docs.rs/oxrdfxml"
edition = "2021" edition.workspace = true
rust-version = "1.65" rust-version.workspace = true
[features] [features]
default = [] default = []

@ -1,18 +1,18 @@
[package] [package]
name = "oxsdatatypes" name = "oxsdatatypes"
version = "0.2.0-alpha.1-dev" version = "0.2.0-alpha.1-dev"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
keywords = ["XSD"] keywords = ["XSD"]
repository = "https://github.com/oxigraph/oxigraph/tree/main/lib/oxsdatatypes" repository = "https://github.com/oxigraph/oxigraph/tree/main/lib/oxsdatatypes"
homepage = "https://oxigraph.org/" homepage.workspace = true
description = """ description = """
An implementation of some XSD datatypes for SPARQL implementations An implementation of some XSD datatypes for SPARQL implementations
""" """
documentation = "https://docs.rs/oxsdatatypes" documentation = "https://docs.rs/oxsdatatypes"
edition = "2021" edition.workspace = true
rust-version = "1.65" rust-version.workspace = true
[features] [features]
js = ["js-sys"] js = ["js-sys"]

@ -1,18 +1,18 @@
[package] [package]
name = "oxttl" name = "oxttl"
version = "0.1.0-alpha.1-dev" version = "0.1.0-alpha.1-dev"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
keywords = ["N-Triples", "N-Quads", "Turtle", "TriG", "N3", "RDF"] keywords = ["N-Triples", "N-Quads", "Turtle", "TriG", "N3", "RDF"]
repository = "https://github.com/oxigraph/oxigraph/tree/master/lib/oxttl" repository = "https://github.com/oxigraph/oxigraph/tree/master/lib/oxttl"
homepage = "https://oxigraph.org/" homepage.workspace = true
description = """ description = """
Parser for languages related to RDF Turtle (N-Triples, N-Quads, Turtle, TriG and N3) Parser for languages related to RDF Turtle (N-Triples, N-Quads, Turtle, TriG and N3)
""" """
documentation = "https://docs.rs/oxttl" documentation = "https://docs.rs/oxttl"
edition = "2021" edition.workspace = true
rust-version = "1.65" rust-version.workspace = true
[features] [features]
default = [] default = []

@ -1,18 +1,18 @@
[package] [package]
name = "sparesults" name = "sparesults"
version = "0.2.0-alpha.1-dev" version = "0.2.0-alpha.1-dev"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
keywords = ["SPARQL"] keywords = ["SPARQL"]
repository = "https://github.com/oxigraph/oxigraph/tree/main/lib/sparesults" repository = "https://github.com/oxigraph/oxigraph/tree/main/lib/sparesults"
homepage = "https://oxigraph.org/" homepage.workspace = true
description = """ description = """
SPARQL query results formats parsers and serializers SPARQL query results formats parsers and serializers
""" """
documentation = "https://docs.rs/sparesults" documentation = "https://docs.rs/sparesults"
edition = "2021" edition.workspace = true
rust-version = "1.65" rust-version.workspace = true
[features] [features]
default = [] default = []

@ -1,18 +1,18 @@
[package] [package]
name = "spargebra" name = "spargebra"
version = "0.3.0-alpha.1-dev" version = "0.3.0-alpha.1-dev"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
keywords = ["SPARQL"] keywords = ["SPARQL"]
repository = "https://github.com/oxigraph/oxigraph/tree/main/lib/spargebra" repository = "https://github.com/oxigraph/oxigraph/tree/main/lib/spargebra"
homepage = "https://oxigraph.org/" homepage.workspace = true
documentation = "https://docs.rs/spargebra" documentation = "https://docs.rs/spargebra"
description = """ description = """
A SPARQL parser A SPARQL parser
""" """
edition = "2021" edition.workspace = true
rust-version = "1.65" rust-version.workspace = true
[features] [features]
default = [] default = []

@ -1,18 +1,18 @@
[package] [package]
name = "sparopt" name = "sparopt"
version = "0.1.0-alpha.1-dev" version = "0.1.0-alpha.1-dev"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
keywords = ["SPARQL"] keywords = ["SPARQL"]
repository = "https://github.com/oxigraph/oxigraph/tree/main/lib/sparopt" repository = "https://github.com/oxigraph/oxigraph/tree/main/lib/sparopt"
homepage = "https://oxigraph.org/" homepage.workspace = true
documentation = "https://docs.rs/sparopt" documentation = "https://docs.rs/sparopt"
description = """ description = """
A SPARQL optimizer A SPARQL optimizer
""" """
edition = "2021" edition.workspace = true
rust-version = "1.60" rust-version.workspace = true
[features] [features]
default = [] default = []

@ -1,17 +1,18 @@
[package] [package]
name = "sparql-smith" name = "sparql-smith"
version = "0.1.0-alpha.5-dev" version = "0.1.0-alpha.5-dev"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
keywords = ["SPARQL"] keywords = ["SPARQL"]
repository = "https://github.com/oxigraph/oxigraph/tree/main/lib/sparql-smith" repository = "https://github.com/oxigraph/oxigraph/tree/main/lib/sparql-smith"
homepage = "https://oxigraph.org/" homepage.workspace = true
documentation = "https://docs.rs/sparql-smith" documentation = "https://docs.rs/sparql-smith"
description = """ description = """
A SPARQL test cases generator A SPARQL test cases generator
""" """
edition = "2021" edition.workspace = true
rust-version.workspace = true
[features] [features]
default = [] default = []

@ -1,7 +1,7 @@
[package] [package]
name = "oxrocksdb-sys" name = "oxrocksdb-sys"
version = "0.4.0-alpha.1-dev" version.workspace = true
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors.workspace = true
license = "GPL-2.0 OR Apache-2.0" license = "GPL-2.0 OR Apache-2.0"
repository = "https://github.com/oxigraph/oxigraph/tree/main/oxrocksdb-sys" repository = "https://github.com/oxigraph/oxigraph/tree/main/oxrocksdb-sys"
readme = "README.md" readme = "README.md"
@ -9,8 +9,8 @@ description = """
Rust bindings for RocksDB for Oxigraph usage. Rust bindings for RocksDB for Oxigraph usage.
""" """
documentation = "https://docs.rs/oxrocksdb-sys" documentation = "https://docs.rs/oxrocksdb-sys"
edition = "2021" edition.workspace = true
rust-version = "1.65" rust-version.workspace = true
build = "build.rs" build = "build.rs"
links = "rocksdb" links = "rocksdb"

@ -1,14 +1,16 @@
[package] [package]
name = "pyoxigraph" name = "pyoxigraph"
version = "0.4.0-alpha.1-dev" version.workspace = true
authors = ["Tpt"] authors.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
keywords = ["RDF", "SPARQL", "graph-database", "database"] keywords = ["RDF", "SPARQL", "graph-database", "database"]
repository = "https://github.com/oxigraph/oxigraph/tree/main/python" repository = "https://github.com/oxigraph/oxigraph/tree/main/python"
homepage = "https://pyoxigraph.readthedocs.io/" homepage = "https://pyoxigraph.readthedocs.io/"
description = "Python bindings of Oxigraph, a SPARQL database and RDF toolkit" description = "Python bindings of Oxigraph, a SPARQL database and RDF toolkit"
edition = "2021" edition.workspace = true
rust-version.workspace = true
publish = false
[lib] [lib]
crate-type = ["cdylib"] crate-type = ["cdylib"]

@ -1,16 +1,16 @@
[package] [package]
name = "oxigraph_server" name = "oxigraph_server"
version = "0.4.0-alpha.1-dev" version.workspace = true
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
repository = "https://github.com/oxigraph/oxigraph/tree/main/server" repository = "https://github.com/oxigraph/oxigraph/tree/main/server"
homepage = "https://oxigraph.org/server/" homepage = "https://oxigraph.org/server/"
description = """ description = """
Oxigraph SPARQL HTTP server Oxigraph SPARQL HTTP server
""" """
edition = "2021" edition.workspace = true
rust-version = "1.65" rust-version.workspace = true
[dependencies] [dependencies]
anyhow = "1" anyhow = "1"

@ -1,14 +1,13 @@
[package] [package]
name = "oxigraph_testsuite" name = "oxigraph_testsuite"
version = "0.0.0" version.workspace = true
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
readme = "../README.md"
repository = "https://github.com/oxigraph/oxigraph"
description = """ description = """
Implementation of W3C testsuites for Oxigraph Implementation of W3C testsuites for Oxigraph
""" """
edition = "2021" edition.workspace = true
rust-version.workspace = true
publish = false publish = false
[dependencies] [dependencies]

Loading…
Cancel
Save