7个版本

0.0.7 2020年5月31日
0.0.6 2020年5月31日
0.0.2 2020年4月18日

认证中排名第858

Download history · Rust 包仓库 8/week @ 2024-03-16 · Rust 包仓库 1/week @ 2024-03-23 · Rust 包仓库 22/week @ 2024-03-30 · Rust 包仓库 9/week @ 2024-04-06 · Rust 包仓库 9/week @ 2024-04-13 · Rust 包仓库 8/week @ 2024-04-20 · Rust 包仓库 2/week @ 2024-04-27 · Rust 包仓库 1/week @ 2024-05-04 · Rust 包仓库 3/week @ 2024-05-11 · Rust 包仓库 11/week @ 2024-06-01 · Rust 包仓库 9/week @ 2024-06-08 · Rust 包仓库 16/week @ 2024-06-15 · Rust 包仓库 24/week @ 2024-06-22 · Rust 包仓库 2/week @ 2024-06-29 · Rust 包仓库

每月下载量54
3个Crates(直接使用2个)中使用

AGPL-3.0

110KB
2.5K SLoC

用于在ccache中存储Kerberos凭证的类型

示例

加载和保存到文件

use kerberos_ccache::CCache;
use std::fs;

let data = fs::read("./bob_tgt.ccache").expect("Unable to read file");

let ccache = CCache::parse(&data)
    .expect("Unable to parse file content")
    .1;

let data_2 = ccache.build();
fs::write("./bob_tgt2.ccache", data_2).expect("Unable to write file");

参考


lib.rs:

用于在ccache中存储Kerberos凭证的类型

示例

加载和保存到文件

use kerberos_ccache::CCache;
use std::fs;

let data = fs::read("./bob_tgt.ccache").expect("Unable to read file");

let ccache = CCache::parse(&data)
    .expect("Unable to parse file content")
    .1;

let data_2 = ccache.build();
fs::write("./bob_tgt2.ccache", data_2).expect("Unable to write file");

参考

依赖

~4.5MB
~92K SLoC