File: Cargo.toml

package info (click to toggle)
python-setuptools-rust 1.9.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 648 kB
  • sloc: python: 1,703; javascript: 95; sh: 14; makefile: 13
file content (21 lines) | stat: -rw-r--r-- 663 bytes parent folder | download | duplicates (2)
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.20.3"