matrix-org / rust-synapse-compress-state

A tool to compress some state in a Synapse instance's database
https://pypi.org/project/synapse-auto-compressor/
Apache License 2.0
142 stars 32 forks source link

Cargo build fails due to Cargo.toml configuration #121

Closed gspbirel56 closed 1 year ago

gspbirel56 commented 1 year ago

Hello, after a fresh pull from the repo, following the readme's build instructions gave me the following error:

error: failed to parse manifest at `/[...]/rust-synapse-compress-state/synapse_auto_compressor/Cargo.toml`

Caused by:
  Features and dependencies cannot have the same name: `pyo3`
H-Shay commented 1 year ago

Hmm, I was unable to reproduce this on my machine - what version cargo are you using? What operating system?

gspbirel56 commented 1 year ago

Hi @H-Shay! I realized my mistake. I only installed rustc from apt (Debian) and I did not have the complete set of tools to compile a Rust application. I twas able to get up and running after installing Rust from the official shell script.