---
title: A New Open-source Library for Project Haystack – Rust
description: The J2 Innovations team has been creating another Rust-based high-performance library for Project Haystack
image: https://www.j2inn.com/hubfs/Copy%20of%20haystack-core.png
---

![search-icon](https://www.j2inn.com/hubfs/search-magnifying-glass-svgrepo-com.svg) ![close-icon](https://www.j2inn.com/hubfs/close-md-svgrepo-com.svg)

[![J2 Innovations_A_Siemens_Company_Logo_with_tagline_deep_blue_background_4C](https://www.j2inn.com/hubfs/J2%20Innovations_A_Siemens_Company_Logo_with_tagline_deep_blue_background_4C.svg "J2 Innovations_A_Siemens_Company_Logo_with_tagline_deep_blue_background_4C")](https://www.j2inn.com/)

[Log In ](https://www.j2inn.com/_hcms/mem/login) [Help Center ](https://www.j2inn.com/help-center)

 English

![search-icon](https://www.j2inn.com/hubfs/search-magnifying-glass-svgrepo-com.svg) ![close-icon](https://www.j2inn.com/hubfs/close-md-svgrepo-com.svg)

## The J2 Innovations' blog

The home of smart buildings, smart equipment and IoT

# A New Open-source Library for Project Haystack – Rust

 Posted by [B. Scott Muench](https://www.j2inn.com/blog/author/b-scott-muench)  
 Mar 21, 2022 12:00:00 PM

![Copy of haystack-core](https://www.j2inn.com/hs-fs/hubfs/Copy%20of%20haystack-core.png?width=800&name=Copy%20of%20haystack-core.png)

Last April we announced the release of a TypeScript-based Project Haystack 4 open-source library called [‘Haystack Core](https://www.j2inn.com/blog/haystack-core-is-here)’ to help developers create smart building and IoT applications more easily and faster. Since then, a team within J2 Innovations has been creating another Rust-based high-performance library.

We caught up with one of the core team who developed the library, Enterprise Software Architect at J2 Innovations, Radu Racariu:

## Why was another Haystack implementation required?

The new Rust open-source library was developed as part of an internal working group looking at how to better develop software using project Haystack tagging. It complements the existing Haystack Core library which uses TypeScript implementation that is geared towards more Web centric applications - such as Web Applications and REST Services. The Rust implementation will suit embedded or high-performance applications and will allow Haystack vendors to create better Haystack-based solutions. For example, embedding a Haystack solution in a thermostat is currently challenging due to the advanced hardware required at additional cost. Using this library could negate this need.

## Why did J2 Innovations pick Rust for this?

J2 Innovations is always looking for technologies that can be both efficient and secure, and as our core offering is IoT and BAS, we need to be ahead of the curve in delivering the state-of-the-art technology. Although Rust is a relatively new programming language, it is gaining traction in replacing C/C++ for high-performance applications as it offers a radical new approach to security and reliability.

## What does the library offer?

The ‘Rust haystacklib’ offers a great deal of functionality in terms of Haystack 4 specification. We offer Haystack 4 types: JSON and ZINC encoders, Haystack 4 filters, Units, Def namespace and a C compatible API for interoperability with C/C++ solutions or any other language that can do C ABI interop, such as Python.

J2 Innovations’ ‘Rust haystacklib’ is available to all under a permissive Open-Source license; we are a supporter of the collaborative and open way to address fundamental engineering problems that can help the industry.

## Where can the library be accessed?

The source code is available at[ github.com/j2inn/libhaystack](https://github.com/j2inn/libhaystack) and the Rust package and the documentation are available at [crates.io/crates/libhaystack](https://crates.io/crates/libhaystack)

Thanks to all the Stack team members who helped develop the library alongside Radu.

- [![facebook](https://www.j2inn.com/hubfs/5dbc0ff6df87c079a347b03d_002-facebook-logo.svg) ](https://www.facebook.com/share.php?u=https%3A%2F%2Fwww.j2inn.com%2Fblog%2Fa-new-open-source-library-for-project-haystack-rust)
- [![home-socail](https://www.j2inn.com/hs-fs/hubfs/5dbc0ff6df87c04fb547b03b_home-socicon1.png?width=25&height=20&name=5dbc0ff6df87c04fb547b03b_home-socicon1.png) ](https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fwww.j2inn.com%2Fblog%2Fa-new-open-source-library-for-project-haystack-rust)
- [![linkedin](https://www.j2inn.com/hubfs/5dbc0ff6df87c0223647b046_001-linkedin-logo.svg) ](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.j2inn.com%2Fblog%2Fa-new-open-source-library-for-project-haystack-rust)
- [![iconfinder_mail](https://www.j2inn.com/hubfs/5dbc0ff6df87c033b647b03f_iconfinder_mail_227579.svg) ](mailto:?subject=%20site&body=Check%20out%20this%20site%20https://www.j2inn.com/blog/a-new-open-source-library-for-project-haystack-rust)

## B. Scott Muench

Scott joined J2 Innovations as a partner in 2011 and is now Vice President of Knowledge Excellence. He has a wide range of responsibilities, including evangelism, business development and training. Scott is well known as an industry expert in smart homes and smart buildings. He is a past president of ASHRAE, and is currently a board member for Project Haystack. Scott attended Clarkson University for Mechanical Engineering and graduated with a BS/Business in Organizational Innovation.

[View all articles](https://www.j2inn.com/blog/author/b-scott-muench)

Topics from this blog: [Project Haystack](https://www.j2inn.com/blog/tag/project-haystack) [Technology](https://www.j2inn.com/blog/tag/technology) 

[Back to all posts](https://www.j2inn.com/blog)

#### Talk to FIN expert

![FIN_Framework_Logo_Rev_RBG](https://www.j2inn.com/hs-fs/hubfs/FIN_Framework_Logo_Rev_RBG.webp?width=285&height=125&name=FIN_Framework_Logo_Rev_RBG.webp)

### Subscribe for Exclusive Blog Updates

#### Recent Posts

[ FIN Connect 2026: A Successful Debut Connecting the FIN Ecosystem ](https://www.j2inn.com/blog/fin-connect-2026-a-successful-debut-connecting-the-fin-ecosystem)

[ FIN Framework Earns J2 Innovations a Spot Among 2026's Top Building Tech Innovators ](https://www.j2inn.com/blog/fin-framework-earns-j2-innovations-a-spot-among-2026s-top-building-tech-innovators)

[ FIN Connect 2026: From Regulation to Real-World Applications—Where the Future of Intelligent Buildings Takes Shape ](https://www.j2inn.com/blog/fin-connect-2026)

#### Blog Categories

- [J2 News & Events (165)](https://www.j2inn.com/blog/tag/j2-news-events)
- [Smart Buildings (158)](https://www.j2inn.com/blog/tag/smart-buildings)
- [FIN Framework (123)](https://www.j2inn.com/blog/tag/fin-framework)
- [Technology (111)](https://www.j2inn.com/blog/tag/technology)
- [Building Automation System (83)](https://www.j2inn.com/blog/tag/building-automation-system)
- [OEM (79)](https://www.j2inn.com/blog/tag/oem)
- [BAS (76)](https://www.j2inn.com/blog/tag/bas)
- [Industry (75)](https://www.j2inn.com/blog/tag/industry)
- [Project Haystack (75)](https://www.j2inn.com/blog/tag/project-haystack)
- [End User (57)](https://www.j2inn.com/blog/tag/end-user)
- [FIN App Suite (54)](https://www.j2inn.com/blog/tag/fin-app-suite)
- [Smart Equipment (43)](https://www.j2inn.com/blog/tag/smart-equipment)
- [Energy management (41)](https://www.j2inn.com/blog/tag/energy-management)
- [Company Life (40)](https://www.j2inn.com/blog/tag/company-life)
- [FIN Edge2Cloud (37)](https://www.j2inn.com/blog/tag/fin-edge2cloud)
- [Systems Integrator (36)](https://www.j2inn.com/blog/tag/systems-integrator)
- [FIN 5.0 (32)](https://www.j2inn.com/blog/tag/fin-5-0)
- [FINtastic Tips (31)](https://www.j2inn.com/blog/tag/fintastic-tips)
- [IoT (31)](https://www.j2inn.com/blog/tag/iot)
- [sustainability (27)](https://www.j2inn.com/blog/tag/sustainability)
- [FIN Intelligence (22)](https://www.j2inn.com/blog/tag/fin-intelligence)
- [Integration (21)](https://www.j2inn.com/blog/tag/integration)
- [Press Release (21)](https://www.j2inn.com/blog/tag/press-release)
- [FIN microBMS (20)](https://www.j2inn.com/blog/tag/fin-microbms)
- [Cybersecurity (19)](https://www.j2inn.com/blog/tag/cybersecurity)
- [Democratization (19)](https://www.j2inn.com/blog/tag/democratization)
- [Dashboard (17)](https://www.j2inn.com/blog/tag/dashboard)
- [AI (16)](https://www.j2inn.com/blog/tag/ai)
- [FINstitute (16)](https://www.j2inn.com/blog/tag/finstitute)
- [Siemens (16)](https://www.j2inn.com/blog/tag/siemens)
- [Training (16)](https://www.j2inn.com/blog/tag/training)
- [BACnet (14)](https://www.j2inn.com/blog/tag/bacnet)
- [News (14)](https://www.j2inn.com/blog/tag/news)
- [FIN ECO (13)](https://www.j2inn.com/blog/tag/fin-eco)
- [Single Pane of Glass (11)](https://www.j2inn.com/blog/tag/single-pane-of-glass)
- [FIN Supervisory and Control (10)](https://www.j2inn.com/blog/tag/fin-supervisory-and-control)
- [GenAI (10)](https://www.j2inn.com/blog/tag/genai)
- [Alarms (9)](https://www.j2inn.com/blog/tag/alarms)
- [Desigo Optic (9)](https://www.j2inn.com/blog/tag/desigo-optic)
- [FIN (9)](https://www.j2inn.com/blog/tag/fin)
- [FIN 5.1 (9)](https://www.j2inn.com/blog/tag/fin-5-1)
- [Case study (8)](https://www.j2inn.com/blog/tag/case-study)
- [FIN F200 (8)](https://www.j2inn.com/blog/tag/fin-f200)
- [KNX (8)](https://www.j2inn.com/blog/tag/knx)
- [DB Builder (7)](https://www.j2inn.com/blog/tag/db-builder)
- [Graphics Builder (7)](https://www.j2inn.com/blog/tag/graphics-builder)
- [NEXIO (7)](https://www.j2inn.com/blog/tag/nexio)
- [Software Maintenance (7)](https://www.j2inn.com/blog/tag/software-maintenance)
- [EKO (6)](https://www.j2inn.com/blog/tag/eko)
- [Glue Team (6)](https://www.j2inn.com/blog/tag/glue-team)
- [Project Engineering (6)](https://www.j2inn.com/blog/tag/project-engineering)
- [Automated Commissioning (5)](https://www.j2inn.com/blog/tag/automated-commissioning)
- [Link Edge (5)](https://www.j2inn.com/blog/tag/link-edge)
- [Web Garage (5)](https://www.j2inn.com/blog/tag/web-garage)
- [EPBD (4)](https://www.j2inn.com/blog/tag/epbd)
- [FläktEdge (4)](https://www.j2inn.com/blog/tag/fläktedge)
- [Niagara compatibility (4)](https://www.j2inn.com/blog/tag/niagara-compatibility)
- [SPoG (4)](https://www.j2inn.com/blog/tag/spog)
- [blackPAC (4)](https://www.j2inn.com/blog/tag/blackpac)
- [BCIA (3)](https://www.j2inn.com/blog/tag/bcia)
- [Comfy App (3)](https://www.j2inn.com/blog/tag/comfy-app)
- [Lennox e-savvy (3)](https://www.j2inn.com/blog/tag/lennox-e-savvy)
- [Professional Services (3)](https://www.j2inn.com/blog/tag/professional-services)
- [Alliance Partners (2)](https://www.j2inn.com/blog/tag/alliance-partners)
- [Logic Builder (2)](https://www.j2inn.com/blog/tag/logic-builder)
- [P-Smart Edge (2)](https://www.j2inn.com/blog/tag/p-smart-edge)
- [Zamil Intelligence (2)](https://www.j2inn.com/blog/tag/zamil-intelligence)
- [enerSOC (2)](https://www.j2inn.com/blog/tag/enersoc)
- [ventilation (2)](https://www.j2inn.com/blog/tag/ventilation)
- [BIM (1)](https://www.j2inn.com/blog/tag/bim)
- [FIN Stack (1)](https://www.j2inn.com/blog/tag/fin-stack)
- [SenNet BMS (1)](https://www.j2inn.com/blog/tag/sennet-bms)
- [white paper (1)](https://www.j2inn.com/blog/tag/white-paper)

[see all](https://www.j2inn.com/blog/a-new-open-source-library-for-project-haystack-rust#)

[ Get in touch ](https://www.j2inn.com/contact-us)

#### Products

#### Useful Links

#### Support

J2 Innovations Headquarters, 535 Anton Blvd, Suite 1200, Costa Mesa, CA 92626, USA. Tel: 909-217-7040

[![x-twitter-2](https://www.j2inn.com/hs-fs/hubfs/x-twitter-2.png?width=31&height=31&name=x-twitter-2.png) ](https://twitter.com/j2innovations) [![youtube-1](https://www.j2inn.com/hs-fs/hubfs/youtube-1.png?width=31&height=31&name=youtube-1.png) ](https://www.youtube.com/c/J2Innovations) [![linkedin](https://www.j2inn.com/hs-fs/hubfs/linkedin.png?width=31&height=31&name=linkedin.png) ](https://www.linkedin.com/company/j2-innovations/) 

![Linkedin insight](https://px.ads.linkedin.com/collect/?pid=2117330&fmt=gif)

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "B. Scott Muench",
    "url" : "https://www.j2inn.com/blog/author/b-scott-muench"
  },
  "dateModified" : "2023-08-09T16:19:12.156Z",
  "datePublished" : "2022-03-21T12:00:00.000Z",
  "headline" : "A New Open-source Library for Project Haystack – Rust",
  "image" : [ "https://www.j2inn.com/hubfs/Copy%20of%20haystack-core.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://www.j2inn.com/blog/a-new-open-source-library-for-project-haystack-rust",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://www.j2inn.com/hubfs/Template/img/j2-logo-siemens.png"
    },
    "name" : "J2 Innovations"
  }
}
```