- {n,m}fo: From lines n to m fold them.
- zo: Open this fold.
- zc: Close this fold.
- za: Alternate closing and opening the fold.
- m{_}: Mark this line using a lowercase letter to reference later.
| [package] | |
| name = "pocket2linkhut" | |
| version = "0.1.0" | |
| edition = "2024" | |
| [dependencies] | |
| anyhow = "1.0" | |
| argh = "0.1" | |
| csv = "1.3" | |
| serde = { version = "1.0", features = ["derive"] } |
| /* | |
| [dependencies] | |
| crossbeam-utils = "0.6" | |
| hashbrown = "0.2" | |
| parking_lot = "0.7" | |
| */ | |
| // Go Reference: https://github.com/golang/groupcache/blob/5b532d6fd5efaf7fa130d4e859a2fde0fc3a9e1b/singleflight/singleflight.go | |
| use std::fmt::Debug; |
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| "time" | |
| ) | |
| type BankAccount struct { | |
| balance int |
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| "time" | |
| ) | |
| var wg sync.WaitGroup |
| #[macro_use] | |
| extern crate error_chain; | |
| extern crate clap; | |
| extern crate reqwest; | |
| use std::fs::File; | |
| use std::io; | |
| use clap::{App, Arg}; |
| FROM alpine:3.6 | |
| RUN apk add --no-cache rust cargo | |
| COPY project /build | |
| WORKDIR /build | |
| RUN ["cargo", "build", "--release"] | |
| ENTRYPOINT ["cargo", "run", "--release"] |
| extern crate byteorder; | |
| extern crate futures; | |
| extern crate tokio_core; | |
| extern crate tokio_io; | |
| use std::io::{self, Write}; | |
| use std::net::TcpStream; | |
| use byteorder::{BigEndian, ByteOrder}; | |
| use futures::{Future, Stream}; |
I hereby claim:
To claim this, I am signing this object:
| diff --git a/Cargo.toml b/Cargo.toml | |
| index 633e404..6963348 100644 | |
| --- a/Cargo.toml | |
| +++ b/Cargo.toml | |
| @@ -12,6 +12,7 @@ license = "MIT/Apache-2.0" | |
| hyper = { version = "0.9" , default-features = false } | |
| log = "0.3" | |
| native-tls = "0.1" | |
| +serde_derive = "0.8" | |
| serde = "0.8" |