Skip to content

Commit f20d86e

Browse files
committed
rust: use workspace properties
1 parent 260cf52 commit f20d86e

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ members = ["client/rs"]
44

55
[workspace.package]
66
edition = "2024"
7-
version = "0.1.2"
7+
version = "0.1.3"
88
license = "BSD-2-Clause"
9-
authors = ["Nathan Gill <nathan.j.gill@outlook.com>"]
9+
authors = ["Nathan Gill <n@ngill.net>"]

client/rs/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "hopper"
3-
version = "0.1.3"
4-
edition = "2024"
5-
license = "BSD-2-Clause"
6-
authors = ["Nathan Gill <nathan.j.gill@outlook.com>"]
3+
version.workspace = true
4+
edition.workspace = true
5+
license.workspace = true
6+
authors.workspace = true
77

88
[dependencies]
99
bitflags = "2.11.0"

nix/rust.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{ lib, rustPlatform }:
22

33
let
4-
cargoToml = builtins.fromTOML (builtins.readFile ../client/rs/Cargo.toml);
5-
version = cargoToml.package.version;
4+
cargoToml = builtins.fromTOML (builtins.readFile ../Cargo.toml);
5+
version = cargoToml.workspace.package.version;
66
in
77
rustPlatform.buildRustPackage {
88
pname = "hopper";

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66
name = "hopper"
77
version = "0.1.3"
88
authors = [
9-
{ name = "Nathan Gill", email = "nathan.j.gill@outlook.com" }
9+
{ name = "Nathan Gill", email = "n@ngill.net" }
1010
]
1111

1212
[tool.setuptools]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
packages=["hopper"],
77
package_dir={"hopper": "client/py"},
88
author="Nathan Gill",
9-
author_email="nathan.j.gill@outlook.com",
9+
author_email="n@ngill.net",
1010
)

0 commit comments

Comments
 (0)