Browse Source

initial commit

master
Avril 5 months ago
commit
94fa5ca1de
Signed by: flanchan GPG Key ID: 284488987C31F630
  1. 3
      .gitignore
  2. 18
      Cargo.toml
  3. 6
      src/bin/fmtconv.rs
  4. 8
      src/lib.rs

3
.gitignore

@ -0,0 +1,3 @@
/target
*~
Cargo.lock

18
Cargo.toml

@ -0,0 +1,18 @@
[package]
name = "fmtconv"
description = "Convert between common formats"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["rlib", "cdylib", "staticlib"]
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "unwind"
[dependencies]

6
src/bin/fmtconv.rs

@ -0,0 +1,6 @@
//! `fmtconv` CLI
use fmtconv::*;
fn main() {
}

8
src/lib.rs

@ -0,0 +1,8 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}
Loading…
Cancel
Save