Something like `cargo-script export myfile.csr output/` should write `output/Cargo.toml` and `output/src/main.rs`.