Skip to content

Commit 52dbd77

Browse files
authored
Move python metadata to pyproject.toml (#140)
Otherwise maturin 1.5.0 won't let you publish.
1 parent f2c6fff commit 52dbd77

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

synapse_auto_compressor/Cargo.toml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@ edition = "2018"
88
name = "synapse_auto_compressor"
99
required-features = ["clap"]
1010

11-
[package.metadata.maturin]
12-
requires-python = ">=3.7"
13-
project-url = {Source = "https://github.com/matrix-org/rust-synapse-compress-state"}
14-
classifier = [
15-
"Development Status :: 4 - Beta",
16-
"Programming Language :: Rust",
17-
]
18-
1911
[dependencies]
2012
openssl = { version = "0.10.60", features = ["vendored"] }
2113
postgres = "0.19.7"
Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
1+
[project]
2+
name = "synapse_auto_compressor"
3+
requires-python = ">=3.7"
4+
classifier = [
5+
"Development Status :: 4 - Beta",
6+
"Programming Language :: Rust",
7+
]
8+
9+
[project.urls]
10+
Source = "https://github.com/matrix-org/rust-synapse-compress-state"
11+
112
[build-system]
213
requires = ["maturin>=1.0,<2.0"]
314
build-backend = "maturin"
415

516
[tool.maturin]
617
profile = "release"
718
features = ["pyo3"]
8-
no-default-features = true
19+
no-default-features = true

0 commit comments

Comments
 (0)