Skip to content

Commit

Permalink
share common workspace metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
benfred committed Feb 6, 2024
1 parent 37862a8 commit 7ddc9de
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 14 deletions.
10 changes: 10 additions & 0 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,13 @@ members = [
"cuvs-sys",
]
resolver = "2"

[workspace.package]
version = "0.1.0"
edition = "2021"
repository = "https://github.com/rapidsai/cuvs"
homepage = "https://github.com/rapidsai/cuvs"
description = "RAPIDS vector search library"
authors = ["NVIDIA Corporation"]
license = "Apache-2.0"

13 changes: 6 additions & 7 deletions rust/cuvs-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[package]
name = "cuvs-sys"
version = "0.1.0"
edition = "2021"
repository = "https://github.com/rapidsai/cuvs"
homepage = "https://github.com/rapidsai/cuvs"
description = "Low-level rust bindings to libcuvs"
authors = ["NVIDIA Corporation"]
license = "Apache-2.0"
links = "cuvs"

version.workspace = true
edition.workspace = true
repository.workspace = true
homepage.workspace = true
authors.workspace = true
license.workspace = true

[dependencies]

Expand Down
2 changes: 1 addition & 1 deletion rust/cuvs-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ fn main() {
// generated)
.must_use_type("cuvsError_t")
// Only generate bindings for cuvs/cagra types and functions
.allowlist_type("(cuvs|cagra).*")
.allowlist_type("(cuvs|cagra|DL).*")
.allowlist_function("(cuvs|cagra).*")
.rustified_enum("(cuvs|cagra|DL).*")
.generate()
Expand Down
12 changes: 6 additions & 6 deletions rust/cuvs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "cuvs"
version = "0.1.0"
edition = "2021"
repository = "https://github.com/rapidsai/cuvs"
homepage = "https://github.com/rapidsai/cuvs"
description = "RAPIDS vector search library"
authors = ["NVIDIA Corporation"]
license = "Apache-2.0"
version.workspace = true
edition.workspace = true
repository.workspace = true
homepage.workspace = true
authors.workspace = true
license.workspace = true

[dependencies]
ffi = { package = "cuvs-sys", path = "../cuvs-sys" }

0 comments on commit 7ddc9de

Please sign in to comment.