[package]
edition = "2021"
rust-version = "1.83.0"
name = "ox_content_napi"
version = "0.3.0-alpha.3"
authors = ["ubugeeei"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Node.js bindings for Ox Content"
homepage = "https://github.com/ubugeeei/ox-content"
readme = false
keywords = [
"markdown",
"documentation",
"parser",
"vite",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/ubugeeei/ox-content"
[lib]
name = "ox_content_napi"
crate-type = ["cdylib"]
path = "src/lib.rs"
[dependencies.napi]
version = "2"
[dependencies.napi-derive]
version = "2"
[dependencies.ox_content_allocator]
version = "0.3.0-alpha.3"
[dependencies.ox_content_ast]
version = "0.3.0-alpha.3"
[dependencies.ox_content_docs]
version = "0.3.0-alpha.3"
[dependencies.ox_content_og_image]
version = "0.3.0-alpha.3"
[dependencies.ox_content_parser]
version = "0.3.0-alpha.3"
[dependencies.ox_content_renderer]
version = "0.3.0-alpha.3"
[dependencies.ox_content_search]
version = "0.3.0-alpha.3"
[dependencies.ox_content_ssg]
version = "0.3.0-alpha.3"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[build-dependencies.napi-build]
version = "2.1.3"
[lints.clippy]
cargo_common_metadata = "allow"
cast_possible_truncation = "allow"
dbg_macro = "warn"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
if_not_else = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
print_stderr = "warn"
print_stdout = "warn"
range_plus_one = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
unnecessary_wraps = "allow"
unnested_or_patterns = "allow"
use_self = "allow"
wildcard_imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
absolute_paths_not_starting_with_crate = "warn"
non_local_definitions = "warn"
redundant_lifetimes = "warn"
unit_bindings = "warn"
unnameable_types = "warn"
unsafe_code = "warn"