Docs.rs
pebble-cms-1.0.0
pebble-cms 1.0.0
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
ooyeku
Dependencies
ammonia ^4
normal
anyhow ^1
normal
argon2 ^0.5
normal
axum ^0.7
normal
axum-extra ^0.9
normal
base64 ^0.22
normal
chrono ^0.4
normal
clap ^4
normal
dirs ^5
normal
hex ^0.4.3
normal
hmac ^0.12
normal
image ^0.25
normal
infer ^0.16
normal
mime_guess ^2
normal
once_cell ^1
normal
pulldown-cmark ^0.12
normal
quick-xml ^0.37
normal
r2d2 ^0.8
normal
r2d2_sqlite ^0.25
normal
rand ^0.8
normal
regex ^1
normal
reqwest ^0.12
normal
optional
rpassword ^7
normal
rusqlite ^0.32
normal
rust-embed ^8
normal
serde ^1
normal
serde_json ^1
normal
sha2 ^0.10.9
normal
slug ^0.1
normal
syntect ^5
normal
tera ^1
normal
thiserror ^2
normal
time ^0.3
normal
tokio ^1
normal
toml ^0.8
normal
toml_edit ^0.22
normal
tower ^0.5
normal
tower-http ^0.6
normal
tracing ^0.1
normal
tracing-subscriber ^0.3
normal
url ^2.5.8
normal
uuid ^1
normal
whoami ^1
normal
zip ^2
normal
libc ^0.2
normal
Versions
14.81%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
create_session
pebble_
cms
1.0.0
In pebble_
cms::
services::
auth
pebble_cms
::
services
::
auth
Function
create_
session
Copy item path
Source
pub fn create_session( db: &
Database
, user_id:
i64
, duration_days:
i64
, ) ->
Result
<
String
>