[package] name = "janetrs" version = "0.7.0" authors = ["Eric Shimizu Karbstein "] description = "High level binding for Janet programming language" repository = "https://github.com/GrayJack/janetrs" homepage = "https://crates.io/crates/janetrs" documentation = "https://docs.rs/janetrs" license-file = "LICENSE" readme = "README.md" edition = "2021" rust-version = "1.71.0" keywords = ["janet", "embedding", "ffi"] categories = ["api-bindings"] exclude = ["/.github", "/.vscode"] [package.metadata.docs.rs] targets = [ "x86_64-unknown-linux-gnu", "x86_64-unknown-freebsd", "x86_64-unknown-netbsd", "x86_64-apple-darwin", "aarch64-apple-darwin", "x86_64-unknown-illumos", "aarch64-unknown-linux-gnu", "i686-unknown-linux-gnu", "x86_64-pc-windows-gnu", "x86_64-pc-windows-msvc", ] all-features = false features = ["amalgation", "nightly"] rustdoc-args = ["--cfg", "_doc"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] bstr = { version = "1.0.0", default-features = false, features = ["alloc"] } evil-janet = "1" janetrs_macros = { version = "0.6.0", path = "janetrs_macros" } janetrs_version = { version = "0.1.0", path = "janetrs_version" } libc = { version = "0.2", default-features = false, features = [ "extra_traits", ] } rand_core = "0.6" [dev-dependencies] [features] default = ["std", "unicode"] # To use Error trait and allocations std = ["bstr/std", "janetrs_macros/std", "libc/std"] # Use to statically link to janet runtime and have Janet client amalgation = ["evil-janet/link-amalg"] # Inline more functions inline-more = [] # Unicode conveniences unicode = ["bstr/unicode"] # Use system janet.h system = [ "evil-janet/system", "janetrs_macros/system", "janetrs_version/system", ] # Use to link to system libjanet (not recommended generally) link-system = [ "evil-janet/link-system", "janetrs_macros/system", "janetrs_version/system", ] # Crate features that depends of a nightly gated features nightly = [] [workspace] members = ["janetrs_macros", "janetrs_version"] [[example]] name = "hello_world" required-features = ["amalgation"]