Skip to content

Add Maturin to an existing rust library as a subcrate/workspace #995

Answered by messense
tgross35 asked this question in Q&A
Discussion options

You must be logged in to vote

Cargo.toml # Don't really want this file to avoid managing "version"

It's not possible today since Cargo requires the version field, see rust-lang/cargo#9829. But I think you can use something like cargo-workspaces or cargo-release to manage your crate versions.

You can't not avoid Cargo.toml since you need to specify Rust dependencies.

Also unsure how to specify the README to use for pypi

https://maturin.rs/metadata.html

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tgross35
Comment options

Answer selected by tgross35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants