forked from obi1kenobi/trustfall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
30 lines (25 loc) · 1.13 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[package]
name = "pytrustfall"
version = "0.1.6"
rust-version.workspace = true
edition.workspace = true
authors.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
# The name of the native library. This is the name which will be used in Python to import the
# library (i.e. `import trustfall`). If you change this, you must also change the name of the
# `#[pymodule]` in `src/lib.rs`.
name = "trustfall"
# Avoid the name conflict with the Rust lib with the same name.
# This library is only going to be used from Python, so rustdoc for it is of limited use.
doc = false
# "cdylib" is necessary to produce a shared library for Python to import from.
#
# Downstream Rust code (including any code in `bin/`, `examples/`, and `tests/`) will not be able
# to `use pytrustfall;` unless the "rlib" or "lib" crate type is also included, e.g.:
crate-type = ["cdylib", "rlib"]
[dependencies]
async-graphql-parser = { workspace = true }
async-graphql-value = { workspace = true }
pyo3 = { version = "0.20.0", features = ["extension-module"] }
trustfall_core = { path = "../trustfall_core" }