create fluent
cargo devel CI / cargo CI (push) Failing after 59s Details

This commit is contained in:
Christoph J. Scherr 2024-03-08 23:55:27 +01:00
parent b17fcb8c41
commit 12f756fe1a
Signed by: PlexSheep
GPG Key ID: 7CDD0B14851A08EF
4 changed files with 23 additions and 0 deletions

View File

@ -20,9 +20,11 @@ members = [
"members/claptest",
"members/rest",
"members/rest-queued",
"members/fluent",
]
default-members = [
".",
"members/fluent",
"members/echargs",
"members/revsqrt",
"members/claptest",

View File

@ -0,0 +1,8 @@
[package]
name = "fluent"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

View File

@ -126,3 +126,13 @@ impl FromStr for Token {
Ok(Self { inner: s })
}
}
mod test {
use super::*;
#[test]
fn test_new_dbg() {
let c = Client::new_debug();
assert_eq!(c.token.to_string(), "mytok");
assert_eq!(c.id.to_string(), "myid");
}
}