# Library import flattens directory structure? \[WORKAROUND\]

**URL:** <https://community.particle.io/t/library-import-flattens-directory-structure-workaround/9915>\
**Category:** Libraries\
**Created:** [February 10, 2015, 12:23am UTC](https://community.particle.io/t/library-import-flattens-directory-structure-workaround/9915 "2015-02-10T00:23:02Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![Pixelmatix](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/pixelmatix/32/9357_2.png) [@Pixelmatix](https://community.particle.io/u/Pixelmatix)\
**Post date:** [March 24, 2016, 11:30am UTC](https://community.particle.io/t/library-import-flattens-directory-structure-workaround/9915/20 "2016-03-24T11:30:33Z")

</div>

I’m trying to find an answer to this myself, it’s disappointing that I can’t use the latest FastLED features on the Photon, but I completely understand why you don’t want to manage two code bases when one should do.

Back in October:

> **[Proposal: Have Web IDE also accept Arduino IDE Library Layout](http://community.particle.io/t/proposal-have-web-ide-also-accept-arduino-ide-library-layout/12982/9?u=pixelmatix)**
>
> Libraries v2 format will support arduino-style libraries.

From last week - looks like this isn’t supported yet:

> **[Libraries V2 Status?](http://community.particle.io/t/libraries-v2-status/21180)**
>
> I see on the uber-library-example repo that there is a branch for the new libraries format. Has this been implemented yet? I like the options listed for dependencies and what not. Also, is it possible in any way to import a branch other than...

The library example repo has a V2 branch, but hasn’t been updated since September:  
[https://github.com/spark/uber-library-example/tree/feature/libraries-v2](https://github.com/spark/uber-library-example/tree/feature/libraries-v2)

It’s using a `library.properties` file like Arduino libraries, but doesn’t specifically mention nested folders in the README. Fingers crossed that they release this soon, and include nested folder support.

---

_[View the full topic](https://community.particle.io/t/library-import-flattens-directory-structure-workaround/9915)._
