mirror of
https://github.com/noib3/nvim-oxi.git
synced 2025-12-23 06:30:57 +00:00
Some checks failed
ci / test (--features neovim-0-11, v0.11.1, ubuntu-latest) (push) Has been cancelled
ci / test (--features neovim-0-11, v0.11.1, windows-latest) (push) Has been cancelled
ci / test (--features neovim-0-11, v0.11.1, macos-latest) (push) Has been cancelled
ci / test (--features neovim-0-10, v0.10.4, macos-latest) (push) Has been cancelled
ci / test (--features neovim-0-10, v0.10.4, ubuntu-latest) (push) Has been cancelled
ci / test (--features neovim-0-10, v0.10.4, windows-latest) (push) Has been cancelled
ci / test (--features neovim-nightly, Nightly, macos-latest) (push) Has been cancelled
ci / test (--features neovim-nightly, Nightly, ubuntu-latest) (push) Has been cancelled
ci / test (--features neovim-nightly, Nightly, windows-latest) (push) Has been cancelled
ci / clippy (push) Has been cancelled
ci / docs (push) Has been cancelled
ci / format (push) Has been cancelled
102 lines
2.6 KiB
TOML
102 lines
2.6 KiB
TOML
[workspace]
|
|
members = ["crates/*", "examples/*", "tests"]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
version = "0.6.0"
|
|
edition = "2024"
|
|
authors = ["Riccardo Mazzarini <me@noib3.dev>"]
|
|
rust-version = "1.86.0"
|
|
documentation = "https://docs.rs/nvim-oxi"
|
|
repository = "https://github.com/noib3/nvim-oxi"
|
|
license = "MIT"
|
|
keywords = ["bindings", "neovim", "nvim"]
|
|
|
|
[workspace.dependencies]
|
|
api = { path = "./crates/api", package = "nvim-oxi-api" }
|
|
libuv = { path = "./crates/libuv", package = "nvim-oxi-libuv" }
|
|
luajit = { path = "./crates/luajit", package = "nvim-oxi-luajit" }
|
|
macros = { path = "./crates/macros", package = "nvim-oxi-macros" }
|
|
types = { path = "./crates/types", package = "nvim-oxi-types" }
|
|
|
|
thiserror = "2.0"
|
|
|
|
[workspace.lints.clippy]
|
|
mixed_attributes_style = "allow"
|
|
|
|
[workspace.lints.rust]
|
|
unsafe_op_in_unsafe_fn = "allow"
|
|
|
|
[package]
|
|
name = "nvim-oxi"
|
|
description = "Rust bindings to all things Neovim"
|
|
readme = "./README.md"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
rust-version.workspace = true
|
|
documentation.workspace = true
|
|
repository.workspace = true
|
|
license.workspace = true
|
|
keywords.workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
default-features = false
|
|
features = ["__docsrs", "neovim-nightly", "libuv", "mlua", "test"]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[features]
|
|
default = ["__no_docsrs"]
|
|
neovim-0-10 = ["api/neovim-0-10"]
|
|
neovim-0-11 = ["api/neovim-0-10", "api/neovim-0-11"]
|
|
neovim-nightly = ["neovim-0-11", "api/neovim-nightly"]
|
|
|
|
__docsrs = ["mlua?/vendored"]
|
|
__no_docsrs = ["mlua?/module"]
|
|
|
|
libuv = ["dep:libuv"]
|
|
mlua = ["dep:mlua"]
|
|
test = ["macros/test", "dep:cargo_metadata"]
|
|
test-terminator = ["test", "libuv", "macros/test-terminator"]
|
|
|
|
[dependencies]
|
|
api = { workspace = true }
|
|
luajit = { workspace = true }
|
|
macros = { workspace = true, features = ["plugin"] }
|
|
types = { workspace = true, features = ["serde"] }
|
|
libuv = { workspace = true, optional = true }
|
|
|
|
thiserror = { workspace = true }
|
|
cargo_metadata = { version = "0.21", optional = true }
|
|
mlua = { version = "0.11", features = ["luajit"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
|
|
[[example]]
|
|
name = "api"
|
|
path = "./examples/api.rs"
|
|
crate-type = ["cdylib"]
|
|
|
|
[[example]]
|
|
name = "calc"
|
|
path = "./examples/calc.rs"
|
|
crate-type = ["cdylib"]
|
|
|
|
[[example]]
|
|
name = "libuv"
|
|
path = "./examples/libuv.rs"
|
|
crate-type = ["cdylib"]
|
|
required-features = ["libuv"]
|
|
|
|
[[example]]
|
|
name = "mechanic"
|
|
path = "./examples/mechanic.rs"
|
|
crate-type = ["cdylib"]
|
|
|
|
[[example]]
|
|
name = "mlua"
|
|
path = "./examples/mlua.rs"
|
|
crate-type = ["cdylib"]
|
|
required-features = ["mlua"]
|