forked from matsadler/magnus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
39 lines (33 loc) · 1.22 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
31
32
33
34
35
36
37
38
39
[package]
name = "magnus"
version = "0.5.0"
authors = ["Mat Sadler <mat@sourcetagsandcodes.com>"]
edition = "2018"
resolver = "2"
description = "High level Ruby bindings for Rust."
keywords = ["ruby"]
categories = ["api-bindings", "development-tools::ffi"]
repository = "https://github.com/matsadler/magnus"
homepage = "https://github.com/matsadler/magnus"
documentation = "https://docs.rs/magnus/"
license = "MIT"
exclude = [".github", ".gitignore"]
[workspace]
members = ["magnus-macros"]
exclude = ["examples/rust_blank/ext/rust_blank", "examples/custom_exception_ruby/ext/ahriman", "examples/custom_exception_rust/ext/ahriman", "examples/complete_object/ext/temperature"]
[features]
embed = ["rb-sys/link-ruby"]
rb-sys-interop = []
ruby-static = ["rb-sys/ruby-static"]
bytes-crate = ["bytes"]
[dependencies]
magnus-macros = { version = "0.4.0", path = "magnus-macros" }
rb-sys = { version = "0.9.56", default-features = false, features = ["bindgen-rbimpls", "bindgen-deprecated-types"] }
bytes = { version = "1", optional = true }
[dev-dependencies]
magnus = { path = ".", features = ["embed", "rb-sys-interop"] }
[build-dependencies]
rb-sys-env = "0.1.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]