Cotton code
21 lines · 595 B · TOMLRaw
[package]name = "cotton-mac-ffi"version = "0.1.0"edition.workspace = truelicense.workspace = truepublish.workspace = truedescription = "The C ABI the Mac app Cotton links: three functions, JSON in and out, over the one cotton-mac App."[lib]name = "cotton_mac_ffi"path = "src/lib.rs"# `staticlib` is what Swift links: one binary, nothing to sign separately.# `rlib` lets the crate's own tests call the three functions.crate-type = ["staticlib", "rlib"][dependencies]cotton-mac = { path = "../cotton-mac" }serde_json.workspace = true[dev-dependencies]tempfile.workspace = true