create fluent
cargo devel CI / cargo CI (push) Failing after 59s
Details
cargo devel CI / cargo CI (push) Failing after 59s
Details
This commit is contained in:
parent
b17fcb8c41
commit
12f756fe1a
|
@ -20,9 +20,11 @@ members = [
|
||||||
"members/claptest",
|
"members/claptest",
|
||||||
"members/rest",
|
"members/rest",
|
||||||
"members/rest-queued",
|
"members/rest-queued",
|
||||||
|
"members/fluent",
|
||||||
]
|
]
|
||||||
default-members = [
|
default-members = [
|
||||||
".",
|
".",
|
||||||
|
"members/fluent",
|
||||||
"members/echargs",
|
"members/echargs",
|
||||||
"members/revsqrt",
|
"members/revsqrt",
|
||||||
"members/claptest",
|
"members/claptest",
|
||||||
|
|
|
@ -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]
|
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
|
@ -126,3 +126,13 @@ impl FromStr for Token {
|
||||||
Ok(Self { inner: s })
|
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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue