Skip to content

Commit

Permalink
more progress
Browse files Browse the repository at this point in the history
  • Loading branch information
carloskiki committed Sep 27, 2024
1 parent a8aa9bb commit ca9368d
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 219 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ rustdoc-args = ["--cfg", "docsrs"]

[features]
default = ["axum-core"]
axum-core = ["tower-sessions-core/axum-core"]
# memory-store = ["tower-sessions-memory-store"]
signed = ["tower-cookies/signed"]
private = ["tower-cookies/private"]
Expand All @@ -54,6 +53,7 @@ async-trait = "0.1.74"

[dependencies]
async-trait = { workspace = true }
axum-core = { version = "0.4", optional = true }
http = "1.0"
pin-project-lite = "0.2.14"
tokio = { version = "1.32.0", features = ["sync"] }
Expand All @@ -63,7 +63,7 @@ tower-sessions-core = { workspace = true }
# tower-sessions-memory-store = { workspace = true, optional = true }
tracing = { version = "0.1.40", features = ["log"] }
time = { version = "0.3.29", features = ["serde"] }
cookie = "0.18.1"
cookie = { version = "0.18.1", features = ["percent-encode"] }

[dev-dependencies]
async-trait = "0.1.74"
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,6 @@ You can find this [example][counter-example] as well as other example projects i
> [!NOTE]
> See the [crate documentation][docs] for more usage information.
## 🦺 Safety

This crate uses `#![forbid(unsafe_code)]` to ensure everything is implemented in 100% safe Rust.

## 🛟 Getting Help

We've put together a number of [examples][examples] to help get you started. You're also welcome to [open a discussion](https://github.com/maxcountryman/tower-sessions/discussions/new?category=q-a) and ask additional questions you might have.
Expand Down
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,8 @@
missing_debug_implementations
)]
#![deny(missing_docs)]
#![forbid(unsafe_code)]
#![cfg_attr(docsrs, feature(doc_cfg))]

pub use tower_cookies::cookie;
pub use tower_sessions_core::session_store;
#[doc(inline)]
pub use tower_sessions_core::{
Expand Down
Loading

0 comments on commit ca9368d

Please sign in to comment.