Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
clubstatusd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clubstatus
clubstatusd
Commits
e8037dac
Commit
e8037dac
authored
8 years ago
by
clonejo
Browse files
Options
Downloads
Patches
Plain Diff
v0.2.1: updated deps, optimized release builds
parent
6911c706
No related branches found
Branches containing commit
Tags
v0.2.1
Tags containing commit
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG.md
+5
-0
5 additions, 0 deletions
CHANGELOG.md
Cargo.lock
+131
-62
131 additions, 62 deletions
Cargo.lock
Cargo.toml
+7
-0
7 additions, 0 deletions
Cargo.toml
src/db/init.rs
+1
-0
1 addition, 0 deletions
src/db/init.rs
with
144 additions
and
62 deletions
CHANGELOG.md
0 → 100644
+
5
−
0
View file @
e8037dac
# v0.2.1
-
updated dependencies
-
optimized release build
-
tested with rust 1.12.0 and cargo 0.13.0
This diff is collapsed.
Click to expand it.
Cargo.lock
+
131
−
62
View file @
e8037dac
This diff is collapsed.
Click to expand it.
Cargo.toml
+
7
−
0
View file @
e8037dac
...
...
@@ -18,3 +18,10 @@ mqtt3 = "^0.1.2"
mqttc
=
"^0.1.2"
netopt
=
"^0.1.2"
time
=
"^0.1"
[profile.release]
opt-level
=
3
rpath
=
false
lto
=
true
debug-assertions
=
false
codegen-units
=
1
This diff is collapsed.
Click to expand it.
src/db/init.rs
+
1
−
0
View file @
e8037dac
...
...
@@ -7,6 +7,7 @@ use db::DbStored;
pub
fn
ensure_initialized
(
path
:
&
Path
)
->
Result
<
(),
SqliteError
>
{
match
fs
::
metadata
(
path
)
{
Err
(
_
)
=>
{
println!
(
"creating db at {:?}"
,
path
);
let
con
=
try
!
(
SqliteConnection
::
open
(
path
));
create_tables
(
&
con
);
insert_initial_status
(
&
con
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment