Make library `no_std` compatible by gating `std` use (#59)