Browse Source

production build vs rusqlite

pull/25/head
Alexey Velikiy 3 years ago
parent
commit
d57548032c
  1. 2
      server/Cargo.lock
  2. 2
      server/Cargo.toml
  3. 2
      server/src/services/data_service.rs

2
server/Cargo.lock generated

@ -382,6 +382,7 @@ dependencies = [
"anyhow",
"config",
"fastrand",
"libsqlite3-sys",
"openssl",
"parking_lot",
"rusqlite",
@ -572,6 +573,7 @@ version = "0.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "abd5850c449b40bacb498b2bbdfaff648b1b055630073ba8db499caf2d0ea9f2"
dependencies = [
"cc",
"pkg-config",
"vcpkg",
]

2
server/Cargo.toml

@ -17,3 +17,5 @@ subbeat = "0.0.5"
config = "0.11.0"
openssl = { version = "=0.10.33", features = ["vendored"] }
rusqlite = "0.26.1"
# https://github.com/rusqlite/rusqlite/issues/914
libsqlite3-sys = { version = "*", features = ["bundled"] }

2
server/src/services/data_service.rs

@ -31,7 +31,7 @@ impl DataService {
)?;
Ok(DataService {
connection: Arc::new(Mutex::new(conn)),
connection: Arc::new(Mutex::new(conn))
})
}

Loading…
Cancel
Save