Compare commits
3 Commits
263ccf3210
...
4ce35dfd0d
Author | SHA1 | Date | |
---|---|---|---|
|
4ce35dfd0d | ||
|
05f43c680c | ||
|
c02389ad4d |
@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "lazer"
|
||||
name = "lj_rust"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
|
@ -1,6 +1,20 @@
|
||||
# file: Settings.toml
|
||||
# Rename me !
|
||||
|
||||
# The main key of your laser in LJ
|
||||
laser_id = 0
|
||||
|
||||
# Activate for more debug
|
||||
debug = "true"
|
||||
|
||||
# Redis URL as IP:port
|
||||
redis_url = "127.0.0.1"
|
||||
|
||||
# Either Helios or Etherdream
|
||||
dac_family = "Helios"
|
||||
dac_id = 1
|
||||
|
||||
# For Helios. USB Device Id of the DAC
|
||||
dac_id = 0
|
||||
|
||||
# For Etherdream. IP of the DAC
|
||||
dac_url = "192.168.1.68"
|
||||
|
2
src/lib.rs
Normal file
2
src/lib.rs
Normal file
@ -0,0 +1,2 @@
|
||||
pub mod conf;
|
||||
pub mod redis_ctrl;
|
6
tests/test_conf.rs
Normal file
6
tests/test_conf.rs
Normal file
@ -0,0 +1,6 @@
|
||||
use lj_rust::conf;
|
||||
|
||||
#[test]
|
||||
fn it_adds_two() {
|
||||
assert_eq!(4, 4);
|
||||
}
|
Loading…
Reference in New Issue
Block a user