An example extension with automatically generated Cargo.toml
manifest
files. Simply run python setup.py tomlgen_rust
to generate the following
files:
-
Cargo.toml
forhello-english
[package] name = "hello-english" version = "0.1.0" authors = ["Martin Larralde <[email protected]>"] publish = false [lib] crate-type = ["cdylib"] name = "hello_english" path = "lib.rs" [dependencies] pyo3 = { version = "*", features = ["extension-module"] } english-lint = "*"
-
Cargo.toml
forhello.french
[package] name = "hello.french" version = "0.1.0" authors = ["Martin Larralde <[email protected]>"] publish = false [lib] crate-type = ["cdylib"] name = "hello_french" path = "lib.rs" [dependencies] pyo3 = { version = "*", features = ["extension-module"] }