Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/demostf/edit

Demo editing tools with js bindings
https://github.com/demostf/edit

Last synced: about 1 month ago
JSON representation

Demo editing tools with js bindings

Awesome Lists containing this project

README

        

# Demo editor

## Rust api

```rust
use edit::{edit, EditOptions, TickRange};

fn main() {
let options = EditOptions {
unlock_pov: true,
cut: Some(TickRange {
from: 1000.into(),
to: 2000.into(),
}),
..EditOptions::default()
};
let input = fs::read("in.demo").unwrap();
let output = edit(&input, options);
fs::write("out.dem", output).unwrap();
}
```