Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 114 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ members = [
"float-pigment-mlp",
"float-pigment-css-macro",
"float-pigment-css",
"float-pigment-css-napi",
"float-pigment-layout",
"float-pigment-forest-macro",
"float-pigment-forest",
Expand Down
5 changes: 5 additions & 0 deletions float-pigment-css-napi/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules/
target/
# Ignore .node files in root (napi-rs build intermediates)
# but NOT in prebuilds/ (those are tracked as release artifacts)
/*.node
6 changes: 6 additions & 0 deletions float-pigment-css-napi/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
target/
src/
build.rs
Cargo.toml
Cargo.lock
.cargo/
22 changes: 22 additions & 0 deletions float-pigment-css-napi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[package]
name = "float-pigment-css-napi"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Node.js N-API binding for float-pigment-css"

[lib]
crate-type = ["cdylib"]

[dependencies]
napi = { version = "2", features = ["async", "napi6"] }
napi-derive = "2"
float-pigment-css = { workspace = true, features = ["std", "serialize", "serialize_json"] }

[build-dependencies]
napi-build = "2"

[lints]
workspace = true
Loading
Loading