|
1 | 1 | [package] |
2 | 2 | name = "absurd-rust-sdk" |
3 | 3 | version = "0.1.0" |
4 | | -edition = "2021" |
| 4 | +edition = "2024" |
| 5 | +rust-version = "1.85" |
5 | 6 | authors = ["Manuel Schiller"] |
6 | 7 | description = "Community Rust SDK for Absurd, a Postgres-native durable workflow system" |
7 | 8 | license = "Apache-2.0" |
8 | 9 | repository = "https://github.com/manuschillerdev/absurd-rust-sdk" |
9 | 10 | readme = "README.md" |
10 | 11 | keywords = ["absurd", "postgres", "workflow", "durable", "queue"] |
11 | 12 | categories = ["asynchronous", "database"] |
| 13 | +include = ["Cargo.toml", "LICENSE", "README.md", "examples/**", "src/**", "tests/**"] |
12 | 14 |
|
13 | 15 | [lib] |
14 | 16 | name = "absurd_rust_sdk" |
15 | 17 | path = "src/lib.rs" |
16 | 18 |
|
17 | 19 | [dependencies] |
18 | | -chrono = { version = "0.4", features = ["serde"] } |
19 | | -deadpool-postgres = { version = "0.14", features = ["rt_tokio_1"] } |
| 20 | +chrono = { version = "0.4", default-features = false, features = ["clock", "serde", "std"] } |
| 21 | +deadpool-postgres = { version = "0.14", default-features = false, features = ["rt_tokio_1"] } |
20 | 22 | hostname = "0.4" |
21 | | -serde = { version = "1", features = ["derive"] } |
22 | | -serde_json = "1" |
23 | | -thiserror = "2" |
24 | | -tokio = { version = "1", features = ["macros", "rt-multi-thread", "signal", "sync", "time"] } |
25 | | -tokio-postgres = { version = "0.7", features = ["runtime", "with-chrono-0_4", "with-serde_json-1", "with-uuid-1"] } |
| 23 | +serde = { version = "1.0", features = ["derive"] } |
| 24 | +serde_json = "1.0" |
| 25 | +thiserror = "2.0" |
| 26 | +tokio = { version = "1.21", features = ["macros", "rt-multi-thread", "signal", "sync", "time"] } |
| 27 | +tokio-postgres = { version = "0.7", default-features = false, features = ["runtime", "with-chrono-0_4", "with-serde_json-1", "with-uuid-1"] } |
26 | 28 | tracing = "0.1" |
27 | | -uuid = { version = "1", features = ["serde", "v4"] } |
| 29 | +uuid = { version = "1.0", default-features = false, features = ["serde", "std", "v4"] } |
28 | 30 |
|
29 | 31 | [dev-dependencies] |
30 | | -tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"] } |
| 32 | +tokio = { version = "1.21", features = ["macros", "rt-multi-thread", "time"] } |
31 | 33 | tracing-subscriber = { version = "0.3", features = ["env-filter"] } |
| 34 | + |
| 35 | +[lints.rust] |
| 36 | +future_incompatible = { level = "deny", priority = -1 } |
| 37 | +nonstandard_style = { level = "deny", priority = -1 } |
| 38 | +rust_2018_idioms = { level = "deny", priority = -1 } |
| 39 | +unsafe_code = "forbid" |
| 40 | + |
| 41 | +[lints.clippy] |
| 42 | +all = { level = "deny", priority = -1 } |
| 43 | +cargo = { level = "deny", priority = -1 } |
| 44 | +dbg_macro = "deny" |
| 45 | +expect_used = "deny" |
| 46 | +multiple_crate_versions = "allow" |
| 47 | +panic = "deny" |
| 48 | +todo = "deny" |
| 49 | +unimplemented = "deny" |
| 50 | +unwrap_used = "deny" |
0 commit comments