bdarcus / csln

Reimagining CSL
Mozilla Public License 2.0
12 stars 0 forks source link

Remerge crates #109

Closed bdarcus closed 11 months ago

bdarcus commented 12 months ago

I think I may need to re-merge the style and bibliography crates, since otherwise seems to result in an unavoidable circular dependency, since the reference methods rely on style::options.

Maybe this structure?

├─ Cargo.toml
└─ src/
   ├─ lib.rs
   ├─ bibliography.rs
   └─ bibliography/
   ├─ style.rs
   └─ style/

So then:

git mv bibliography style/
git mv bibliography/lib.rs style/bibliography.rs
git rm bibliography/Cargo.toml
...

I do think it makes sense to keep the processor separate though.

Either that, or again split out some common types.

bdarcus commented 11 months ago

Closed via #110