{"id":15718242,"url":"https://github.com/overdrivenpotato/rust-vst2","last_synced_at":"2025-04-05T16:06:25.597Z","repository":{"id":30933204,"uuid":"34491195","full_name":"overdrivenpotato/rust-vst2","owner":"overdrivenpotato","description":"VST 2.4 API implementation in rust. Create plugins or hosts.","archived":false,"fork":false,"pushed_at":"2018-05-21T06:10:24.000Z","size":3925,"stargazers_count":224,"open_issues_count":17,"forks_count":22,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-03-29T15:05:27.341Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/overdrivenpotato.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-24T01:30:56.000Z","updated_at":"2025-03-22T22:02:29.000Z","dependencies_parsed_at":"2022-08-30T14:41:17.623Z","dependency_job_id":null,"html_url":"https://github.com/overdrivenpotato/rust-vst2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overdrivenpotato%2Frust-vst2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overdrivenpotato%2Frust-vst2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overdrivenpotato%2Frust-vst2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overdrivenpotato%2Frust-vst2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/overdrivenpotato","download_url":"https://codeload.github.com/overdrivenpotato/rust-vst2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247361686,"owners_count":20926643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T21:52:33.208Z","updated_at":"2025-04-05T16:06:25.564Z","avatar_url":"https://github.com/overdrivenpotato.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rust-vst2\n[![Travis Build][trav-img]][trav-url]\n[![Appveyor Build][appv-img]][appv-url]\n[![crates.io][crates-img]][crates-url]\n\nA library to help facilitate creating VST plugins in rust.\n\nThis library is a work in progress and as such does not yet implement all\nopcodes. It is enough to create basic VST plugins without an editor interface.\n\n*Please note: This api may be subject to rapid changes and the current state of\nthis library is not final.*\n\n## Library Documentation\n  * http://overdrivenpotato.github.io/rust-vst2\n\n## TODO\n  - Implement all opcodes\n  - Proper editor support (possibly [conrod] + [sdl2]?)\n  - Write more tests\n  - Provide better examples\n\n## Usage\nTo create a plugin, simply create a type which implements `plugin::Plugin` and\n`std::default::Default`. Then call the macro `plugin_main!`, which will export\nthe necessary functions and handle dealing with the rest of the API.\n\n## Example Plugin\nA simple plugin that bears no functionality. The provided Cargo.toml has a\ncrate-type directive which builds a dynamic library, usable by any VST host.\n\n`src/lib.rs`\n\n```rust\n#[macro_use]\nextern crate vst2;\n\nuse vst2::plugin::{Info, Plugin};\n\n#[derive(Default)]\nstruct BasicPlugin;\n\nimpl Plugin for BasicPlugin {\n    fn get_info(\u0026self) -\u003e Info {\n        Info {\n            name: \"Basic Plugin\".to_string(),\n            unique_id: 1357, // Used by hosts to differentiate between plugins.\n\n            ..Default::default()\n        }\n    }\n}\n\nplugin_main!(BasicPlugin); // Important!\n```\n\n`Cargo.toml`\n\n```toml\n[package]\nname = \"basic_vst\"\nversion = \"0.0.1\"\nauthors = [\"Author \u003cauthor@example.com\u003e\"]\n\n[dependencies]\nvst2 = \"0.0.1\"\n\n[lib]\nname = \"basicvst\"\ncrate-type = [\"dylib\"]\n```\n\n[trav-img]: https://travis-ci.org/overdrivenpotato/rust-vst2.svg?branch=master\n[trav-url]: https://travis-ci.org/overdrivenpotato/rust-vst2\n[appv-img]: https://ci.appveyor.com/api/projects/status/4kg8efxas08b72bp?svg=true\n[appv-url]: https://ci.appveyor.com/project/overdrivenpotato/rust-vst2\n[crates-img]: https://img.shields.io/crates/v/vst2.svg\n[crates-url]: https://crates.io/crates/vst2\n[sdl2]: https://github.com/AngryLawyer/rust-sdl2\n[conrod]: https://github.com/PistonDevelopers/conrod\n\n\n#### Packaging on OS X\n\nOn OS X VST plugins are packaged inside of loadable bundles. \nTo package your VST as a loadable bundle you may use the `osx_vst_bundler.sh` script this library provides. \n\nExample: \n\n```\n./osx_vst_bundler.sh Plugin target/release/plugin.dylib\nCreates a Plugin.vst bundle\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foverdrivenpotato%2Frust-vst2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foverdrivenpotato%2Frust-vst2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foverdrivenpotato%2Frust-vst2/lists"}