forked from PyO3/setuptools-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
21 lines (19 loc) · 661 Bytes
/
Cargo.toml
File metadata and controls
21 lines (19 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[package]
name = "namespace_package_rust"
version = "0.1.0"
edition = "2021"
[lib]
# When omitted, the name field will be assumed to have the same value as package.name
# https://doc.rust-lang.org/cargo/reference/cargo-targets.html#the-name-field
crate-type = ["cdylib", "rlib"]
path = "rust/lib.rs" # When omitted, the value of "src/lib.rs" is assumed
# See https://doc.rust-lang.org/cargo/reference/cargo-targets.html#library
#
# If [lib] is not specified, but the file ``src/lib.rs`` exists,
# you can also rely on an implicit definition which will behave similarly to:
#
# [lib]
# name = <package.name>
# path = "src/lib.rs"
[dependencies]
pyo3 = "0.25"