line_bot_sdk 0.1.0

LINE Messaging API SDK for Rust
Documentation
{ pkgs ? import <nixpkgs> {} }:

let
  # Rolling updates, not deterministic.
  # pkgs = import (fetchTarball("channel:nixpkgs-unstable")) {};
in pkgs.mkShell {
  buildInputs = with pkgs; [ 
    cargo 
    rustc
    rustfmt
    clippy
    ngrok
    openssl
    pkg-config
    rust-analyzer
    cargo-watch
  ];

  #
  # Certain Rust tools won't work without this
  # This can also be fixed by using oxalica/rust-overlay and specifying the rust-src extension
  # See https://discourse.nixos.org/t/rust-src-not-found-and-other-misadventures-of-developing-rust-on-nixos/11570/3?u=samuela. for more details.
  RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
}