lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

Cargo.toml (1522B)


      1 [package]
      2 name = "radroots_transport"
      3 publish = ["crates-io"]
      4 version = "0.1.0-alpha"
      5 edition.workspace = true
      6 authors.workspace = true
      7 rust-version.workspace = true
      8 license.workspace = true
      9 description = "Transport-neutral delivery model for Radroots"
     10 repository.workspace = true
     11 homepage.workspace = true
     12 readme = "README.md"
     13 documentation = "https://docs.rs/radroots_transport"
     14 keywords = ["radroots", "transport", "async", "networking"]
     15 categories = ["asynchronous", "network-programming", "no-std"]
     16 include = [
     17   "src/**",
     18   "tests/**",
     19   "!tests/package_boundary.rs",
     20   "!tests/source_boundary.rs",
     21   "examples/**",
     22   "Cargo.toml",
     23   "README.md",
     24   "LICENSE-APACHE",
     25   "LICENSE-MIT",
     26 ]
     27 
     28 [package.metadata.docs.rs]
     29 features = ["std", "serde"]
     30 
     31 [lib]
     32 name = "radroots_transport"
     33 
     34 [features]
     35 default = ["std", "serde"]
     36 std = ["radroots_event/std", "radroots_identity/std", "radroots_protocol/std"]
     37 serde = [
     38   "dep:serde",
     39   "radroots_event/serde",
     40   "radroots_identity/serde",
     41   "radroots_protocol/serde",
     42 ]
     43 
     44 [dependencies]
     45 radroots_event = { workspace = true, default-features = false }
     46 radroots_identity = { workspace = true, default-features = false }
     47 radroots_protocol = { workspace = true, default-features = false }
     48 serde = { workspace = true, default-features = false, features = [
     49   "alloc",
     50   "derive",
     51 ], optional = true }
     52 sha2 = { workspace = true, default-features = false }
     53 
     54 [dev-dependencies]
     55 futures = { workspace = true }
     56 serde_json = { workspace = true, features = ["std"] }
     57 
     58 [lints]
     59 workspace = true