convert shell.nix to flake.nix
This commit is contained in:
parent
30d74ff07d
commit
3db1fb643f
8 changed files with 196 additions and 29 deletions
|
@ -22,7 +22,7 @@ servicepoint = "0.10.0"
|
|||
|
||||
## Examples
|
||||
|
||||
```rust
|
||||
```rust should_panic
|
||||
fn main() {
|
||||
// establish connection
|
||||
let connection = servicepoint::Connection::open("172.23.42.29:2342")
|
||||
|
|
|
@ -120,8 +120,7 @@ pub const PIXEL_COUNT: usize = PIXEL_WIDTH * PIXEL_HEIGHT;
|
|||
/// ```rust
|
||||
/// # use std::time::Instant;
|
||||
/// # use servicepoint::{Command, CompressionCode, FRAME_PACING, Origin, Bitmap};
|
||||
/// # let connection = servicepoint::Connection::open("172.23.42.29:2342")
|
||||
/// # .expect("connection failed");
|
||||
/// # let connection = servicepoint::Connection::Fake;
|
||||
/// # let pixels = Bitmap::max_sized();
|
||||
/// loop {
|
||||
/// let start = Instant::now();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue