Skip to content

Installation

  1. Setup the Rust toolchain (rustup is recommended)

  2. Add tokio to your dependencies

    Terminal window
    cargo add tokio --features full
  3. Set up tokio as the async runtime

    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
    ...
    }
  4. Take a look at our feature flags and enable the integrations you would like to have enabled.

  5. Add swiftide

    Terminal window
    cargo add swiftide --features <features>
  6. Write a pipeline!